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
4444else
4545 git clone https://github.com/vllm-project/vllm.git
4646 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
4750 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
4851 cd ..
4952 rm -rf vllm
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ function build_docker_images() {
1919 cd $WORKPATH
2020 git clone https://github.com/vllm-project/vllm.git
2121 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
2225 docker build --no-cache -f Dockerfile.cpu -t ${REGISTRY:- opea} /vllm:${TAG:- latest} --shm-size=128g .
2326 if [ $? -ne 0 ]; then
2427 echo " opea/vllm built fail"
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ function build_docker_images() {
1919 cd $WORKPATH
2020 git clone https://github.com/vllm-project/vllm.git
2121 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
2225 docker build --no-cache -f Dockerfile.cpu -t ${REGISTRY:- opea} /vllm:${TAG:- latest} --shm-size=128g .
2326 if [ $? -ne 0 ]; then
2427 echo " opea/vllm built fail"
You can’t perform that action at this time.
0 commit comments