File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export USE_CUDA_STATIC_LINK=1
14
14
. ./switch_cuda_version.sh 9.0
15
15
16
16
17
- conda install -y cmake numpy=1.17 setuptools pyyaml cffi mkl=2018 mkl-include typing_extension ninja magma-cuda80 -c pytorch
17
+ conda install -y cmake numpy=1.17 setuptools pyyaml mkl=2018 mkl-include typing_extension ninja magma-cuda80 -c pytorch
18
18
19
19
export CMAKE_PREFIX_PATH=" $( dirname $( which conda) ) /../"
20
20
git clone https://github.com/pytorch/pytorch -b nightly2 --recursive
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ tmp_env_name="wheel_py$python_nodot"
167
167
conda create ${EXTRA_CONDA_INSTALL_FLAGS} -yn " $tmp_env_name " python=" $desired_python "
168
168
source activate " $tmp_env_name "
169
169
170
- retry conda install ${EXTRA_CONDA_INSTALL_FLAGS} -yq cmake " numpy${NUMPY_PINNED_VERSION} " nomkl " setuptools${SETUPTOOLS_PINNED_VERSION} " " pyyaml${PYYAML_PINNED_VERSION} " cffi typing_extensions ninja requests
170
+ retry conda install ${EXTRA_CONDA_INSTALL_FLAGS} -yq cmake " numpy${NUMPY_PINNED_VERSION} " nomkl " setuptools${SETUPTOOLS_PINNED_VERSION} " " pyyaml${PYYAML_PINNED_VERSION} " typing_extensions ninja requests
171
171
retry conda install ${EXTRA_CONDA_INSTALL_FLAGS} -yq mkl-include==2022.2.1 mkl-static==2022.2.1 -c intel
172
172
retry pip install -qr " ${pytorch_rootdir} /requirements.txt" || true
173
173
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ set "ORIG_PATH=%PATH%"
30
30
conda remove -n py36 --all -y || rmdir %CONDA_HOME% \envs\py36 /s
31
31
conda remove -n py37 --all -y || rmdir %CONDA_HOME% \envs\py37 /s
32
32
33
- conda create -n py36 -y -q numpy=1.11 mkl=2018 cffi pyyaml boto3 cmake ninja typing_extensions python=3.6
34
- conda create -n py37 -y -q numpy=1.11 mkl=2018 cffi pyyaml boto3 cmake ninja typing_extensions python=3.7
33
+ conda create -n py36 -y -q numpy=1.11 mkl=2018 pyyaml boto3 cmake ninja typing_extensions python=3.6
34
+ conda create -n py37 -y -q numpy=1.11 mkl=2018 pyyaml boto3 cmake ninja typing_extensions python=3.7
35
35
36
36
REM Install MKL
37
37
rmdir /s /q mkl
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ FOR %%v IN (%DESIRED_PYTHON%) DO (
9
9
set PYTHON_VERSION_STR = %%v
10
10
set PYTHON_VERSION_STR = !PYTHON_VERSION_STR:. =!
11
11
conda remove -n py!PYTHON_VERSION_STR! --all -y || rmdir %CONDA_HOME% \envs\py!PYTHON_VERSION_STR! /s
12
- if " %%v " == " 3.7" call conda create -n py!PYTHON_VERSION_STR! -y -q numpy=1.11 " mkl=2020.2" cffi pyyaml boto3 cmake ninja typing_extensions python=%%v
12
+ if " %%v " == " 3.7" call conda create -n py!PYTHON_VERSION_STR! -y -q numpy=1.11 " mkl=2020.2" pyyaml boto3 cmake ninja typing_extensions python=%%v
13
13
if " %%v " == " 3.8" call conda create -n py!PYTHON_VERSION_STR! -y -q numpy=1.11 " mkl=2020.2" pyyaml boto3 cmake ninja typing_extensions python=%%v
14
14
if " %%v " == " 3.9" call conda create -n py!PYTHON_VERSION_STR! -y -q " numpy>=1.11" " mkl=2020.2" pyyaml boto3 cmake ninja typing_extensions python=%%v
15
15
if " %%v " == " 3.10" call conda create -n py!PYTHON_VERSION_STR! -y -q -c=conda-forge " numpy>=1.21.2" " mkl=2020.2" pyyaml boto3 " cmake=3.19.6" ninja typing_extensions python=%%v
You can’t perform that action at this time.
0 commit comments