diff --git a/.github/ISSUE_TEMPLATE/1_bug_report.yaml b/.github/ISSUE_TEMPLATE/1_bug_report.yaml index 0d3fe914d02e0..98b6ebc56466e 100644 --- a/.github/ISSUE_TEMPLATE/1_bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/1_bug_report.yaml @@ -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: Current environment ``` - #- 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: diff --git a/.github/advanced-issue-labeler.yml b/.github/advanced-issue-labeler.yml index 9a365465d07b2..c2145e4fdcaad 100644 --- a/.github/advanced-issue-labeler.yml +++ b/.github/advanced-issue-labeler.yml @@ -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"] diff --git a/docs/source-pytorch/conf.py b/docs/source-pytorch/conf.py index 8cb7f266c1f02..107f58c5797b6 100644 --- a/docs/source-pytorch/conf.py +++ b/docs/source-pytorch/conf.py @@ -630,8 +630,10 @@ def package_list_from_file(file): # 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 = [ diff --git a/src/lightning/fabric/CHANGELOG.md b/src/lightning/fabric/CHANGELOG.md index ea624510f1611..9ad21cea7225a 100644 --- a/src/lightning/fabric/CHANGELOG.md +++ b/src/lightning/fabric/CHANGELOG.md @@ -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 diff --git a/src/lightning/pytorch/CHANGELOG.md b/src/lightning/pytorch/CHANGELOG.md index d1e5c08411792..1b251b8fb06fa 100644 --- a/src/lightning/pytorch/CHANGELOG.md +++ b/src/lightning/pytorch/CHANGELOG.md @@ -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)) diff --git a/src/version.info b/src/version.info index 283c1ce9938fe..197c4d5c2d7c7 100644 --- a/src/version.info +++ b/src/version.info @@ -1 +1 @@ -2.4.0dev +2.4.0