File tree Expand file tree Collapse file tree 6 files changed +16
-16
lines changed Expand file tree Collapse file tree 6 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ conda activate "${CONDA_ENV_NAME}"
28
28
if [[ " $DESIRED_PYTHON " == " 3.8" ]]; then
29
29
pip install -q numpy==1.24.4
30
30
else
31
- pip install -q --pre numpy==2.0.0b1
31
+ pip install -q --pre numpy==2.0.0rc1
32
32
fi
33
33
conda install -y -c conda-forge pyyaml==6.0.1 patchelf==0.17.2 pygit2==1.13.2 openblas==0.3.25=* openmp* ninja==1.11.1 scons==4.5.2
34
34
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ if [ -z "$ANACONDA_TOKEN" ]; then
85
85
fi
86
86
if [[ -z " $ANACONDA_USER " ]]; then
87
87
# This is the channel that finished packages will be uploaded to
88
- ANACONDA_USER=soumith
88
+ ANACONDA_USER=' pytorch '
89
89
fi
90
90
if [[ -z " $GITHUB_ORG " ]]; then
91
91
GITHUB_ORG=' pytorch'
@@ -360,12 +360,14 @@ for py_ver in "${DESIRED_PYTHON[@]}"; do
360
360
fi
361
361
362
362
echo " Calling conda-build at $( date) "
363
+ # TODO: Remove atalman channel once we can wend numpy from
364
+ # anaconda or pytorch or pytorch nightly channel
363
365
time CMAKE_ARGS=${CMAKE_ARGS[@]} \
364
366
EXTRA_CAFFE2_CMAKE_FLAGS=${EXTRA_CAFFE2_CMAKE_FLAGS[@]} \
365
367
PYTORCH_GITHUB_ROOT_DIR=" $pytorch_rootdir " \
366
368
PYTORCH_BUILD_STRING=" $build_string " \
367
369
PYTORCH_MAGMA_CUDA_VERSION=" $cuda_nodot " \
368
- conda build -c " $ANACONDA_USER " \
370
+ conda build -c " $ANACONDA_USER " -c atalman \
369
371
${NO_TEST:- } \
370
372
--no-anaconda-upload \
371
373
--python " $py_ver " \
Original file line number Diff line number Diff line change @@ -30,9 +30,7 @@ requirements:
30
30
- ninja
31
31
- libuv # [win]
32
32
- numpy=1.19 # [py <= 39]
33
- - numpy=1.21.5 # [py == 310]
34
- - numpy=1.23.5 # [py == 311]
35
- - numpy=1.26.0 # [py >= 312]
33
+ - numpy=2.0.0rc1 # [py >= 39]
36
34
- openssl=1.1.1l # [py >= 38 and py <= 310 and linux]
37
35
- openssl=1.1.1s # [py == 311 and linux]
38
36
- openssl=3.0.12 # [py >= 312 and linux]
Original file line number Diff line number Diff line change @@ -115,11 +115,11 @@ case ${DESIRED_PYTHON} in
115
115
retry pip install -q numpy==1.15
116
116
;;
117
117
cp31* )
118
- retry pip install -q --pre numpy==2.0.0b1
118
+ retry pip install -q --pre numpy==2.0.0rc1
119
119
;;
120
120
# Should catch 3.9+
121
121
* )
122
- retry pip install -q --pre numpy==2.0.0b1
122
+ retry pip install -q --pre numpy==2.0.0rc1
123
123
;;
124
124
esac
125
125
Original file line number Diff line number Diff line change @@ -136,25 +136,25 @@ case $desired_python in
136
136
echo " Using 3.12 deps"
137
137
SETUPTOOLS_PINNED_VERSION=" >=68.0.0"
138
138
PYYAML_PINNED_VERSION=" >=6.0.1"
139
- NUMPY_PINNED_VERSION=" =2.0.0b1 "
139
+ NUMPY_PINNED_VERSION=" =2.0.0rc1 "
140
140
;;
141
141
3.11)
142
142
echo " Using 3.11 deps"
143
143
SETUPTOOLS_PINNED_VERSION=" >=46.0.0"
144
144
PYYAML_PINNED_VERSION=" >=5.3"
145
- NUMPY_PINNED_VERSION=" =2.0.0b1 "
145
+ NUMPY_PINNED_VERSION=" =2.0.0rc1 "
146
146
;;
147
147
3.10)
148
148
echo " Using 3.10 deps"
149
149
SETUPTOOLS_PINNED_VERSION=" >=46.0.0"
150
150
PYYAML_PINNED_VERSION=" >=5.3"
151
- NUMPY_PINNED_VERSION=" =2.0.0b1 "
151
+ NUMPY_PINNED_VERSION=" =2.0.0rc1 "
152
152
;;
153
153
3.9)
154
154
echo " Using 3.9 deps"
155
155
SETUPTOOLS_PINNED_VERSION=" >=46.0.0"
156
156
PYYAML_PINNED_VERSION=" >=5.3"
157
- NUMPY_PINNED_VERSION=" =2.0.0b1 "
157
+ NUMPY_PINNED_VERSION=" =2.0.0rc1 "
158
158
;;
159
159
3.8)
160
160
echo " Using 3.8 deps"
Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ if errorlevel 1 exit /b 1
53
53
set " PATH = %CD% \Python%PYTHON_VERSION% \Scripts;%CD% \Python;%PATH% "
54
54
55
55
56
- if " %DESIRED_PYTHON% " == " 3.12" pip install -q --pre numpy== 2.0.0b1 protobuf
57
- if " %DESIRED_PYTHON% " == " 3.11" pip install -q --pre numpy== 2.0.0b1 protobuf
58
- if " %DESIRED_PYTHON% " == " 3.10" pip install -q --pre numpy== 2.0.0b1 protobuf
59
- if " %DESIRED_PYTHON% " == " 3.9" pip install -q --pre numpy== 2.0.0b1 protobuf
56
+ if " %DESIRED_PYTHON% " == " 3.12" pip install -q --pre numpy== 2.0.0rc1 protobuf
57
+ if " %DESIRED_PYTHON% " == " 3.11" pip install -q --pre numpy== 2.0.0rc1 protobuf
58
+ if " %DESIRED_PYTHON% " == " 3.10" pip install -q --pre numpy== 2.0.0rc1 protobuf
59
+ if " %DESIRED_PYTHON% " == " 3.9" pip install -q --pre numpy== 2.0.0rc1 protobuf
60
60
if " %DESIRED_PYTHON% " == " 3.8" pip install -q numpy protobuf
61
61
62
62
if errorlevel 1 exit /b 1
You can’t perform that action at this time.
0 commit comments