Prepare Lightning 2.4.0 release (#20154)

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
This commit is contained in:
awaelchli 2024-08-05 23:32:32 +02:00 committed by GitHub
parent 631911c004
commit b3ee85d3a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 25 additions and 52 deletions

View File

@ -32,11 +32,11 @@ body:
description: select all version where you have experienced this issue
multiple: true
options:
- "v1.8"
- "v1.9"
- "v2.0"
- "v1.x"
- "v2.1"
- "v2.2"
- "v2.3"
- "v2.4"
- "master"
validations:
required: true
@ -91,9 +91,9 @@ body:
<summary>Current environment</summary>
```
#- PyTorch Lightning Version (e.g., 1.5.0):
#- PyTorch Version (e.g., 2.0):
#- Python version (e.g., 3.9):
#- PyTorch Lightning Version (e.g., 2.4.0):
#- PyTorch Version (e.g., 2.4):
#- Python version (e.g., 3.12):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:

View File

@ -4,17 +4,17 @@ policy:
- section:
- id: ["versions"]
label:
- name: "ver: 1.6.x"
keys: ["v1_6", "v1.6", "1.6.x"]
- name: "ver: 1.7.x"
keys: ["v1_7", "v1.7", "1.7.x"]
- name: "ver: 1.8.x"
keys: ["v1_8", "v1.8", "1.8.x"]
- name: "ver: 1.9.x"
keys: ["v1_9", "v1.9", "1.9.x"]
- name: "ver: 1.x"
keys: ["v1_x", "v1.X", "1.x"]
- name: "ver: 2.0.x"
keys: ["v2_0", "v2.0", "2.0.x"]
- name: "ver: 2.1.x"
keys: ["v2_1", "v2.1", "2.1.x"]
- name: "ver: 2.2.x"
keys: ["v2_2", "v2.2", "2.2.x"]
- name: "ver: 2.3.x"
keys: ["v2_3", "v2.3", "2.3.x"]
- name: "ver: 2.4.x"
keys: ["v2_4", "v2.4", "2.4.x"]
- name: "ver: 2.4.x"
keys: ["master"]

View File

@ -630,8 +630,10 @@ linkcheck_anchors = False
# A timeout value, in seconds, for the linkcheck builder.
linkcheck_timeout = 60
# ignore all links in any CHANGELOG file
linkcheck_exclude_documents = [r"^(.*\/)*CHANGELOG.*$"]
linkcheck_exclude_documents = [
r"^(.*\/)*CHANGELOG.*$", # ignore all links in any CHANGELOG file
r"notebooks/.*", # ignore notebooks, it's a submodule
]
# ignore the following relative links (false positive errors during linkcheck)
linkcheck_ignore = [

View File

@ -5,43 +5,31 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
## [unreleased] - YYYY-MM-DD
## [2.4.0] - 2024-08-06
### Added
- Made saving non-distributed checkpoints fully atomic ([#20011](https://github.com/Lightning-AI/pytorch-lightning/pull/20011))
- Added a flag `verbose` to the `seed_everything()` function ([#20108](https://github.com/Lightning-AI/pytorch-lightning/pull/20108))
- Added support for PyTorch 2.4 ([#20028](https://github.com/Lightning-AI/pytorch-lightning/pull/20028))
- Added support for Python 3.12 ([20078](https://github.com/Lightning-AI/pytorch-lightning/pull/20078))
### Changed
- 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))
- NumPy is no longer a required dependency ([#20090](https://github.com/Lightning-AI/pytorch-lightning/issues/20090))
### Deprecated
-
-
### Removed
- Removed support for PyTorch 2.1 ([#20009](https://github.com/Lightning-AI/lightning/pull/20009))
- Removed support for Python 3.8 ([#20071](https://github.com/Lightning-AI/lightning/pull/20071))
### Fixed
- 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))
- Fixed `_optimizer_to_device` logic for special 'step' key in optimizer state causing performance regression ([#20019](https://github.com/Lightning-AI/lightning/pull/20019))
## [2.3.0] - 2024-06-13
### Added

View File

@ -5,52 +5,35 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
## [unreleased] - YYYY-MM-DD
## [2.4.0] - 2024-08-06
### Added
- Made saving non-distributed checkpoints fully atomic ([#20011](https://github.com/Lightning-AI/pytorch-lightning/pull/20011))
- Added `dump_stats` flag to `AdvancedProfiler` ([#19703](https://github.com/Lightning-AI/pytorch-lightning/issues/19703))
- Added a flag `verbose` to the `seed_everything()` function ([#20108](https://github.com/Lightning-AI/pytorch-lightning/pull/20108))
- Added support for PyTorch 2.4 ([#20010](https://github.com/Lightning-AI/pytorch-lightning/pull/20010))
- Added support for Python 3.12 ([20078](https://github.com/Lightning-AI/pytorch-lightning/pull/20078))
- The `TQDMProgressBar` now provides an option to retain prior training epoch bars ([#19578](https://github.com/Lightning-AI/pytorch-lightning/pull/19578))
- 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))
### Changed
- 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))
- 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))
- NumPy is no longer a required dependency ([#20090](https://github.com/Lightning-AI/pytorch-lightning/issues/20090))
### Deprecated
-
-
### Removed
- Removed support for PyTorch 2.1 ([#20009](https://github.com/Lightning-AI/lightning/pull/20009))
- Removed support for Python 3.8 ([#20071](https://github.com/Lightning-AI/lightning/pull/20071))
### Fixed
- 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))
- 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))
- 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))
- Fixed `_optimizer_to_device` logic for special 'step' key in optimizer state causing performance regression ([#20019](https://github.com/Lightning-AI/lightning/pull/20019))
- Fixed parameter counts in `ModelSummary` when model has distributed parameters (DTensor) ([#20163](https://github.com/Lightning-AI/pytorch-lightning/pull/20163))

View File

@ -1 +1 @@
2.4.0dev
2.4.0