Skip to content

Commit 2aa00ad

Browse files
authored
Merge branch 'master' into feat/ModelCheckpointException
2 parents 0dc9f24 + 3138305 commit 2aa00ad

File tree

9 files changed

+43
-25
lines changed

9 files changed

+43
-25
lines changed

.github/workflows/_legacy-checkpoints.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,11 @@ jobs:
149149
title: Adding test for legacy checkpoint created with ${{ env.PL_VERSION }}
150150
committer: GitHub <[email protected]>
151151
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
152-
commit-message: "adding `${{ env.PL_VERSION }}` checkpoint"
153-
body: "**This is automated addition of created checkpoints with the latest `lightning` release!**"
152+
body: "**This is automated addition of created checkpoint with the latest `${{ env.PL_VERSION }}` `lightning` release!**"
154153
delete-branch: true
155154
token: ${{ secrets.PAT_GHOST }}
156155
labels: |
157156
checkpointing
158157
tests
159158
pl
160159
assignees: borda
161-
reviewers: borda

.github/workflows/docs-tutorials.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
5656
token: ${{ secrets.PAT_GHOST }}
5757
add-paths: _notebooks
58-
commit-message: "update tutorials to `${{ env.SHA_LATEST }}`"
5958
branch: "docs/update-tutorials"
6059
# Delete the branch when closing pull requests, and when undeleted after merging.
6160
delete-branch: true
@@ -72,4 +71,3 @@ jobs:
7271
docs
7372
examples
7473
assignees: borda
75-
reviewers: borda

.github/workflows/tpu-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
gcloud compute tpus tpu-vm list
166166
167167
- name: Upload coverage to Codecov
168-
uses: codecov/codecov-action@v4
168+
uses: codecov/codecov-action@v5
169169
continue-on-error: true
170170
with:
171171
token: ${{ secrets.CODECOV_TOKEN }}

requirements/doctests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pytest ==8.4.0
1+
pytest ==8.4.1
22
pytest-doctestplus ==1.4.0

requirements/fabric/test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
coverage ==7.9.1
22
numpy >=1.17.2, <1.27.0
3-
pytest ==8.4.0
3+
pytest ==8.4.1
44
pytest-cov ==6.2.1
55
pytest-timeout ==2.4.0
66
pytest-rerunfailures ==15.1
7-
pytest-random-order ==1.1.1
7+
pytest-random-order ==1.2.0
88
click ==8.1.8
99
tensorboardX >=2.2, <2.7.0 # min version is set by torch.onnx missing attribute

requirements/pytorch/test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
coverage ==7.9.1
2-
pytest ==8.4.0
2+
pytest ==8.4.1
33
pytest-cov ==6.2.1
44
pytest-timeout ==2.4.0
55
pytest-rerunfailures ==15.1
6-
pytest-random-order ==1.1.1
6+
pytest-random-order ==1.2.0
77

88
# needed in tests
99
cloudpickle >=1.3, <3.2.0

requirements/typing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mypy==1.16.0
1+
mypy==1.16.1
22
torch==2.7.1
33

44
types-Markdown

src/lightning/fabric/CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,26 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
1919

2020
---
2121

22+
## [2.5.2] - 2025-3-20
23+
24+
### Changed
25+
26+
- Ensure correct device is used for autocast when mps is selected as Fabric accelerator ([#20876](https://github.com/Lightning-AI/pytorch-lightning/pull/20876))
27+
28+
### Fixed
29+
30+
- Fix: `TransformerEnginePrecision` conversion for layers with `bias=False` ([#20805](https://github.com/Lightning-AI/pytorch-lightning/pull/20805))
31+
32+
2233
## [2.5.1] - 2025-03-18
2334

2435
### Changed
2536

26-
- Added logging support for list of dicts without collapsing to a single key ([#19957](https://github.com/Lightning-AI/pytorch-lightning/issues/19957))
37+
- Added logging support for list of dicts without collapsing to a single key ([#19957](https://github.com/Lightning-AI/pytorch-lightning/pull/19957))
2738

2839
### Removed
2940

30-
- Removed legacy support for `lightning run model`. Use `fabric run` instead. ([#20588](https://github.com/Lightning-AI/pytorch-lightning/pull/20588))
41+
- Removed legacy support for `lightning run model`; use `fabric run` instead ([#20588](https://github.com/Lightning-AI/pytorch-lightning/pull/20588))
3142

3243

3344
## [2.5.0] - 2024-12-19

src/lightning/pytorch/CHANGELOG.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,41 +4,52 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66

7+
---
78

89
## [unreleased] - YYYY-MM-DD
910

1011
### Added
1112

12-
- Add enable_autolog_hparams argument to Trainer ([#20593](https://github.com/Lightning-AI/pytorch-lightning/pull/20593))
13-
14-
15-
- Add `toggled_optimizer(optimizer)` method to the LightningModule, which is a context manager version of `toggle_optimize` and `untoggle_optimizer` ([#20771](https://github.com/Lightning-AI/pytorch-lightning/pull/20771))
16-
17-
18-
- For cross-device local checkpoints, instruct users to install `fsspec>=2025.5.0` if unavailable ([#20780](https://github.com/Lightning-AI/pytorch-lightning/pull/20780))
13+
-
1914

2015

2116
### Changed
2217

2318
-
2419

20+
2521
### Removed
2622

2723
-
2824

2925

3026
### Fixed
3127

32-
- Fixed `save_hyperparameters` not working correctly with `LightningCLI` when there are parsing links applied on instantiation ([#20777](https://github.com/Lightning-AI/pytorch-lightning/pull/20777))
28+
-
29+
3330

31+
---
3432

35-
- Fixed logger_connector has edge case where step can be a float ([#20692](https://github.com/Lightning-AI/pytorch-lightning/pull/20692))
33+
## [2.5.2] - 2025-06-20
34+
35+
### Changed
3636

37+
- Add `enable_autolog_hparams` argument to Trainer ([#20593](https://github.com/Lightning-AI/pytorch-lightning/pull/20593))
38+
- Add `toggled_optimizer(optimizer)` method to the LightningModule, which is a context manager version of `toggle_optimize` and `untoggle_optimizer` ([#20771](https://github.com/Lightning-AI/pytorch-lightning/pull/20771))
39+
- For cross-device local checkpoints, instruct users to install `fsspec>=2025.5.0` if unavailable ([#20780](https://github.com/Lightning-AI/pytorch-lightning/pull/20780))
40+
- Check param is of `nn.Parameter` type for pruning sanitization ([#20783](https://github.com/Lightning-AI/pytorch-lightning/pull/20783))
3741

38-
- Fix: Synchronize SIGTERM Handling in DDP to Prevent Deadlocks ([#20825](https://github.com/Lightning-AI/pytorch-lightning/pull/20825))
42+
### Fixed
3943

44+
- Fixed `save_hyperparameters` not working correctly with `LightningCLI` when there are parsing links applied on instantiation ([#20777](https://github.com/Lightning-AI/pytorch-lightning/pull/20777))
45+
- Fixed `logger_connector` has an edge case where step can be a float ([#20692](https://github.com/Lightning-AI/pytorch-lightning/pull/20692))
46+
- Fixed Synchronize SIGTERM Handling in DDP to Prevent Deadlocks ([#20825](https://github.com/Lightning-AI/pytorch-lightning/pull/20825))
47+
- Fixed case-sensitive model name ([#20661](https://github.com/Lightning-AI/pytorch-lightning/pull/20661))
48+
- CLI: resolve jsonargparse deprecation warning ([#20802](https://github.com/Lightning-AI/pytorch-lightning/pull/20802))
49+
- Fix: move `check_inputs` to the target device if available during `to_torchscript` ([#20873](https://github.com/Lightning-AI/pytorch-lightning/pull/20873))
50+
- Fixed progress bar display to correctly handle iterable dataset and `max_steps` during training ([#20869](https://github.com/Lightning-AI/pytorch-lightning/pull/20869))
51+
- Fixed problem for silently supporting `jsonnet` ([#20899](https://github.com/Lightning-AI/pytorch-lightning/pull/20899))
4052

41-
---
4253

4354
## [2.5.1] - 2025-03-18
4455

0 commit comments

Comments
 (0)