We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16fa923 commit 8748445Copy full SHA for 8748445
.lightning/workflows/pytorch.yml
@@ -121,7 +121,10 @@ run: |
121
122
echo "Install package"
123
extra=$(python -c "print({'lightning': 'pytorch-'}.get('${PACKAGE_NAME}', ''))")
124
- uv pip install -e ".[${extra}dev]" --upgrade --extra-index-url https://download.pytorch.org/whl/cu${CUDA_VERSION_MM}
+
125
+ # Use find-links to prefer CUDA-specific packages from PyTorch index
126
+ uv pip install -e ".[${extra}dev]" --upgrade \
127
+ --find-links https://download.pytorch.org/whl/cu${CUDA_VERSION_MM}
128
129
echo "Ensure only a single package is installed"
130
if [ "${PACKAGE_NAME}" == "pytorch" ]; then
0 commit comments