File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ binary_common: &binary_common
37
37
build_version :
38
38
description : " version number of release binary; by default, build a nightly"
39
39
type : string
40
- default : " "
40
+ default : " 0.5.1 "
41
41
pytorch_version :
42
42
description : " PyTorch version to build against; by default, use a nightly"
43
43
type : string
44
- default : " "
44
+ default : " 1.5.0 "
45
45
# Don't edit these
46
46
python_version :
47
47
description : " Python version to build against (e.g., 3.7)"
Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ binary_common: &binary_common
37
37
build_version:
38
38
description: "version number of release binary; by default, build a nightly"
39
39
type: string
40
- default: ""
40
+ default: "0.5.1 "
41
41
pytorch_version:
42
42
description: "PyTorch version to build against; by default, use a nightly"
43
43
type: string
44
- default: ""
44
+ default: "1.5.0 "
45
45
# Don't edit these
46
46
python_version:
47
47
description: "Python version to build against (e.g., 3.7)"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
5
5
. " $script_dir /pkg_helpers.bash"
6
6
7
7
export BUILD_TYPE=conda
8
- setup_env 0.6.0
8
+ setup_env 0.5.1
9
9
export SOURCE_ROOT_DIR=" $PWD "
10
10
setup_conda_pytorch_constraint
11
11
setup_conda_cudatoolkit_constraint
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
5
5
. " $script_dir /pkg_helpers.bash"
6
6
7
7
export BUILD_TYPE=wheel
8
- setup_env 0.6.0
8
+ setup_env 0.5.1
9
9
setup_wheel_python
10
10
pip_install numpy pyyaml future ninja
11
11
setup_pip_pytorch_version
Original file line number Diff line number Diff line change @@ -207,6 +207,7 @@ setup_pip_pytorch_version() {
207
207
fi
208
208
else
209
209
pip_install " torch==$PYTORCH_VERSION$PYTORCH_VERSION_SUFFIX " \
210
+ -f https://download.pytorch.org/whl/torch_test.html \
210
211
-f https://download.pytorch.org/whl/torch_stable.html \
211
212
-f https://download.pytorch.org/whl/nightly/torch_nightly.html
212
213
fi
@@ -233,7 +234,7 @@ setup_conda_pytorch_constraint() {
233
234
exit 1
234
235
fi
235
236
else
236
- export CONDA_CHANNEL_FLAGS=" -c pytorch -c pytorch-nightly"
237
+ export CONDA_CHANNEL_FLAGS=" -c pytorch-test -c pytorch -c pytorch-nightly"
237
238
fi
238
239
if [[ " $CU_VERSION " == cpu ]]; then
239
240
export CONDA_PYTORCH_BUILD_CONSTRAINT=" - pytorch==$PYTORCH_VERSION ${PYTORCH_VERSION_SUFFIX} "
You can’t perform that action at this time.
0 commit comments