adapte for py310

This commit is contained in:
xingjun.wxj
2025-03-17 11:46:07 +08:00
parent 2da07a3ff6
commit a5acaa01d0
3 changed files with 9 additions and 8 deletions

View File

@@ -25,7 +25,8 @@ if [ "$INSTALL_MS_DEPS" = "True" ]; then \
pip --no-cache-dir install omegaconf==2.0.6 && \
pip install 'editdistance==0.8.1' && \
pip install --no-cache-dir 'cython<=0.29.36' versioneer 'numpy<2.0' -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html && \
pip install --no-cache-dir kwsbp==0.1.0 -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html && \
# pip install --no-cache-dir kwsbp==0.1.0 -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html && \
pip install --no-cache-dir kwsbp==0.0.6 -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html && \
pip install --no-cache-dir -r /var/modelscope/framework.txt -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html && \
pip install --no-cache-dir -r /var/modelscope/audio.txt -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html && \
pip install --no-cache-dir -r /var/modelscope/cv.txt -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html && \

View File

@@ -204,11 +204,11 @@ ARG TENSORFLOW_VERSION={tf_version}
fi
# This limits the cuda121 version
#RUN if [ "$USE_GPU" = "True" ] ; then \
# pip install --no-cache-dir --force tinycudann==1.7 -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html; \
# else \
# echo 'cpu not install tinycudann'; \
# fi
RUN if [ "$USE_GPU" = "True" ] ; then \
pip install --no-cache-dir --force tinycudann==1.7 -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html; \
else \
echo 'cpu not install tinycudann'; \
fi
RUN pip install --no-cache-dir fairseq

View File

@@ -1,2 +1,2 @@
#funcodec>=0.2.0
ms-funcodec>=0.2.0
funcodec>=0.2.0
#ms-funcodec>=0.2.0