File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
comps/third_parties/vllm/src Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ if [ "$hw_mode" = "hpu" ]; then
44
44
else
45
45
git clone https://github.com/vllm-project/vllm.git
46
46
cd ./vllm/
47
+ VLLM_VER=" $( git describe --tags " $( git rev-list --tags --max-count=1) " ) "
48
+ echo " Check out vLLM tag ${VLLM_VER} "
49
+ git checkout ${VLLM_VER} & > /dev/null
47
50
docker build -f Dockerfile.cpu -t opea/vllm-cpu:latest --shm-size=128g . --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy
48
51
cd ..
49
52
rm -rf vllm
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ function build_docker_images() {
19
19
cd $WORKPATH
20
20
git clone https://github.com/vllm-project/vllm.git
21
21
cd ./vllm/
22
+ VLLM_VER=" $( git describe --tags " $( git rev-list --tags --max-count=1) " ) "
23
+ echo " Check out vLLM tag ${VLLM_VER} "
24
+ git checkout ${VLLM_VER} & > /dev/null
22
25
docker build --no-cache -f Dockerfile.cpu -t ${REGISTRY:- opea} /vllm:${TAG:- latest} --shm-size=128g .
23
26
if [ $? -ne 0 ]; then
24
27
echo " opea/vllm built fail"
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ function build_docker_images() {
19
19
cd $WORKPATH
20
20
git clone https://github.com/vllm-project/vllm.git
21
21
cd ./vllm/
22
+ VLLM_VER=" $( git describe --tags " $( git rev-list --tags --max-count=1) " ) "
23
+ echo " Check out vLLM tag ${VLLM_VER} "
24
+ git checkout ${VLLM_VER} & > /dev/null
22
25
docker build --no-cache -f Dockerfile.cpu -t ${REGISTRY:- opea} /vllm:${TAG:- latest} --shm-size=128g .
23
26
if [ $? -ne 0 ]; then
24
27
echo " opea/vllm built fail"
You can’t perform that action at this time.
0 commit comments