Skip to content

chore: update supported PyTorch versions to 2.15 and 2.14 - #960

Closed
deependujha wants to merge 4 commits into
Lightning-AI:mainfrom
deependujha:bump-supported-torch-version
Closed

deependujha wants to merge 4 commits into
Lightning-AI:mainfrom
deependujha:bump-supported-torch-version

Conversation

@deependujha

@deependujha deependujha commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Note

Stacked on #962 (retire Python 3.10 support). PyTorch 2.15 ships no Python 3.10 wheels, so the 3.10 CI jobs fail without it. Until #962 merges, this diff includes its commit; review only 4f34f92 (.github/torch-support.json, README.md).

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

Fixes #959

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@codecov-commenter

codecov-commenter commented Nov 3, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 82%. Comparing base (c6f075c) to head (49c10c2).
⚠️ Report is 2 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #960   +/-   ##
=====================================
  Coverage     82%     82%           
=====================================
  Files         72      72           
  Lines      16445   16445           
=====================================
  Hits       13505   13505           
  Misses      2940    2940           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Python 3.10 reached end of life in October 2026, and PyTorch 2.15 no longer ships
3.10 wheels. Raise `python_requires` to >=3.11, move CI jobs and the ruff target to
3.11, and apply the pyupgrade fixes the new target enables (`datetime.UTC`,
builtin `TimeoutError`, `StrEnum`).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@deependujha

Copy link
Copy Markdown
Collaborator Author

superseded by #963

@deependujha deependujha closed this Nov 3, 2026
@deependujha
deependujha deleted the bump-supported-torch-version branch November 3, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update PyTorch support to 2.15

2 participants