Skip to content

Commit 9e174d3

Browse files
authored
install torchdata from nightly releases in CI (#5672)
1 parent 52ba090 commit 9e174d3

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.circleci/config.yml

Lines changed: 3 additions & 6 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: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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 --extra-index-url https://download.pytorch.org/whl/nightly/cpu
150150
descr: Install PyTorch from nightly releases
151151
- pip_install:
152152
args: --no-build-isolation <<# parameters.editable >> --editable <</ parameters.editable >> .
@@ -158,11 +158,8 @@ commands:
158158
args: iopath
159159
descr: Install third-party dependencies
160160
- pip_install:
161-
args: -r https://raw.githubusercontent.com/pytorch/data/main/requirements.txt
162-
descr: Install torchdata build dependencies
163-
- pip_install:
164-
args: --no-build-isolation git+https://github.com/pytorch/data
165-
descr: Install torchdata from source
161+
args: --pre torchdata --extra-index-url https://download.pytorch.org/whl/nightly/cpu
162+
descr: Install torchdata from nightly releases
166163

167164
# Most of the test suite is handled by the `unittest` jobs, with completely different workflow and setup.
168165
# This command can be used if only a selection of tests need to be run, for ad-hoc files.

0 commit comments

Comments
 (0)