Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 18, 2025

Bumps torch from 2.5.1 to 2.6.0.

Release notes

Sourced from torch's releases.

PyTorch 2.6.0 Release

  • Highlights
  • Tracked Regressions
  • Backwards Incompatible Change
  • Deprecations
  • New Features
  • Improvements
  • Bug fixes
  • Performance
  • Documentation
  • Developers

Highlights

We are excited to announce the release of PyTorch® 2.6 (release notes)! This release features multiple improvements for PT2: torch.compile can now be used with Python 3.13; new performance-related knob torch.compiler.set_stance; several AOTInductor enhancements. Besides the PT2 improvements, another highlight is FP16 support on X86 CPUs.

NOTE: Starting with this release we are not going to publish on Conda, please see [Announcement] Deprecating PyTorch’s official Anaconda channel for the details.

For this release the experimental Linux binaries shipped with CUDA 12.6.3 (as well as Linux Aarch64, Linux ROCm 6.2.4, and Linux XPU binaries) are built with CXX11_ABI=1 and are using the Manylinux 2.28 build platform. If you build PyTorch extensions with custom C++ or CUDA extensions, please update these builds to use CXX_ABI=1 as well and report any issues you are seeing. For the next PyTorch 2.7 release we plan to switch all Linux builds to Manylinux 2.28 and CXX11_ABI=1, please see [RFC] PyTorch next wheel build platform: manylinux-2.28 for the details and discussion.

Also in this release as an important security improvement measure we have changed the default value for weights_only parameter of torch.load. This is a backward compatibility-breaking change, please see this forum post for more details.

This release is composed of 3892 commits from 520 contributors since PyTorch 2.5. We want to sincerely thank our dedicated community for your contributions. As always, we encourage you to try these out and report any issues as we improve PyTorch. More information about how to get started with the PyTorch 2-series can be found at our Getting Started page.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

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

cc @Borda @lantiga @justusschock

@dependabot dependabot bot requested a review from a team April 18, 2025 18:19
@dependabot dependabot bot added the ci Continuous Integration label Apr 18, 2025
@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 18, 2025
@dependabot dependabot bot force-pushed the dependabot-pip-requirements-torch-2.6.0 branch 2 times, most recently from 50ba703 to b1d2be0 Compare April 22, 2025 09:59
@Borda
Copy link
Collaborator

Borda commented Apr 22, 2025

@dependabot rebase

Bumps [torch](https://github.com/pytorch/pytorch) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](pytorch/pytorch@v2.5.1...v2.6.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-version: 2.6.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot-pip-requirements-torch-2.6.0 branch from b1d2be0 to f2a61dc Compare April 22, 2025 13:13
…>=0.16.0,<0.22.0 in /requirements (#20736)

build(deps): update torchvision requirement in /requirements

Updates the requirements on [torchvision](https://github.com/pytorch/vision) to permit the latest version.
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](pytorch/vision@v0.16.0...v0.21.0)

---
updated-dependencies:
- dependency-name: torchvision
  dependency-version: 0.21.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Apr 22, 2025

⚡ 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 requirements/fabric/base.txt, requirements/fabric/examples.txt, src/lightning/fabric/plugins/collectives/torch_collective.py, src/lightning/fabric/strategies/xla_fsdp.py, src/lightning/fabric/utilities/init.py, requirements/pytorch/base.txt, requirements/pytorch/examples.txt, src/lightning/pytorch/callbacks/finetuning.py, src/lightning/pytorch/callbacks/throughput_monitor.py, src/lightning/pytorch/overrides/distributed.py, src/lightning/pytorch/plugins/precision/double.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 requirements/pytorch/base.txt, requirements/pytorch/examples.txt, src/lightning/pytorch/callbacks/finetuning.py, src/lightning/pytorch/callbacks/throughput_monitor.py, src/lightning/pytorch/overrides/distributed.py, src/lightning/pytorch/plugins/precision/double.py, requirements/fabric/base.txt, requirements/fabric/examples.txt, src/lightning/fabric/plugins/collectives/torch_collective.py, src/lightning/fabric/strategies/xla_fsdp.py, src/lightning/fabric/utilities/init.py.

🟢 pytorch_lightning: Benchmarks
Check ID Status
lightning.Benchmarks success

These checks are required after the changes to requirements/fabric/base.txt, requirements/fabric/examples.txt, requirements/pytorch/base.txt, requirements/pytorch/examples.txt, src/lightning/fabric/plugins/collectives/torch_collective.py, src/lightning/fabric/strategies/xla_fsdp.py, src/lightning/fabric/utilities/init.py, src/lightning/pytorch/callbacks/finetuning.py, src/lightning/pytorch/callbacks/throughput_monitor.py, src/lightning/pytorch/overrides/distributed.py, src/lightning/pytorch/plugins/precision/double.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/collectives/torch_collective.py, src/lightning/fabric/strategies/xla_fsdp.py, src/lightning/fabric/utilities/init.py, requirements/fabric/base.txt, requirements/fabric/examples.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 src/lightning/pytorch/callbacks/finetuning.py, src/lightning/pytorch/callbacks/throughput_monitor.py, src/lightning/pytorch/overrides/distributed.py, src/lightning/pytorch/plugins/precision/double.py, requirements/pytorch/base.txt, requirements/pytorch/examples.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-cuda (3.12, 2.6.0, 12.4.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) success
build-pl (3.12, 2.6, 12.4.1, true) success

These checks are required after the changes to requirements/pytorch/base.txt, requirements/pytorch/examples.txt, requirements/fabric/base.txt, requirements/fabric/examples.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/examples.txt, src/lightning/fabric/plugins/collectives/torch_collective.py, src/lightning/fabric/strategies/xla_fsdp.py, src/lightning/fabric/utilities/init.py.

🟢 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 requirements/fabric/base.txt, requirements/fabric/examples.txt, src/lightning/fabric/plugins/collectives/torch_collective.py, src/lightning/fabric/strategies/xla_fsdp.py, src/lightning/fabric/utilities/init.py.

🟢 mypy
Check ID Status
mypy success

These checks are required after the changes to requirements/fabric/base.txt, requirements/fabric/examples.txt, requirements/pytorch/base.txt, requirements/pytorch/examples.txt, requirements/typing.txt, src/lightning/fabric/plugins/collectives/torch_collective.py, src/lightning/fabric/strategies/xla_fsdp.py, src/lightning/fabric/utilities/init.py, src/lightning/pytorch/callbacks/finetuning.py, src/lightning/pytorch/callbacks/throughput_monitor.py, src/lightning/pytorch/overrides/distributed.py, src/lightning/pytorch/plugins/precision/double.py.

🟢 install
Check ID Status
install-pkg-guardian success

These checks are required after the changes to src/lightning/fabric/plugins/collectives/torch_collective.py, src/lightning/fabric/strategies/xla_fsdp.py, src/lightning/fabric/utilities/init.py, src/lightning/pytorch/callbacks/finetuning.py, src/lightning/pytorch/callbacks/throughput_monitor.py, src/lightning/pytorch/overrides/distributed.py, src/lightning/pytorch/plugins/precision/double.py, requirements/fabric/base.txt, requirements/fabric/examples.txt, requirements/pytorch/base.txt, requirements/pytorch/examples.txt, requirements/typing.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.

@Borda Borda changed the title build(deps): bump torch from 2.5.1 to 2.6.0 in /requirements build(deps): bump torch from 2.5.1 to 2.6.0 & torchvision from <0.21.0,>=0.16.0 to >=0.16.0,<0.22.0 in /requirements Apr 22, 2025
@codecov
Copy link

codecov bot commented Apr 22, 2025

Codecov Report

Attention: Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.

Project coverage is 87%. Comparing base (156aad1) to head (e610b0f).
Report is 130 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #20728   +/-   ##
=======================================
- Coverage      87%      87%   -0%     
=======================================
  Files         268      268           
  Lines       23450    23453    +3     
=======================================
+ Hits        20390    20392    +2     
- Misses       3060     3061    +1     

@mergify mergify bot added the ready PRs ready to be merged label Apr 22, 2025
@Borda Borda force-pushed the dependabot-pip-requirements-torch-2.6.0 branch from ddd4c51 to e4532fe Compare April 22, 2025 16:41
@Borda Borda force-pushed the dependabot-pip-requirements-torch-2.6.0 branch from 2497522 to 30da1d2 Compare April 22, 2025 17:29
@Borda Borda merged commit 0c9d414 into master Apr 23, 2025
129 checks passed
@Borda Borda deleted the dependabot-pip-requirements-torch-2.6.0 branch April 23, 2025 09:28
Borda added a commit that referenced this pull request Jun 19, 2025
….21.0,>=0.16.0 to >=0.16.0,<0.22.0 in /requirements (#20728)

* build(deps): bump torch from 2.5.1 to 2.6.0 in /requirements

Bumps [torch](https://github.com/pytorch/pytorch) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](pytorch/pytorch@v2.5.1...v2.6.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-version: 2.6.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* build(deps): update torchvision requirement from <0.21.0,>=0.16.0 to >=0.16.0,<0.22.0 in /requirements (#20736)

build(deps): update torchvision requirement in /requirements

Updates the requirements on [torchvision](https://github.com/pytorch/vision) to permit the latest version.
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](pytorch/vision@v0.16.0...v0.21.0)

---
updated-dependencies:
- dependency-name: torchvision
  dependency-version: 0.21.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* # type: ignore[arg-type]
* type: ignore[arg-type]

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jirka B <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit 0c9d414)
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 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.

2 participants