fix conda problems
This commit is contained in:
parent
338ab157c7
commit
dde579e3eb
|
@ -1,9 +1,16 @@
|
||||||
package:
|
package:
|
||||||
name: mindspore-ascend
|
name: mindspore-ascend
|
||||||
version: "1.5.0-rc1"
|
version: "1.5.0rc1"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
number: 0
|
number: 0
|
||||||
|
rpaths:
|
||||||
|
- /usr/local/Ascend/nnae/latest/fwkacllib/lib64
|
||||||
|
- /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64
|
||||||
|
- /usr/local/Ascend/fwkacllib/lib64
|
||||||
|
- /usr/local/Ascend/opp/op_impl/built-in/ai_core/tbe/op_tiling
|
||||||
|
- /usr/local/Ascend/nnae/latest/opp/op_impl/built-in/ai_core/tbe/op_tiling
|
||||||
|
- /usr/local/Ascend/ascend-toolkit/latest/opp/op_impl/built-in/ai_core/tbe/op_tiling
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package:
|
package:
|
||||||
name: mindspore-cpu
|
name: mindspore-cpu
|
||||||
version: "1.5.0-rc1"
|
version: "1.5.0rc1"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
number: 0
|
number: 0
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
package:
|
package:
|
||||||
name: mindspore-gpu
|
name: mindspore-gpu
|
||||||
version: "1.5.0-rc1"
|
version: "1.5.0rc1"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
number: 0
|
number: 0
|
||||||
string: cuda10.1
|
string: py37_cuda10.1
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
build:
|
build:
|
||||||
- python
|
- python>=3.7, <3.8
|
||||||
- pip
|
- pip
|
||||||
run:
|
run:
|
||||||
- python
|
- python>=3.7, <3.8
|
||||||
- numpy >=1.17.0
|
- numpy >=1.17.0
|
||||||
- protobuf >=3.13.0
|
- protobuf >=3.13.0
|
||||||
- asttokens >=1.1.13
|
- asttokens >=1.1.13
|
|
@ -1,17 +1,17 @@
|
||||||
package:
|
package:
|
||||||
name: mindspore-gpu
|
name: mindspore-gpu
|
||||||
version: "1.5.0-rc1"
|
version: "1.5.0rc1"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
number: 0
|
number: 0
|
||||||
string: cuda11.1
|
string: py37_cuda11.1
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
build:
|
build:
|
||||||
- python
|
- python>=3.7, <3.8
|
||||||
- pip
|
- pip
|
||||||
run:
|
run:
|
||||||
- python
|
- python>=3.7, <3.8
|
||||||
- numpy >=1.17.0
|
- numpy >=1.17.0
|
||||||
- protobuf >=3.13.0
|
- protobuf >=3.13.0
|
||||||
- asttokens >=1.1.13
|
- asttokens >=1.1.13
|
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# install MindSpore-GPU using pip
|
||||||
|
if [ "$(uname)" == Linux ]; then
|
||||||
|
if [ "$PY_VER" == "3.7" ]; then
|
||||||
|
echo "building conda package for python3.7"
|
||||||
|
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
elif [ "$PY_VER" == "3.9" ]; then
|
||||||
|
echo "building conda package for python3.9"
|
||||||
|
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-10.1/mindspore_gpu-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
else
|
||||||
|
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
|
@ -0,0 +1,32 @@
|
||||||
|
package:
|
||||||
|
name: mindspore-gpu
|
||||||
|
version: "1.5.0rc1"
|
||||||
|
|
||||||
|
build:
|
||||||
|
number: 0
|
||||||
|
string: py39_cuda10.1
|
||||||
|
|
||||||
|
requirements:
|
||||||
|
build:
|
||||||
|
- python>=3.9, <3.10
|
||||||
|
- pip
|
||||||
|
run:
|
||||||
|
- python>=3.9, <3.10
|
||||||
|
- numpy >=1.17.0
|
||||||
|
- protobuf >=3.13.0
|
||||||
|
- asttokens >=1.1.13
|
||||||
|
- pillow >=6.2.0
|
||||||
|
- scipy >=1.5.2
|
||||||
|
- cffi >=1.12.3
|
||||||
|
- wheel >=0.32.0
|
||||||
|
- decorator >=4.4.0
|
||||||
|
- setuptools >=40.8.0
|
||||||
|
- astunparse >=1.6.3
|
||||||
|
- packaging >=20.0
|
||||||
|
- psutil >=5.7.0
|
||||||
|
- cudatoolkit >=10.1, <10.2
|
||||||
|
|
||||||
|
about:
|
||||||
|
home: https://www.mindspore.cn/
|
||||||
|
license: Apache 2.0
|
||||||
|
summary: MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.
|
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# install MindSpore-GPU using pip
|
||||||
|
if [ "$(uname)" == Linux ]; then
|
||||||
|
if [ "$PY_VER" == "3.7" ]; then
|
||||||
|
echo "building conda package for python3.7"
|
||||||
|
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0rc1-cp37-cp37m-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
elif [ "$PY_VER" == "3.9" ]; then
|
||||||
|
echo "building conda package for python3.9"
|
||||||
|
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.5.0-rc1/MindSpore/gpu/x86_64/cuda-11.1/mindspore_gpu-1.5.0rc1-cp39-cp39-linux_x86_64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
else
|
||||||
|
echo "ERROR: you are trying to build MindSpore conda package on a unsupported python environment, try python 3.7 or 3.9"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
|
@ -0,0 +1,32 @@
|
||||||
|
package:
|
||||||
|
name: mindspore-gpu
|
||||||
|
version: "1.5.0rc1"
|
||||||
|
|
||||||
|
build:
|
||||||
|
number: 0
|
||||||
|
string: py39_cuda11.1
|
||||||
|
|
||||||
|
requirements:
|
||||||
|
build:
|
||||||
|
- python>=3.9, <3.10
|
||||||
|
- pip
|
||||||
|
run:
|
||||||
|
- python>=3.9, <3.10
|
||||||
|
- numpy >=1.17.0
|
||||||
|
- protobuf >=3.13.0
|
||||||
|
- asttokens >=1.1.13
|
||||||
|
- pillow >=6.2.0
|
||||||
|
- scipy >=1.5.2
|
||||||
|
- cffi >=1.12.3
|
||||||
|
- wheel >=0.32.0
|
||||||
|
- decorator >=4.4.0
|
||||||
|
- setuptools >=40.8.0
|
||||||
|
- astunparse >=1.6.3
|
||||||
|
- packaging >=20.0
|
||||||
|
- psutil >=5.7.0
|
||||||
|
- cudatoolkit >=11.1, <11.2
|
||||||
|
|
||||||
|
about:
|
||||||
|
home: https://www.mindspore.cn/
|
||||||
|
license: Apache 2.0
|
||||||
|
summary: MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.
|
Loading…
Reference in New Issue