From b88cd04344c85fc98d333649c4020a6c66878a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Gustavo=20A=2E=20Amorim?= Date: Sun, 14 Apr 2024 17:58:06 -0300 Subject: [PATCH] migrate to findlinks --- .github/actions/env/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/env/action.yml b/.github/actions/env/action.yml index 153f66d..86a7856 100644 --- a/.github/actions/env/action.yml +++ b/.github/actions/env/action.yml @@ -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) }}