File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -107,11 +107,11 @@ jobs:
107
107
service=$(echo "${test_case}" | cut -d'/' -f3 | cut -d'_' -f2- |cut -d'.' -f1)
108
108
echo "service=${service}" >> $GITHUB_ENV
109
109
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 "
112
112
else
113
113
echo "Model cache directory /data2/huggingface does not exist"
114
- export model_cache="/data2 /huggingface"
114
+ export model_cache="~/.cache /huggingface/hub "
115
115
fi
116
116
fi
117
117
if [ -f ${test_case} ]; then timeout 60m bash ${test_case}; else echo "Test script {${test_case}} not found, skip test!"; fi
Original file line number Diff line number Diff line change @@ -66,11 +66,11 @@ jobs:
66
66
run : |
67
67
cd tests
68
68
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 "
71
71
else
72
72
echo "Model cache directory /data2/huggingface does not exist"
73
- export model_cache="/data2 /huggingface"
73
+ export model_cache="~/.cache /huggingface/hub "
74
74
fi
75
75
timeout 60m bash $(find . -type f -name test_${service}.sh)
76
76
You can’t perform that action at this time.
0 commit comments