Skip to content

Commit 764ee99

Browse files
fix: use --extra-index-url for PyTorch CUDA wheels in Docker requirements
--find-links does not act as a package index, so pip resolved torch to the CPU-only PyPI version and failed to find torch==2.6.0+cu126. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 45dc74e commit 764ee99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ langchain-core>=0.1.0,<1.0.0
1313

1414
# PyTorch with CUDA support (pinned for GPU compatibility)
1515
# Using --find-links avoids dependency confusion risk of --extra-index-url
16-
--find-links https://download.pytorch.org/whl/cu126
16+
--extra-index-url https://download.pytorch.org/whl/cu126
1717
torch==2.6.0+cu126

0 commit comments

Comments
 (0)