Skip to content

Commit 7c2e7f6

Browse files
authored
update vLLM CPU to latest tag (opea-project#1285)
Get the latest vLLM stable version. Signed-off-by: Wang, Xigui <xigui.wang@intel.com>
1 parent c3c8497 commit 7c2e7f6

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

comps/third_parties/vllm/src/build_docker_vllm.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ if [ "$hw_mode" = "hpu" ]; then
4444
else
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

tests/llms/test_llms_doc-summarization_vllm.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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"

tests/llms/test_llms_faq-generation_vllm.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)