File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 22MODELSCOPE_CACHE_DIR_IN_CONTAINER=/modelscope_cache
33CODE_DIR=$PWD
44CODE_DIR_IN_CONTAINER=/twinkle
5+ mkdir -p ~ /.cache
6+ MODELSCOPE_CACHE=~ /.cache
7+ IMAGE_NAME=modelscope-registry.us-west-1.cr.aliyuncs.com/modelscope-repo/modelscope
8+ IMAGE_VERSION=ci_image
9+ MODELSCOPE_HOME_CACHE=~ /.cache
10+ CI_TEST=True
11+ MODELSCOPE_SDK_DEBUG=True
12+ CI_COMMAND=' bash .dev_scripts/ci_container_test.sh pytest tests'
513MODELSCOPE_SDK_DEBUG=True
614echo " $USER "
715gpus=' 0,1 2,3'
816cpu_sets=' 0-15 16-31'
917cpu_sets_arr=($cpu_sets )
1018is_get_file_lock=false
11- CI_COMMAND=${CI_COMMAND:- bash .dev_scripts/ ci_container_test.sh pytest tests}
1219echo " ci command: $CI_COMMAND "
1320PR_CHANGED_FILES=" ${PR_CHANGED_FILES:- } "
1421echo " PR modified files: $PR_CHANGED_FILES "
Original file line number Diff line number Diff line change 7373 shell : bash
7474 run : |
7575 set -e
76- mkdir -p ~/.cache
77- export MODELSCOPE_CACHE=~/.cache
78- export IMAGE_NAME=modelscope-registry.us-west-1.cr.aliyuncs.com/modelscope-repo/modelscope
79- export IMAGE_VERSION=ci_image
80- export MODELSCOPE_HOME_CACHE=~/.cache
81- export CI_TEST=True
82- export MODELSCOPE_SDK_DEBUG=True
83- export CI_COMMAND='bash .dev_scripts/ci_container_test.sh pytest tests'
84- CODE_DIR=$PWD
8576 bash .dev_scripts/dockerci.sh
You can’t perform that action at this time.
0 commit comments