Skip to content

Commit

Permalink
use official nightly url (#1433)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-vi authored Nov 13, 2024
1 parent 2b8284d commit 7912102
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ defaults:
env:
#CI: "true"
TORCH_URL_RC: "https://download.pytorch.org/whl/test/cpu/torch_test.html"
TORCH_URL_NIGHTLY: "https://download.pytorch.org/whl/nightly/cpu/torch/"
TORCH_URL_NIGHTLY: "https://download.pytorch.org/whl/nightly/cpu"
TORCH_URL_STABLE: "https://download.pytorch.org/whl/cpu"

jobs:
Expand Down Expand Up @@ -81,10 +81,15 @@ jobs:
- name: Install package & dependencies
run: |
if [[ "${{ runner.os }}" == "macOS" ]]; then
brew install libomp
fi
pip --version
pip install -U \
${PIP_EXTRA_FLAG} torch torchvision torchaudio \
--index-url=${TORCH_URL}
pip install -e . -U \
-r requirements/test.txt \
--find-links=${TORCH_URL} ${PIP_EXTRA_FLAG}
${PIP_EXTRA_FLAG} -r requirements/test.txt
pip list
shell: bash

Expand Down

0 comments on commit 7912102

Please sign in to comment.