Skip to content

Commit

Permalink
migrate to findlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnv1 committed Apr 14, 2024
1 parent 37c4e27 commit b88cd04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ runs:
shell: bash
run: |
if [ "$RUNNER_OS" == "Linux" ] || [ "$RUNNER_OS" == "Windows" ]; then
uv pip install --system torch==${{ inputs.pytorch-version }}+cpu ${{ inputs.extra-deps }} --extra-index-url https://download.pytorch.org/whl/cpu
uv pip install --system torch==${{ inputs.pytorch-version }}+cpu ${{ inputs.extra-deps }} --find-links https://download.pytorch.org/whl/torch_stable.html
else
uv pip install --system torch==${{ inputs.pytorch-version }} ${{ inputs.extra-deps }} --extra-index-url https://download.pytorch.org/whl/cpu
uv pip install --system torch==${{ inputs.pytorch-version }} ${{ inputs.extra-deps }} --find-links https://download.pytorch.org/whl/torch_stable.html
fi
- if: ${{ contains(fromJson('["1.9.1"]'), inputs.pytorch-version) }}
Expand Down

0 comments on commit b88cd04

Please sign in to comment.