Skip to content

Commit

Permalink
update nightly channel
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkho committed Oct 15, 2024
1 parent 6b762ba commit 74caf63
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 74caf63

Please sign in to comment.