Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump: testing with latest torch 2.6 #20509

Merged
merged 63 commits into from
Mar 11, 2025
Merged

bump: testing with latest torch 2.6 #20509

merged 63 commits into from
Mar 11, 2025

Conversation

Borda
Copy link
Member

@Borda Borda commented Dec 19, 2024

What does this PR do?

early visibility for potential breaking changes with next PT release

Before submitting
  • Was this discussed/agreed via a GitHub issue? (not for typos and docs)
  • 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 make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you list all the breaking changes introduced by this pull request?
  • Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review

Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

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--20509.org.readthedocs.build/en/20509/

cc @Borda @lantiga @justusschock

@github-actions github-actions bot added ci Continuous Integration dockers labels Dec 19, 2024
Copy link
Contributor

github-actions bot commented Dec 19, 2024

⚡ Required checks status: All passing 🟢

Groups summary

🟢 pytorch_lightning: Tests workflow
Check ID Status
pl-cpu-guardian success

These checks are required after the changes to .github/workflows/ci-tests-pytorch.yml, requirements/fabric/base.txt, requirements/fabric/strategies.txt, src/lightning/fabric/plugins/precision/bitsandbytes.py, src/lightning/fabric/utilities/imports.py, requirements/pytorch/base.txt, requirements/pytorch/extra.txt, tests/tests_pytorch/conftest.py, tests/tests_pytorch/models/test_onnx.py, tests/tests_pytorch/plugins/precision/test_bitsandbytes.py.

🟢 pytorch_lightning: Azure GPU
Check ID Status
pytorch-lightning (GPUs) (testing Lightning | latest) success
pytorch-lightning (GPUs) (testing PyTorch | latest) success

These checks are required after the changes to .azure/gpu-tests-pytorch.yml, requirements/pytorch/base.txt, requirements/pytorch/extra.txt, tests/tests_pytorch/conftest.py, tests/tests_pytorch/models/test_onnx.py, tests/tests_pytorch/plugins/precision/test_bitsandbytes.py, tests/run_standalone_tests.sh, requirements/fabric/base.txt, requirements/fabric/strategies.txt, src/lightning/fabric/plugins/precision/bitsandbytes.py, src/lightning/fabric/utilities/imports.py.

🟢 pytorch_lightning: Benchmarks
Check ID Status
lightning.Benchmarks success

These checks are required after the changes to requirements/fabric/base.txt, requirements/fabric/strategies.txt, requirements/pytorch/base.txt, requirements/pytorch/extra.txt, src/lightning/fabric/plugins/precision/bitsandbytes.py, src/lightning/fabric/utilities/imports.py.

🟢 fabric: Docs
Check ID Status
docs-make (fabric, doctest) success
docs-make (fabric, html) success

These checks are required after the changes to src/lightning/fabric/plugins/precision/bitsandbytes.py, src/lightning/fabric/utilities/imports.py, .github/workflows/docs-build.yml, requirements/fabric/base.txt, requirements/fabric/strategies.txt.

🟢 pytorch_lightning: Docs
Check ID Status
docs-make (pytorch, doctest) success
docs-make (pytorch, html) success

These checks are required after the changes to .github/workflows/docs-build.yml, requirements/pytorch/base.txt, requirements/pytorch/extra.txt.

🟢 pytorch_lightning: Docker
Check ID Status
build-cuda (3.10, 2.1.2, 12.1.1) success
build-cuda (3.11, 2.2.2, 12.1.1) success
build-cuda (3.11, 2.3.1, 12.1.1) success
build-cuda (3.11, 2.4.1, 12.1.1) success
build-cuda (3.12, 2.5.1, 12.1.1) success
build-pl (3.10, 2.1, 12.1.1) success
build-pl (3.11, 2.2, 12.1.1) success
build-pl (3.11, 2.3, 12.1.1) success
build-pl (3.11, 2.4, 12.1.1) success
build-pl (3.12, 2.5, 12.1.1, true) success

These checks are required after the changes to .github/workflows/docker-build.yml, dockers/base-cuda/Dockerfile, requirements/pytorch/base.txt, requirements/pytorch/extra.txt, requirements/fabric/base.txt, requirements/fabric/strategies.txt.

🟢 lightning_fabric: CPU workflow
Check ID Status
fabric-cpu-guardian success

These checks are required after the changes to requirements/fabric/base.txt, requirements/fabric/strategies.txt, src/lightning/fabric/plugins/precision/bitsandbytes.py, src/lightning/fabric/utilities/imports.py, tests/tests_fabric/plugins/precision/test_bitsandbytes.py, tests/tests_fabric/strategies/test_ddp_integration.py, tests/tests_fabric/strategies/test_fsdp_integration.py, .github/workflows/ci-tests-fabric.yml.

🟢 lightning_fabric: Azure GPU
Check ID Status
lightning-fabric (GPUs) (testing Fabric | latest) success
lightning-fabric (GPUs) (testing Lightning | latest) success

These checks are required after the changes to .azure/gpu-tests-fabric.yml, requirements/fabric/base.txt, requirements/fabric/strategies.txt, src/lightning/fabric/plugins/precision/bitsandbytes.py, src/lightning/fabric/utilities/imports.py, tests/tests_fabric/plugins/precision/test_bitsandbytes.py, tests/tests_fabric/strategies/test_ddp_integration.py, tests/tests_fabric/strategies/test_fsdp_integration.py, tests/run_standalone_tests.sh.

🟢 mypy
Check ID Status
mypy success

These checks are required after the changes to requirements/fabric/base.txt, requirements/fabric/strategies.txt, requirements/pytorch/base.txt, requirements/pytorch/extra.txt, src/lightning/fabric/plugins/precision/bitsandbytes.py, src/lightning/fabric/utilities/imports.py.

🟢 install
Check ID Status
install-pkg-guardian success

These checks are required after the changes to src/lightning/fabric/plugins/precision/bitsandbytes.py, src/lightning/fabric/utilities/imports.py, requirements/fabric/base.txt, requirements/fabric/strategies.txt, requirements/pytorch/base.txt, requirements/pytorch/extra.txt.


Thank you for your contribution! 💜

Note
This comment is automatically generated and updates for 60 minutes every 180 seconds. If you have any other questions, contact carmocca for help.

Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88%. Comparing base (02e2668) to head (eac0f94).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #20509   +/-   ##
=======================================
- Coverage      88%      88%   -0%     
=======================================
  Files         267      267           
  Lines       23372    23373    +1     
=======================================
  Hits        20483    20483           
- Misses       2889     2890    +1     
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@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 Dec 19, 2024
@github-actions github-actions bot added the docs Documentation related label Jan 7, 2025
@Borda
Copy link
Member Author

Borda commented Mar 11, 2025

Copy link
Collaborator

@lantiga lantiga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic job @Borda

Copy link
Contributor

@t-vi t-vi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you @Borda

@mergify mergify bot added the ready PRs ready to be merged label Mar 11, 2025
@Borda
Copy link
Member Author

Borda commented Mar 11, 2025

updating the required checks in #20635

@Borda Borda merged commit a0134d2 into master Mar 11, 2025
122 checks passed
@Borda Borda deleted the ci/bump-pt-2.6 branch March 11, 2025 13:56
Borda added a commit that referenced this pull request Mar 12, 2025
* bump: testing with future torch 2.6
* bump `typing-extensions`
* TORCHINDUCTOR_CACHE_DIR
* bitsandbytes
* Apply suggestions from code review
* _TORCH_LESS_EQUAL_2_6

---------

Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Luca Antiga <luca@lightning.ai>
(cherry picked from commit a0134d2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration dependencies Pull requests that update a dependency file dockers docs Documentation related fabric lightning.fabric.Fabric pl Generic label for PyTorch Lightning package ready PRs ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants