mirror of
https://github.com/modelscope/ms-swift.git
synced 2024-11-25 18:42:46 +08:00
fix (#1634)
This commit is contained in:
parent
daa9b91d1d
commit
f545b2fa6c
@ -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
|
||||
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user