Skip to content

Commit a9a4859

Browse files
committed
Fix comments
Signed-off-by: ZePan110 <[email protected]>
1 parent 2b44cbf commit a9a4859

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/_run-docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ jobs:
107107
service=$(echo "${test_case}" | cut -d'/' -f3 | cut -d'_' -f2- |cut -d'.' -f1)
108108
echo "service=${service}" >> $GITHUB_ENV
109109
if [[ "$use_model_cache" == "true" ]]; then
110-
if [ -d "/data2/huggingface" ]; then
111-
export model_cache="/data2/huggingface"
110+
if [ -d "/data2/hf_model" ]; then
111+
export model_cache="/data2/hf_model"
112112
else
113113
echo "Model cache directory /data2/huggingface does not exist"
114-
export model_cache="/data2/huggingface"
114+
export model_cache="~/.cache/huggingface/hub"
115115
fi
116116
fi
117117
if [ -f ${test_case} ]; then timeout 60m bash ${test_case}; else echo "Test script {${test_case}} not found, skip test!"; fi

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ jobs:
6666
run: |
6767
cd tests
6868
echo "log_name=${service}" >> $GITHUB_ENV
69-
if [ -d "/data2/huggingface" ]; then
70-
export model_cache="/data2/huggingface"
69+
if [ -d "/data2/hf_model" ]; then
70+
export model_cache="/data2/hf_model"
7171
else
7272
echo "Model cache directory /data2/huggingface does not exist"
73-
export model_cache="/data2/huggingface"
73+
export model_cache="~/.cache/huggingface/hub"
7474
fi
7575
timeout 60m bash $(find . -type f -name test_${service}.sh)
7676

0 commit comments

Comments
 (0)