This commit is contained in:
tastelikefeet 2024-08-08 13:54:10 +08:00 committed by GitHub
parent daa9b91d1d
commit f545b2fa6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
if [ "$MODELSCOPE_SDK_DEBUG" == "True" ]; then
# pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install -r requirements/tests.txt -i https://mirrors.aliyun.com/pypi/simple/
git config --global --add safe.directory /swift
git config --global --add safe.directory /ms-swift
git config --global user.email tmp
git config --global user.name tmp.com

View File

@ -1,7 +1,7 @@
#!/bin/bash
MODELSCOPE_CACHE_DIR_IN_CONTAINER=/modelscope_cache
CODE_DIR=$PWD
CODE_DIR_IN_CONTAINER=/swift
CODE_DIR_IN_CONTAINER=/ms-swift
echo "$USER"
gpus='0,1 2,3'
cpu_sets='0-15 16-31'