Skip to content

Bump torch, torchvision, torchaudio, and torch-tensorrt to latest versions#21680

Draft
bhimrazy wants to merge 1 commit intoLightning-AI:masterfrom
bhimrazy:bump-torch-2.11
Draft

Bump torch, torchvision, torchaudio, and torch-tensorrt to latest versions#21680
bhimrazy wants to merge 1 commit intoLightning-AI:masterfrom
bhimrazy:bump-torch-2.11

Conversation

@bhimrazy
Copy link
Copy Markdown
Collaborator

@bhimrazy bhimrazy commented Apr 20, 2026

What does this PR do?

This PR updates the pinned versions and upper bounds for PyTorch and its related dependencies to their latest compatible versions to stay in sync. Specifically:

  • torch bounds increased to <2.12.0 (and 2.11.0 in typing.txt)
  • torchvision bounds increased to <0.28.0
  • torchaudio updated to the latest equivalent version
  • torch-tensorrt bounded to >=2.1.0, <2.12.0 appropriately (specifically for GPU tests in requirements/pytorch/test_gpu.txt)
  • Pinned torch-tensorrt==2.11.0 in typing.txt to sync with PyTorch.
Before submitting
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you verify new and existing tests pass locally with your changes?

PR review

Anyone in the community is welcome to review the PR.

Reviewer checklist
  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified

📚 Documentation preview 📚: https://pytorch-lightning--21680.org.readthedocs.build/en/21680/

@github-actions github-actions Bot added fabric lightning.fabric.Fabric pl Generic label for PyTorch Lightning package dependencies Pull requests that update a dependency file labels Apr 20, 2026
@bhimrazy
Copy link
Copy Markdown
Collaborator Author

requires #21679

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file fabric lightning.fabric.Fabric pl Generic label for PyTorch Lightning package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant