Skip to content

Commit 096a90d

Browse files
committed
Preparing binary builds
1 parent 3c254fb commit 096a90d

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ binary_common: &binary_common
3737
build_version:
3838
description: "version number of release binary; by default, build a nightly"
3939
type: string
40-
default: ""
40+
default: "0.5.1"
4141
pytorch_version:
4242
description: "PyTorch version to build against; by default, use a nightly"
4343
type: string
44-
default: ""
44+
default: "1.5.0"
4545
# Don't edit these
4646
python_version:
4747
description: "Python version to build against (e.g., 3.7)"

.circleci/config.yml.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ binary_common: &binary_common
3737
build_version:
3838
description: "version number of release binary; by default, build a nightly"
3939
type: string
40-
default: ""
40+
default: "0.5.1"
4141
pytorch_version:
4242
description: "PyTorch version to build against; by default, use a nightly"
4343
type: string
44-
default: ""
44+
default: "1.5.0"
4545
# Don't edit these
4646
python_version:
4747
description: "Python version to build against (e.g., 3.7)"

packaging/build_conda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
55
. "$script_dir/pkg_helpers.bash"
66

77
export BUILD_TYPE=conda
8-
setup_env 0.6.0
8+
setup_env 0.5.1
99
export SOURCE_ROOT_DIR="$PWD"
1010
setup_conda_pytorch_constraint
1111
setup_conda_cudatoolkit_constraint

packaging/build_wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
55
. "$script_dir/pkg_helpers.bash"
66

77
export BUILD_TYPE=wheel
8-
setup_env 0.6.0
8+
setup_env 0.5.1
99
setup_wheel_python
1010
pip_install numpy pyyaml future ninja
1111
setup_pip_pytorch_version

packaging/pkg_helpers.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ setup_pip_pytorch_version() {
207207
fi
208208
else
209209
pip_install "torch==$PYTORCH_VERSION$PYTORCH_VERSION_SUFFIX" \
210+
-f https://download.pytorch.org/whl/torch_test.html \
210211
-f https://download.pytorch.org/whl/torch_stable.html \
211212
-f https://download.pytorch.org/whl/nightly/torch_nightly.html
212213
fi
@@ -233,7 +234,7 @@ setup_conda_pytorch_constraint() {
233234
exit 1
234235
fi
235236
else
236-
export CONDA_CHANNEL_FLAGS="-c pytorch -c pytorch-nightly"
237+
export CONDA_CHANNEL_FLAGS="-c pytorch-test -c pytorch -c pytorch-nightly"
237238
fi
238239
if [[ "$CU_VERSION" == cpu ]]; then
239240
export CONDA_PYTORCH_BUILD_CONSTRAINT="- pytorch==$PYTORCH_VERSION${PYTORCH_VERSION_SUFFIX}"

0 commit comments

Comments
 (0)