Skip to content

Commit eadfe2f

Browse files
authored
Fix default model cache adapt to the new test cluster (#1443)
1. Fix default model cache adapt to the new test cluster 2. Skip docker build container clean up for microservice test Signed-off-by: chensuyue <suyue.chen@intel.com>
1 parent 8f9ec23 commit eadfe2f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/pr-microservice-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
cid=$(docker ps -aq --filter "name=test-comps-*")
4343
if [[ ! -z "$cid" ]]; then docker stop $cid && docker rm $cid && sleep 1s; fi
4444
# clean up containers use ports
45-
cid=$(docker ps --format '{{.Names}} : {{.Ports}}' | grep -v ' : $' | awk -F' : ' '{print $1}')
45+
cid=$(docker ps --format '{{.Names}} : {{.Ports}}' | grep -v ' : $' | grep -v 5000 | awk -F' : ' '{print $1}')
4646
if [[ ! -z "$cid" ]]; then docker stop $cid && docker rm $cid && sleep 1s; fi
4747
4848
# clean up images
@@ -85,7 +85,7 @@ jobs:
8585
cid=$(docker ps -aq --filter "name=test-comps-*")
8686
if [[ ! -z "$cid" ]]; then docker stop $cid && docker rm $cid && sleep 1s; fi
8787
# clean up containers use ports
88-
cid=$(docker ps --format '{{.Names}} : {{.Ports}}' | grep -v ' : $' | awk -F' : ' '{print $1}')
88+
cid=$(docker ps --format '{{.Names}} : {{.Ports}}' | grep -v ' : $' | grep -v 5000 | awk -F' : ' '{print $1}')
8989
if [[ ! -z "$cid" ]]; then docker stop $cid && docker rm $cid && sleep 1s; fi
9090
9191
docker system prune -f

tests/agent/test_agent_langchain_on_intel_hpu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tgi_port=8085
1414
tgi_volume=$WORKPATH/data
1515

1616
vllm_port=8086
17-
export HF_CACHE_DIR=/data2/huggingface
17+
export HF_CACHE_DIR=/data2/hf_model
1818
echo "HF_CACHE_DIR=$HF_CACHE_DIR"
1919
ls $HF_CACHE_DIR
2020
export vllm_volume=${HF_CACHE_DIR}

tests/dataprep/test_dataprep_redis_finance_on_intel_hpu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function start_vllm_service_70B() {
5353
echo "token is ${HF_TOKEN}"
5454
model="meta-llama/Llama-3.3-70B-Instruct"
5555
vllm_port=8086
56-
export HF_CACHE_DIR=/data2/huggingface
56+
export HF_CACHE_DIR=/data2/hf_model
5757
vllm_volume=$HF_CACHE_DIR
5858

5959
echo "start vllm gaudi service"

0 commit comments

Comments
 (0)