Skip to content

Commit b363635

Browse files
Use vllm-gaudi:1.22.0 image and add no_proxy (#2270)
Signed-off-by: ZePan110 <ze.pan@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ff60f4a commit b363635

53 files changed

Lines changed: 48 additions & 61 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/env/_build_image.sh

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/workflows/_build_image.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,6 @@ jobs:
8787
run: |
8888
cd ${{ github.workspace }}/${{ inputs.example }}/docker_image_build
8989
docker_compose_path=${{ github.workspace }}/${{ inputs.example }}/docker_image_build/build.yaml
90-
source ${{ github.workspace }}/.github/env/_build_image.sh
91-
if [[ $(grep -c "vllm:" ${docker_compose_path}) != 0 ]]; then
92-
git clone -b ${VLLM_VER} --single-branch https://github.com/vllm-project/vllm.git
93-
fi
94-
if [[ $(grep -c "vllm-gaudi:" ${docker_compose_path}) != 0 ]]; then
95-
git clone -b ${VLLM_FORK_VER} --single-branch https://github.com/HabanaAI/vllm-fork.git
96-
fi
9790
git clone --depth 1 --branch ${{ inputs.opea_branch }} https://github.com/opea-project/GenAIComps.git
9891
cd GenAIComps && git rev-parse HEAD && cd ../
9992

.github/workflows/_trivy-scan.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ jobs:
5050
sudo apt-get install -y jq
5151
- name: Clone Required Repo
5252
run: |
53-
source ${{ github.workspace }}/.github/env/_build_image.sh
54-
if [[ "${{ inputs.image }}" == "vllm" ]]; then
55-
git clone -b ${VLLM_VER} --single-branch https://github.com/vllm-project/vllm.git
56-
fi
57-
if [[ "${{ inputs.image }}" == "vllm-gaudi" ]]; then
58-
git clone -b ${VLLM_FORK_VER} --single-branch https://github.com/HabanaAI/vllm-fork.git
59-
fi
6053
git clone --depth 1 https://github.com/opea-project/GenAIComps.git
6154
cd GenAIComps && git rev-parse HEAD && cd ../
6255
- name: Pull Image
File renamed without changes.

CodeGen/tests/test_compose_on_epyc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function build_docker_images() {
4040
function start_services() {
4141
local compose_file="$1"
4242
local llm_container_name="$2"
43-
43+
export no_proxy="localhost,127.0.0.1,$ip_address"
4444
cd $WORKPATH/docker_compose/amd/cpu/epyc/
4545

4646
# Start Docker Containers

CodeGen/tests/test_compose_on_gaudi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function build_docker_images() {
4141
function start_services() {
4242
local compose_file="$1"
4343
local llm_container_name="$2"
44-
44+
export no_proxy="localhost,127.0.0.1,$ip_address"
4545
cd $WORKPATH/docker_compose/intel/hpu/gaudi
4646

4747
# Start Docker Containers

CodeGen/tests/test_compose_on_xeon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function build_docker_images() {
3838
function start_services() {
3939
local compose_file="$1"
4040
local llm_container_name="$2"
41-
41+
export no_proxy="localhost,127.0.0.1,$ip_address"
4242
cd $WORKPATH/docker_compose/intel/cpu/xeon/
4343

4444
# Start Docker Containers

CodeGen/tests/test_compose_openeuler_on_xeon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function build_docker_images() {
3838
function start_services() {
3939
local compose_file="$1"
4040
local llm_container_name="$2"
41-
41+
export no_proxy="localhost,127.0.0.1,$ip_address"
4242
cd $WORKPATH/docker_compose/intel/cpu/xeon/
4343

4444
# Start Docker Containers

CodeGen/tests/test_compose_tgi_on_epyc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function build_docker_images() {
4040
function start_services() {
4141
local compose_file="$1"
4242
local llm_container_name="$2"
43-
43+
export no_proxy="localhost,127.0.0.1,$ip_address"
4444
cd $WORKPATH/docker_compose/amd/cpu/epyc/
4545

4646
# Start Docker Containers

CodeTrans/tests/test_compose_on_epyc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function build_docker_images() {
3838
function start_services() {
3939
cd $WORKPATH/docker_compose/amd/cpu/epyc
4040
export HF_TOKEN=${HF_TOKEN}
41-
41+
export no_proxy="localhost,127.0.0.1,$ip_address"
4242
export NGINX_PORT=80
4343
source set_env.sh
4444

0 commit comments

Comments
 (0)