Skip to content

Commit b3ee85d

Browse files
awaelchliBorda
andauthored
Prepare Lightning 2.4.0 release (#20154)
Co-authored-by: Jirka Borovec <[email protected]>
1 parent 631911c commit b3ee85d

File tree

6 files changed

+25
-52
lines changed

6 files changed

+25
-52
lines changed

.github/ISSUE_TEMPLATE/1_bug_report.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ body:
3232
description: select all version where you have experienced this issue
3333
multiple: true
3434
options:
35-
- "v1.8"
36-
- "v1.9"
37-
- "v2.0"
35+
- "v1.x"
3836
- "v2.1"
3937
- "v2.2"
38+
- "v2.3"
39+
- "v2.4"
4040
- "master"
4141
validations:
4242
required: true
@@ -91,9 +91,9 @@ body:
9191
<summary>Current environment</summary>
9292
9393
```
94-
#- PyTorch Lightning Version (e.g., 1.5.0):
95-
#- PyTorch Version (e.g., 2.0):
96-
#- Python version (e.g., 3.9):
94+
#- PyTorch Lightning Version (e.g., 2.4.0):
95+
#- PyTorch Version (e.g., 2.4):
96+
#- Python version (e.g., 3.12):
9797
#- OS (e.g., Linux):
9898
#- CUDA/cuDNN version:
9999
#- GPU models and configuration:

.github/advanced-issue-labeler.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ policy:
44
- section:
55
- id: ["versions"]
66
label:
7-
- name: "ver: 1.6.x"
8-
keys: ["v1_6", "v1.6", "1.6.x"]
9-
- name: "ver: 1.7.x"
10-
keys: ["v1_7", "v1.7", "1.7.x"]
11-
- name: "ver: 1.8.x"
12-
keys: ["v1_8", "v1.8", "1.8.x"]
13-
- name: "ver: 1.9.x"
14-
keys: ["v1_9", "v1.9", "1.9.x"]
7+
- name: "ver: 1.x"
8+
keys: ["v1_x", "v1.X", "1.x"]
159
- name: "ver: 2.0.x"
1610
keys: ["v2_0", "v2.0", "2.0.x"]
1711
- name: "ver: 2.1.x"
1812
keys: ["v2_1", "v2.1", "2.1.x"]
1913
- name: "ver: 2.2.x"
14+
keys: ["v2_2", "v2.2", "2.2.x"]
15+
- name: "ver: 2.3.x"
16+
keys: ["v2_3", "v2.3", "2.3.x"]
17+
- name: "ver: 2.4.x"
18+
keys: ["v2_4", "v2.4", "2.4.x"]
19+
- name: "ver: 2.4.x"
2020
keys: ["master"]

docs/source-pytorch/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,8 +630,10 @@ def package_list_from_file(file):
630630
# A timeout value, in seconds, for the linkcheck builder.
631631
linkcheck_timeout = 60
632632

633-
# ignore all links in any CHANGELOG file
634-
linkcheck_exclude_documents = [r"^(.*\/)*CHANGELOG.*$"]
633+
linkcheck_exclude_documents = [
634+
r"^(.*\/)*CHANGELOG.*$", # ignore all links in any CHANGELOG file
635+
r"notebooks/.*", # ignore notebooks, it's a submodule
636+
]
635637

636638
# ignore the following relative links (false positive errors during linkcheck)
637639
linkcheck_ignore = [

src/lightning/fabric/CHANGELOG.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,31 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66

77

8-
## [unreleased] - YYYY-MM-DD
8+
## [2.4.0] - 2024-08-06
99

1010
### Added
1111

1212
- Made saving non-distributed checkpoints fully atomic ([#20011](https://github.com/Lightning-AI/pytorch-lightning/pull/20011))
13-
1413
- Added a flag `verbose` to the `seed_everything()` function ([#20108](https://github.com/Lightning-AI/pytorch-lightning/pull/20108))
15-
14+
- Added support for PyTorch 2.4 ([#20028](https://github.com/Lightning-AI/pytorch-lightning/pull/20028))
15+
- Added support for Python 3.12 ([20078](https://github.com/Lightning-AI/pytorch-lightning/pull/20078))
1616

1717
### Changed
1818

1919
- Changed the implementation of how seeds are chosen for dataloader workers when using `seed_everything(..., workers=True)` ([#20055](https://github.com/Lightning-AI/pytorch-lightning/pull/20055))
20-
2120
- NumPy is no longer a required dependency ([#20090](https://github.com/Lightning-AI/pytorch-lightning/issues/20090))
2221

23-
### Deprecated
24-
25-
-
26-
27-
-
28-
2922
### Removed
3023

3124
- Removed support for PyTorch 2.1 ([#20009](https://github.com/Lightning-AI/lightning/pull/20009))
32-
33-
3425
- Removed support for Python 3.8 ([#20071](https://github.com/Lightning-AI/lightning/pull/20071))
3526

3627
### Fixed
3728

3829
- Fixed an attribute error when loading a checkpoint into a quantized model using the `_lazy_load()` function ([#20121](https://github.com/Lightning-AI/lightning/pull/20121))
39-
40-
4130
- Fixed `_optimizer_to_device` logic for special 'step' key in optimizer state causing performance regression ([#20019](https://github.com/Lightning-AI/lightning/pull/20019))
4231

4332

44-
4533
## [2.3.0] - 2024-06-13
4634

4735
### Added

src/lightning/pytorch/CHANGELOG.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,35 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66

77

8-
## [unreleased] - YYYY-MM-DD
8+
## [2.4.0] - 2024-08-06
99

1010
### Added
1111

1212
- Made saving non-distributed checkpoints fully atomic ([#20011](https://github.com/Lightning-AI/pytorch-lightning/pull/20011))
13-
1413
- Added `dump_stats` flag to `AdvancedProfiler` ([#19703](https://github.com/Lightning-AI/pytorch-lightning/issues/19703))
15-
1614
- Added a flag `verbose` to the `seed_everything()` function ([#20108](https://github.com/Lightning-AI/pytorch-lightning/pull/20108))
17-
15+
- Added support for PyTorch 2.4 ([#20010](https://github.com/Lightning-AI/pytorch-lightning/pull/20010))
16+
- Added support for Python 3.12 ([20078](https://github.com/Lightning-AI/pytorch-lightning/pull/20078))
1817
- The `TQDMProgressBar` now provides an option to retain prior training epoch bars ([#19578](https://github.com/Lightning-AI/pytorch-lightning/pull/19578))
19-
2018
- Added the count of modules in train and eval mode to the printed `ModelSummary` table ([#20159](https://github.com/Lightning-AI/pytorch-lightning/pull/20159))
2119

2220
### Changed
2321

2422
- Triggering KeyboardInterrupt (Ctrl+C) during `.fit()`, `.evaluate()`, `.test()` or `.predict()` now terminates all processes launched by the Trainer and exits the program ([#19976](https://github.com/Lightning-AI/pytorch-lightning/pull/19976))
25-
2623
- Changed the implementation of how seeds are chosen for dataloader workers when using `seed_everything(..., workers=True)` ([#20055](https://github.com/Lightning-AI/pytorch-lightning/pull/20055))
27-
2824
- NumPy is no longer a required dependency ([#20090](https://github.com/Lightning-AI/pytorch-lightning/issues/20090))
2925

30-
### Deprecated
31-
32-
-
33-
34-
-
35-
3626
### Removed
3727

3828
- Removed support for PyTorch 2.1 ([#20009](https://github.com/Lightning-AI/lightning/pull/20009))
39-
40-
4129
- Removed support for Python 3.8 ([#20071](https://github.com/Lightning-AI/lightning/pull/20071))
4230

43-
4431
### Fixed
4532

4633
- Avoid LightningCLI saving hyperparameters with `class_path` and `init_args` since this would be a breaking change ([#20068](https://github.com/Lightning-AI/pytorch-lightning/pull/20068))
47-
4834
- Fixed an issue that would cause too many printouts of the seed info when using `seed_everything()` ([#20108](https://github.com/Lightning-AI/pytorch-lightning/pull/20108))
49-
5035
- Fixed `_LoggerConnector`'s `_ResultMetric` to move all registered keys to the device of the logged value if needed ([#19814](https://github.com/Lightning-AI/pytorch-lightning/issues/19814))
51-
5236
- Fixed `_optimizer_to_device` logic for special 'step' key in optimizer state causing performance regression ([#20019](https://github.com/Lightning-AI/lightning/pull/20019))
53-
5437
- Fixed parameter counts in `ModelSummary` when model has distributed parameters (DTensor) ([#20163](https://github.com/Lightning-AI/pytorch-lightning/pull/20163))
5538

5639

src/version.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.0dev
1+
2.4.0

0 commit comments

Comments
 (0)