From 83011fc447358003585974d10a5ede9f107a03bb Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Thu, 24 Mar 2022 15:57:42 +0100 Subject: [PATCH] install torchdata from nightly releases in CI --- .circleci/config.yml | 9 +++------ .circleci/config.yml.in | 9 +++------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8c8600d17ad..e50e3328848 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -146,7 +146,7 @@ commands: default: true steps: - pip_install: - args: --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html + args: --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu descr: Install PyTorch from nightly releases - pip_install: args: --no-build-isolation <<# parameters.editable >> --editable <> . @@ -158,11 +158,8 @@ commands: args: iopath descr: Install third-party dependencies - pip_install: - args: -r https://raw.githubusercontent.com/pytorch/data/main/requirements.txt - descr: Install torchdata build dependencies - - pip_install: - args: --no-build-isolation git+https://github.com/pytorch/data - descr: Install torchdata from source + args: --pre torchdata --extra-index-url https://download.pytorch.org/whl/nightly/cpu + descr: Install torchdata from nightly releases # Most of the test suite is handled by the `unittest` jobs, with completely different workflow and setup. # This command can be used if only a selection of tests need to be run, for ad-hoc files. diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index 7188d435a82..5605f953fef 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -146,7 +146,7 @@ commands: default: true steps: - pip_install: - args: --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html + args: --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu descr: Install PyTorch from nightly releases - pip_install: args: --no-build-isolation <<# parameters.editable >> --editable <> . @@ -158,11 +158,8 @@ commands: args: iopath descr: Install third-party dependencies - pip_install: - args: -r https://raw.githubusercontent.com/pytorch/data/main/requirements.txt - descr: Install torchdata build dependencies - - pip_install: - args: --no-build-isolation git+https://github.com/pytorch/data - descr: Install torchdata from source + args: --pre torchdata --extra-index-url https://download.pytorch.org/whl/nightly/cpu + descr: Install torchdata from nightly releases # Most of the test suite is handled by the `unittest` jobs, with completely different workflow and setup. # This command can be used if only a selection of tests need to be run, for ad-hoc files.