From eeedc49bdecd2288714e7e4ac19eeb61f9bce000 Mon Sep 17 00:00:00 2001 From: andrewkho Date: Tue, 15 Oct 2024 15:43:17 -0700 Subject: [PATCH] update nightly channel --- .github/workflows/lint.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index af1bfaff4..80656e5da 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -38,7 +38,8 @@ jobs: if [[ "${{ github.base_ref }}" == release/* ]] || [[ "${{ github.ref }}" == refs/heads/release/* ]] || [[ "${{ github.ref }}" == refs/tags/v* ]]; then PT_CHANNEL="https://download.pytorch.org/whl/test/cpu/torch_test.html" else - PT_CHANNEL="https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html" + BASE="d3kup0pazkvub8.cloudfront.net" + PT_CHANNEL="https://$BASE/whl/nightly/cpu" fi echo "value=$PT_CHANNEL" >> $GITHUB_OUTPUT id: pytorch_channel @@ -51,7 +52,7 @@ jobs: - name: Install PyTorch run: | pip3 install networkx - pip3 install --pre torch -f "${{ steps.pytorch_channel.outputs.value }}" + pip3 install --pre torch --index-url "${{ steps.pytorch_channel.outputs.value }}" - name: Install dependencies run: | pip3 install -r requirements.txt