force upgrade funasr build image

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/14411115
* force upgrade funasr build image
This commit is contained in:
mulin.lyh
2023-10-24 15:19:01 +08:00
committed by wenmeng.zwm
parent d30ef8b202
commit c039b7348d

View File

@@ -150,7 +150,7 @@ echo -e "Building image with:\npython$python_version\npytorch$torch_version\nten
docker_file_content=`cat docker/Dockerfile.ubuntu`
if [ "$is_ci_test" != "True" ]; then
echo "Building ModelScope lib, will install ModelScope lib to image"
docker_file_content="${docker_file_content} \nRUN pip install --no-cache-dir -U transformers && pip install --no-cache-dir https://modelscope.oss-cn-beijing.aliyuncs.com/releases/build/modelscope-$modelscope_version-py3-none-any.whl "
docker_file_content="${docker_file_content} \nRUN pip install --no-cache-dir -U funasr transformers && pip install --no-cache-dir https://modelscope.oss-cn-beijing.aliyuncs.com/releases/build/modelscope-$modelscope_version-py3-none-any.whl "
fi
echo "$is_dsw"
if [ "$is_dsw" == "False" ]; then