fix docker scripts

This commit is contained in:
yanghaoran 2022-04-26 16:19:17 +08:00
parent fb2da7b314
commit 411086f538
4 changed files with 4 additions and 8 deletions

View File

@ -74,5 +74,4 @@ RUN mkdir -pv /root/.pip \
# Install MindSpore cpu and MindInsight packages
RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.0/MindSpore/cpu/x86_64/mindspore-1.7.0-cp37-cp37m-linux_x86_64.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.0/MindInsight/any/mindinsight-1.7.0-py3-none-any.whl \
&& pip cache purge
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.0/MindInsight/any/mindinsight-1.7.0-py3-none-any.whl

View File

@ -89,5 +89,4 @@ RUN cd /tmp \
# Install MindSpore cuda-10.1, MindInsight, Serving whl package
RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.0/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.7.0-cp37-cp37m-linux_x86_64.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.0/MindInsight/any/mindinsight-1.7.0-py3-none-any.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.0/Serving/x86_64/mindspore_serving-1.7.0-cp37-cp37m-linux_x86_64.whl \
&& pip cache purge
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.0/Serving/x86_64/mindspore_serving-1.7.0-cp37-cp37m-linux_x86_64.whl

View File

@ -89,5 +89,4 @@ RUN cd /tmp \
# Install MindSpore cuda-11.1, MindInsight, Serving whl package
RUN pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.0/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.7.0-cp37-cp37m-linux_x86_64.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.0/MindInsight/any/mindinsight-1.7.0-py3-none-any.whl \
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.0/Serving/x86_64/mindspore_serving-1.7.0-cp37-cp37m-linux_x86_64.whl \
&& pip cache purge
&& pip install --no-cache-dir https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.0/Serving/x86_64/mindspore_serving-1.7.0-cp37-cp37m-linux_x86_64.whl

View File

@ -87,5 +87,4 @@ RUN cd /tmp \
&& rm -f /tmp/openmpi-4.0.3.tar.gz
# Install frequently used python packages
RUN pip install --no-cache-dir decorator pandas sklearn pyyaml \
&& pip cache purge
RUN pip install --no-cache-dir decorator pandas sklearn pyyaml