Skip to content

Commit 8ef6b70

Browse files
committed
--extra-index-url
1 parent 87c2ec9 commit 8ef6b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.lightning/workflows/fabric.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ run: |
9191
fi
9292
9393
# install the base so we can adjust other packages
94-
uv pip install . --find-links="${TORCH_URL}"
94+
uv pip install . --extra-index-url="${TORCH_URL}"
9595
echo "Adjust torch versions in requirements files"
9696
PYTORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])")
9797
uv pip install wget packaging
@@ -112,7 +112,7 @@ run: |
112112
fi
113113
114114
extra=$(python -c "print({'lightning': 'fabric-'}.get('$(PACKAGE_NAME)', ''))")
115-
uv pip install ".[${extra}dev]" --upgrade --find-links="${TORCH_URL}"
115+
uv pip install ".[${extra}dev]" --upgrade --extra-index-url="${TORCH_URL}"
116116
117117
python requirements/collect_env_details.py
118118
python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu >= 2, f'GPU: {mgpu}'"

0 commit comments

Comments
 (0)