Skip to content

Commit

Permalink
update vLLM CPU to the latest stable version (#1546)
Browse files Browse the repository at this point in the history
Signed-off-by: Wang, Xigui <[email protected]>
Co-authored-by: chen, suyue <[email protected]>
  • Loading branch information
xiguiw and chensuyue authored Feb 17, 2025
1 parent 9f36e84 commit 0c0edff
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 7 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/_example-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,13 @@ jobs:
cd ${{ github.workspace }}/${{ inputs.example }}/docker_image_build
docker_compose_path=${{ github.workspace }}/${{ inputs.example }}/docker_image_build/build.yaml
if [[ $(grep -c "vllm:" ${docker_compose_path}) != 0 ]]; then
git clone --depth 1 https://github.com/vllm-project/vllm.git
cd vllm && git rev-parse HEAD && cd ../
git clone https://github.com/vllm-project/vllm.git && cd vllm
# Get the latest tag
VLLM_VER="$(git describe --tags "$(git rev-list --tags --max-count=1)" )"
echo "Check out vLLM tag ${VLLM_VER}"
git checkout ${VLLM_VER} &> /dev/null
# make sure do not change the pwd
git rev-parse HEAD && cd ../
fi
if [[ $(grep -c "vllm-gaudi:" ${docker_compose_path}) != 0 ]]; then
git clone --depth 1 --branch v0.6.4.post2+Gaudi-1.19.0 https://github.com/HabanaAI/vllm-fork.git
Expand Down
7 changes: 6 additions & 1 deletion ChatQnA/tests/test_compose_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ function build_docker_images() {

cd $WORKPATH/docker_image_build
git clone --depth 1 --branch ${opea_branch} https://github.com/opea-project/GenAIComps.git
git clone --depth 1 https://github.com/vllm-project/vllm.git
git clone https://github.com/vllm-project/vllm.git && cd vllm
VLLM_VER="$(git describe --tags "$(git rev-list --tags --max-count=1)" )"
echo "Check out vLLM tag ${VLLM_VER}"
git checkout ${VLLM_VER} &> /dev/null
# make sure NOT change the pwd
cd ../

echo "Build all the images with --no-cache, check docker_image_build.log for details..."
service_list="chatqna chatqna-ui dataprep retriever vllm nginx"
Expand Down
7 changes: 6 additions & 1 deletion ChatQnA/tests/test_compose_pinecone_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ function build_docker_images() {

cd $WORKPATH/docker_image_build
git clone --depth 1 --branch ${opea_branch} https://github.com/opea-project/GenAIComps.git
git clone --depth 1 https://github.com/vllm-project/vllm.git
git clone https://github.com/vllm-project/vllm.git && cd vllm
VLLM_VER="$(git describe --tags "$(git rev-list --tags --max-count=1)" )"
echo "Check out vLLM tag ${VLLM_VER}"
git checkout ${VLLM_VER} &> /dev/null
# Not change the pwd
cd ../

echo "Build all the images with --no-cache, check docker_image_build.log for details..."
service_list="chatqna chatqna-ui dataprep retriever vllm nginx"
Expand Down
7 changes: 6 additions & 1 deletion ChatQnA/tests/test_compose_qdrant_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ function build_docker_images() {

cd $WORKPATH/docker_image_build
git clone --depth 1 --branch ${opea_branch} https://github.com/opea-project/GenAIComps.git
git clone --depth 1 https://github.com/vllm-project/vllm.git
git clone https://github.com/vllm-project/vllm.git && cd vllm
VLLM_VER="$(git describe --tags "$(git rev-list --tags --max-count=1)" )"
echo "Check out vLLM tag ${VLLM_VER}"
git checkout ${VLLM_VER} &> /dev/null
# Not change the pwd
cd ../

echo "Build all the images with --no-cache, check docker_image_build.log for details..."
service_list="chatqna chatqna-ui dataprep retriever vllm nginx"
Expand Down
8 changes: 7 additions & 1 deletion ChatQnA/tests/test_compose_without_rerank_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ function build_docker_images() {

cd $WORKPATH/docker_image_build
git clone --depth 1 --branch ${opea_branch} https://github.com/opea-project/GenAIComps.git
git clone --depth 1 https://github.com/vllm-project/vllm.git
git clone https://github.com/vllm-project/vllm.git && cd vllm
# Get the latest tag
VLLM_VER="$(git describe --tags "$(git rev-list --tags --max-count=1)" )"
echo "Check out vLLM tag ${VLLM_VER}"
git checkout ${VLLM_VER} &> /dev/null
# Not change the pwd
cd ../

echo "Build all the images with --no-cache, check docker_image_build.log for details..."
service_list="chatqna-without-rerank chatqna-ui dataprep retriever vllm nginx"
Expand Down
6 changes: 5 additions & 1 deletion WorkflowExecAgent/tests/2_start_vllm_service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ function build_vllm_docker_image() {
echo $WORKPATH
if [ ! -d "./vllm" ]; then
git clone https://github.com/vllm-project/vllm.git
cd ./vllm; git checkout tags/v0.6.0
cd vllm
VLLM_VER="$(git describe --tags "$(git rev-list --tags --max-count=1)" )"
echo "Check out vLLM tag ${VLLM_VER}"
git checkout ${VLLM_VER} &> /dev/null
git rev-parse HEAD
else
cd ./vllm
fi
Expand Down

0 comments on commit 0c0edff

Please sign in to comment.