Update torch and torchvision package versions for CUDA 13.x#6297
Update torch and torchvision package versions for CUDA 13.x#6297JanuszL merged 3 commits intoNVIDIA:mainfrom
Conversation
- torch: 2.8.0+cu128 (CUDA 120), 2.10.0+cu130 (CUDA 130) - torchvision: 0.23.0+cu128 (CUDA 120), 0.26.0+cu130 (CUDA 130) - Broadened extra_index URL to https://download.pytorch.org/whl/ to support both CUDA variants - Updated python_max_ver to 3.14 for CUDA 130 packages Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
Greptile SummaryThis PR updates the PyTorch and torchvision versions in the QA package setup for CUDA 13.x builds (torch One minor note: the PR description references "torch 2.10.0" in its justification for the Confidence Score: 5/5Safe to merge — this is a straightforward version-bump and config change with no logic alterations. All changes are additive configuration updates (version strings, index URL, Python version bounds). The explicit CUDA suffixes in version strings combined with the broader index URL is the correct approach for serving multi-CUDA-variant wheels. The only finding is a minor discrepancy in the PR description text (2.10.0 vs 2.11.0), which does not affect any code path. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[QA Setup: Select torch/torchvision] --> B{CUDA Version?}
B -- CUDA 12.x --> C["torch==2.7.1+cu128\n(Python 3.9-3.13)"]
B -- CUDA 13.x --> D["torch==2.11.0+cu130\n(Python 3.10-3.14)"]
C --> E["torchvision==0.22.1+cu128\n(Python 3.9-3.13)"]
D --> F["torchvision==0.26.0+cu130\n(Python 3.10-3.14)"]
E --> G["pip install --extra-index-url\nhttps://download.pytorch.org/whl/"]
F --> G
Reviews (2): Last reviewed commit: "Fix" | Re-trigger Greptile |
|
CI MESSAGE: [48509214]: BUILD STARTED |
|
CI MESSAGE: [48509223]: BUILD STARTED |
|
CI MESSAGE: [48664587]: BUILD STARTED |
|
CI MESSAGE: [48664598]: BUILD STARTED |
|
CI MESSAGE: [48664598]: BUILD FAILED |
|
CI MESSAGE: [48664587]: BUILD FAILED |
|
CI MESSAGE: [48664587]: BUILD PASSED |
|
CI MESSAGE: [48664598]: BUILD PASSED |
to support both CUDA variants
Category:
Other (Configuration)
Description:
Updates the torch and torchvision package versions used in QA setup to the latest available releases, and broadens the PyTorch extra index URL so it can serve packages for CUDA 13.x builds.
Additional information:
Affected modules and functionalities:
qa/setup_packages.py: Updated torch and torchvision versions and their extra index URL.extra_index:https://download.pytorch.org/whl/cu128/->https://download.pytorch.org/whl/(unified index for all CUDA variants)python_max_verto3.14for CUDA 13.x torch/torchvision packagesKey points relevant for the review:
+cu128,+cu130) correctly for both CUDA variants.python_max_verfor CUDA 13.x packages bumped to3.14to align with the new torch 2.10.0 support matrix.Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: N/A