Skip to content

Commit 2662797

Browse files
authored
[v0.12.0] .circleci: Bump version for pytorch 1.11.0 (#5400)
Also test against pytorch-test
1 parent d6b0e1c commit 2662797

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.circleci/config.yml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/config.yml.in

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ commands:
3939
- run:
4040
name: adding UPLOAD_CHANNEL to BASH_ENV
4141
command: |
42-
our_upload_channel=nightly
42+
our_upload_channel=test
4343
# On tags upload to test instead
4444
if [[ -n "${CIRCLE_TAG}" ]]; then
4545
our_upload_channel=test
@@ -146,7 +146,7 @@ commands:
146146
default: true
147147
steps:
148148
- pip_install:
149-
args: --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
149+
args: --pre torch -f https://download.pytorch.org/whl/test/cpu/torch_test.html
150150
descr: Install PyTorch from nightly releases
151151
- pip_install:
152152
args: --no-build-isolation <<# parameters.editable >> --editable <</ parameters.editable >> .
@@ -174,11 +174,11 @@ binary_common: &binary_common
174174
build_version:
175175
description: "version number of release binary; by default, build a nightly"
176176
type: string
177-
default: ""
177+
default: "0.12.0"
178178
pytorch_version:
179179
description: "PyTorch version to build against; by default, use a nightly"
180180
type: string
181-
default: ""
181+
default: "1.11.0"
182182
# Don't edit these
183183
python_version:
184184
description: "Python version to build against (e.g., 3.7)"
@@ -586,7 +586,7 @@ jobs:
586586
command: |
587587
set -x
588588
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
589-
conda install -v -y -c pytorch-nightly pytorch
589+
conda install -v -y -c pytorch-test pytorch
590590
conda install -v -y $(ls ~/workspace/torchvision*.tar.bz2)
591591
- run:
592592
name: smoke test
@@ -606,7 +606,7 @@ jobs:
606606
set -x
607607
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
608608
- pip_install:
609-
args: $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/nightly/torch_nightly.html
609+
args: $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/test/torch_test.html
610610
- run:
611611
name: smoke test
612612
command: |
@@ -651,7 +651,7 @@ jobs:
651651
conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
652652
conda activate python${PYTHON_VERSION}
653653
conda install "Pillow>=5.3.0,!=8.3.*"
654-
conda install -v -y -c pytorch-nightly pytorch
654+
conda install -v -y -c pytorch-test pytorch
655655
conda install -v -y $(ls ~/workspace/torchvision*.tar.bz2)
656656
- run:
657657
name: smoke test
@@ -676,7 +676,7 @@ jobs:
676676
conda create -yn python${PYTHON_VERSION} python=${PYTHON_VERSION}
677677
conda activate python${PYTHON_VERSION}
678678
- pip_install:
679-
args: $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/nightly/torch_nightly.html
679+
args: $(ls ~/workspace/torchvision*.whl) --pre -f https://download.pytorch.org/whl/test/torch_test.html
680680
- run:
681681
name: smoke test
682682
command: |

0 commit comments

Comments
 (0)