Skip to content

Commit 022313c

Browse files
authored
Adaptation to vllm v0.8.3 build paths and limit vllm version (opea-project#1544)
Signed-off-by: ZePan110 <[email protected]>
1 parent 1e37512 commit 022313c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

comps/third_parties/vllm/src/build_docker_vllm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ if [ "$hw_mode" = "hpu" ]; then
4545
else
4646
git clone https://github.com/vllm-project/vllm.git
4747
cd ./vllm/
48-
VLLM_VER="v0.8.2"
48+
VLLM_VER="v0.8.3"
4949
echo "Check out vLLM tag ${VLLM_VER}"
5050
git checkout ${VLLM_VER} &> /dev/null
51-
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
51+
docker build -f docker/Dockerfile.cpu -t opea/vllm-cpu:latest --shm-size=128g . --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy
5252
cd ..
5353
rm -rf vllm
5454
fi

tests/llms/test_llms_doc-summarization_vllm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ function build_docker_images() {
2020
cd $WORKPATH
2121
git clone https://github.com/vllm-project/vllm.git
2222
cd ./vllm/
23-
VLLM_VER="v0.8.2"
23+
VLLM_VER="v0.8.3"
2424
echo "Check out vLLM tag ${VLLM_VER}"
2525
git checkout ${VLLM_VER} &> /dev/null
26-
docker build --no-cache -f Dockerfile.cpu -t ${REGISTRY:-opea}/vllm:${TAG:-latest} --shm-size=128g .
26+
docker build --no-cache -f docker/Dockerfile.cpu -t ${REGISTRY:-opea}/vllm:${TAG:-latest} --shm-size=128g .
2727
if [ $? -ne 0 ]; then
2828
echo "opea/vllm built fail"
2929
exit 1

tests/llms/test_llms_faq-generation_vllm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ function build_docker_images() {
2020
cd $WORKPATH
2121
git clone https://github.com/vllm-project/vllm.git
2222
cd ./vllm/
23-
VLLM_VER="v0.8.2"
23+
VLLM_VER="v0.8.3"
2424
echo "Check out vLLM tag ${VLLM_VER}"
2525
git checkout ${VLLM_VER} &> /dev/null
26-
docker build --no-cache -f Dockerfile.cpu -t ${REGISTRY:-opea}/vllm:${TAG:-latest} --shm-size=128g .
26+
docker build --no-cache -f docker/Dockerfile.cpu -t ${REGISTRY:-opea}/vllm:${TAG:-latest} --shm-size=128g .
2727
if [ $? -ne 0 ]; then
2828
echo "opea/vllm built fail"
2929
exit 1

0 commit comments

Comments
 (0)