change ms-swift version

This commit is contained in:
yuze.zyz
2024-03-11 10:28:06 +08:00
parent bd68182d34
commit 7efa6f5ccf

View File

@@ -155,7 +155,7 @@ docker_file_content=`cat docker/Dockerfile.ubuntu`
BUILD_HASH_ID=$(git rev-parse HEAD)
# install thrid part library
docker_file_content="${docker_file_content} \nRUN export COMMIT_ID=$BUILD_HASH_ID && pip install --no-cache-dir -U adaseq pai-easycv https://modelscope-open.oss-cn-hangzhou.aliyuncs.com/ms_swift-1.7.0-py3-none-any.whl 'funasr==1.0.14' autoawq timm 'transformers==4.38.2'"
docker_file_content="${docker_file_content} \nRUN export COMMIT_ID=$BUILD_HASH_ID && pip install --no-cache-dir -U adaseq pai-easycv 'ms-swift==1.7.1' 'funasr==1.0.14' autoawq timm 'transformers==4.38.2'"
docker_file_content="${docker_file_content} \nRUN pip uninstall modelscope -y && export COMMIT_ID=$BUILD_HASH_ID && cd /tmp && GIT_LFS_SKIP_SMUDGE=1 git clone -b $build_branch --single-branch $REPO_URL && cd modelscope && pip install . && cd / && rm -fr /tmp/modelscope && pip cache purge;"