Skip to content

Commit a1bfa06

Browse files
committed
ci: use find-links instead. works on my computer...
1 parent 4f3c615 commit a1bfa06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci-tests-pytorch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
pip install ".[${EXTRA_PREFIX}extra,${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]" \
140140
-U --upgrade-strategy=eager --prefer-binary \
141141
-r requirements/_integrations/accelerators.txt \
142-
--extra-index-url="${TORCH_URL}" --find-links="${PYPI_CACHE_DIR}" --extra-index-url="https://download.pytorch.org/whl/torch-tensorrt"
142+
--extra-index-url="${TORCH_URL}" --find-links="${PYPI_CACHE_DIR}"
143143
pip list
144144
- name: Drop LAI from extensions
145145
if: ${{ matrix.pkg-name != 'lightning' }}

requirements/pytorch/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ uvicorn # for `ServableModuleValidator` # not setting version as re-defined in
1919

2020
tensorboard >=2.9.1, <2.21.0 # for `TensorBoardLogger`
2121

22-
--extra-index-url https://download.pytorch.org/whl/torch-tensorrt
22+
--find-links https://download.pytorch.org/whl/torch-tensorrt
2323
torch-tensorrt; platform_system == "Linux" and python_version >= "3.12"

0 commit comments

Comments
 (0)