Skip to content

Commit 4a0d18a

Browse files
committed
specify image build list for VisualQnA
Signed-off-by: chensuyue <suyue.chen@intel.com>
1 parent f3e0d8c commit 4a0d18a

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

VisualQnA/docker_image_build/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ services:
3333
build:
3434
context: GenAIComps
3535
dockerfile: comps/third_parties/vllm/src/Dockerfile.amd_gpu
36+
extends: visualqna
3637
image: ${REGISTRY:-opea}/vllm-rocm:${TAG:-latest}

VisualQnA/tests/test_compose_on_gaudi.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ ip_address=$(hostname -I | awk '{print $1}')
2020
function build_docker_images() {
2121
cd $WORKPATH/docker_image_build
2222
git clone --depth 1 --branch main https://github.com/opea-project/GenAIComps.git
23-
docker compose -f build.yaml build --no-cache > ${LOG_PATH}/docker_image_build.log
23+
service_list="visualqna visualqna-ui lvm nginx"
24+
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log
2425

2526
git clone https://github.com/HabanaAI/vllm-fork.git
2627
cd ./vllm-fork/

VisualQnA/tests/test_compose_on_xeon.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ ip_address=$(hostname -I | awk '{print $1}')
1919
function build_docker_images() {
2020
cd $WORKPATH/docker_image_build
2121
git clone --depth 1 --branch main https://github.com/opea-project/GenAIComps.git
22-
docker compose -f build.yaml build --no-cache > ${LOG_PATH}/docker_image_build.log
22+
service_list="visualqna visualqna-ui lvm nginx"
23+
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log
2324

2425
docker pull opea/vllm:latest
2526
docker tag opea/vllm:latest opea/vllm:${TAG}

VisualQnA/tests/test_compose_tgi_on_gaudi.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ function build_docker_images() {
3232
git clone --depth 1 --branch ${opea_branch} https://github.com/opea-project/GenAIComps.git
3333

3434
echo "Build all the images with --no-cache, check docker_image_build.log for details..."
35-
docker compose -f build.yaml build --no-cache > ${LOG_PATH}/docker_image_build.log
35+
service_list="visualqna visualqna-ui lvm nginx"
36+
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log
3637

3738
docker pull ghcr.io/huggingface/tgi-gaudi:2.0.6
3839
docker images && sleep 1s

VisualQnA/tests/test_compose_tgi_on_xeon.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ function build_docker_images() {
3232
git clone --depth 1 --branch ${opea_branch} https://github.com/opea-project/GenAIComps.git
3333

3434
echo "Build all the images with --no-cache, check docker_image_build.log for details..."
35-
docker compose -f build.yaml build --no-cache > ${LOG_PATH}/docker_image_build.log
35+
service_list="visualqna visualqna-ui lvm nginx"
36+
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log
3637

37-
docker pull ghcr.io/huggingface/text-generation-inference:2.4.0-intel-cpu
3838
docker images && sleep 1s
3939
}
4040

0 commit comments

Comments
 (0)