Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump pytorch-lightning from 2.3.3 to 2.4.0 (#596)
Bumps [pytorch-lightning](https://github.com/Lightning-AI/lightning) from 2.3.3 to 2.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Lightning-AI/lightning/releases">pytorch-lightning's releases</a>.</em></p> <blockquote> <h2>Lightning v2.4</h2> <p><a href="https://lightning.ai">Lightning AI</a> ⚡ is excited to announce the release of Lightning 2.4. This is mainly a compatibility upgrade for PyTorch 2.4 and Python 3.12, with a sprinkle of a few features and bug fixes.</p> <p><strong>Did you know?</strong> The Lightning philosophy extends beyond a boilerplate-free deep learning framework: We've been hard at work bringing you <a href="https://lightning.ai/">Lightning Studio</a>. Code together, prototype, train, deploy, host AI web apps. All from your browser, with zero setup.</p> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h1>Changes</h1> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h2>PyTorch Lightning</h2> <!-- raw HTML omitted --> <ul> <li>Made saving non-distributed checkpoints fully atomic (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/pull/20011">#20011</a>)</li> <li>Added <code>dump_stats</code> flag to <code>AdvancedProfiler</code> (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/issues/19703">#19703</a>)</li> <li>Added a flag <code>verbose</code> to the <code>seed_everything()</code> function (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/pull/20108">#20108</a>)</li> <li>Added support for PyTorch 2.4 (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/pull/20010">#20010</a>)</li> <li>Added support for Python 3.12 (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/pull/20078">20078</a>)</li> <li>The <code>TQDMProgressBar</code> now provides an option to retain prior training epoch bars (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/pull/19578">#19578</a>)</li> <li>Added the count of modules in train and eval mode to the printed <code>ModelSummary</code> table (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/pull/20159">#20159</a>)</li> </ul> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <ul> <li>Triggering KeyboardInterrupt (Ctrl+C) during <code>.fit()</code>, <code>.evaluate()</code>, <code>.test()</code> or <code>.predict()</code> now terminates all processes launched by the Trainer and exits the program (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/pull/19976">#19976</a>)</li> <li>Changed the implementation of how seeds are chosen for dataloader workers when using <code>seed_everything(..., workers=True)</code> (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/pull/20055">#20055</a>)</li> <li>NumPy is no longer a required dependency (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/issues/20090">#20090</a>)</li> </ul> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <ul> <li>Removed support for PyTorch 2.1 (<a href="https://redirect.github.com/Lightning-AI/lightning/pull/20009">#20009</a>)</li> <li>Removed support for Python 3.8 (<a href="https://redirect.github.com/Lightning-AI/lightning/pull/20071">#20071</a>)</li> </ul> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <ul> <li>Avoid LightningCLI saving hyperparameters with <code>class_path</code> and <code>init_args</code> since this would be a breaking change (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/pull/20068">#20068</a>)</li> <li>Fixed an issue that would cause too many printouts of the seed info when using <code>seed_everything()</code> (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/pull/20108">#20108</a>)</li> <li>Fixed <code>_LoggerConnector</code>'s <code>_ResultMetric</code> to move all registered keys to the device of the logged value if needed (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/issues/19814">#19814</a>)</li> <li>Fixed <code>_optimizer_to_device</code> logic for special 'step' key in optimizer state causing performance regression (<a href="https://redirect.github.com/Lightning-AI/lightning/pull/20019">#20019</a>)</li> <li>Fixed parameter counts in <code>ModelSummary</code> when model has distributed parameters (DTensor) (<a href="https://redirect.github.com/Lightning-AI/pytorch-lightning/pull/20163">#20163</a>)</li> </ul> <!-- raw HTML omitted --> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h2>Lightning Fabric</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Lightning-AI/pytorch-lightning/commit/2129fdf3622e39ba46be4e1139af408e7e951cf3"><code>2129fdf</code></a> fix(ci): resolve input str -> num conversion (<a href="https://redirect.github.com/Lightning-AI/lightning/issues/20169">#20169</a>)</li> <li><a href="https://github.com/Lightning-AI/pytorch-lightning/commit/cf24a190ce52d65ae7316fceec584145f1e1f006"><code>cf24a19</code></a> fix(docs): remove dead link from readme (<a href="https://redirect.github.com/Lightning-AI/lightning/issues/20170">#20170</a>)</li> <li><a href="https://github.com/Lightning-AI/pytorch-lightning/commit/a3e60ad420e4b1a31ec64c98fdc774b5549f0947"><code>a3e60ad</code></a> ci/docs: disable optional cache pkg (<a href="https://redirect.github.com/Lightning-AI/lightning/issues/20168">#20168</a>)</li> <li><a href="https://github.com/Lightning-AI/pytorch-lightning/commit/87ffd8ce7c70f69e1744f882cc06a38ebf7e8ddf"><code>87ffd8c</code></a> ci: fix cleaning caches (<a href="https://redirect.github.com/Lightning-AI/lightning/issues/20167">#20167</a>)</li> <li><a href="https://github.com/Lightning-AI/pytorch-lightning/commit/b3ee85d3a374a62b0ec732c68293abb512ce97bb"><code>b3ee85d</code></a> Prepare Lightning 2.4.0 release (<a href="https://redirect.github.com/Lightning-AI/lightning/issues/20154">#20154</a>)</li> <li><a href="https://github.com/Lightning-AI/pytorch-lightning/commit/631911c00413ad028e2887d83eb264cb4822097e"><code>631911c</code></a> Add special logic for 'step' in _optimizer_to_device (<a href="https://redirect.github.com/Lightning-AI/lightning/issues/20019">#20019</a>)</li> <li><a href="https://github.com/Lightning-AI/pytorch-lightning/commit/345450b0c3a3828c675488c6d41dd8bddb3dd008"><code>345450b</code></a> Fix parameter count in ModelSummary when parameters are DTensors (<a href="https://redirect.github.com/Lightning-AI/lightning/issues/20163">#20163</a>)</li> <li><a href="https://github.com/Lightning-AI/pytorch-lightning/commit/3de60f4b9fe8a7ceed3966387b7f550969f34659"><code>3de60f4</code></a> docs: fix typo in <code>linkcheck_ignore</code> (<a href="https://redirect.github.com/Lightning-AI/lightning/issues/20164">#20164</a>)</li> <li><a href="https://github.com/Lightning-AI/pytorch-lightning/commit/e9d4ef8b4ef04f6fdfde489cf9351da7cd9052bd"><code>e9d4ef8</code></a> Add diffusion example to README (<a href="https://redirect.github.com/Lightning-AI/lightning/issues/20161">#20161</a>)</li> <li><a href="https://github.com/Lightning-AI/pytorch-lightning/commit/d4de8e20e91fe8a9b68fe21f0f30df85cbfc6d45"><code>d4de8e2</code></a> Count number of modules in train/eval mode in ModelSummary (<a href="https://redirect.github.com/Lightning-AI/lightning/issues/20159">#20159</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Lightning-AI/lightning/compare/2.3.3...2.4.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytorch-lightning&package-manager=pip&previous-version=2.3.3&new-version=2.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
- Loading branch information