Skip to content

Commit 0cc01e9

Browse files
committed
test
Signed-off-by: ZePan110 <ze.pan@intel.com>
1 parent 2dfcfa0 commit 0cc01e9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

MultimodalQnA/docker_compose/amd/gpu/rocm/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ services:
105105
HUGGINGFACEHUB_API_TOKEN: ${MULTIMODAL_HUGGINGFACEHUB_API_TOKEN}
106106
HUGGING_FACE_HUB_TOKEN: ${MULTIMODAL_HUGGINGFACEHUB_API_TOKEN}
107107
volumes:
108-
- "/var/opea/multimodalqna-service/data:/data"
108+
- "${MODEL_CACHE:-/var/opea/multimodalqna-service/data}:/data"
109109
shm_size: 64g
110110
devices:
111111
- /dev/kfd:/dev/kfd

MultimodalQnA/tests/test_compose_on_rocm.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ echo "REGISTRY=IMAGE_REPO=${IMAGE_REPO}"
99
echo "TAG=IMAGE_TAG=${IMAGE_TAG}"
1010
export REGISTRY=${IMAGE_REPO}
1111
export TAG=${IMAGE_TAG}
12+
export MODEL_CACHE=${model_cache:-"/var/opea/multimodalqna-service/data"}
1213

1314
WORKPATH=$(dirname "$PWD")
1415
LOG_PATH="$WORKPATH/tests"

0 commit comments

Comments
 (0)