You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source-fabric/advanced/compile.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -417,7 +417,7 @@ Additional Resources
417
417
418
418
Here are a few resources for further reading after you complete this tutorial:
419
419
420
-
- `PyTorch 2.0 Paper <https://pytorch.org/blog/pytorch-2-paper-tutorial/>`_
420
+
- `PyTorch 2.0 Paper <https://pytorch.org/get-started/pytorch-2-x/>`_
421
421
- `GenAI with PyTorch 2.0 blog post series <https://pytorch.org/blog/accelerating-generative-ai-4/>`_
422
422
- `Training Production AI Models with PyTorch 2.0 <https://pytorch.org/blog/training-production-ai-models/>`_
423
423
- `Empowering Models with Performance: The Art of Generalized Model Transformation Approach <https://pytorch.org/blog/empowering-models-performance/>`_
Copy file name to clipboardExpand all lines: docs/source-pytorch/advanced/compile.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -396,7 +396,7 @@ Additional Resources
396
396
397
397
Here are a few resources for further reading after you complete this tutorial:
398
398
399
-
- `PyTorch 2.0 Paper <https://pytorch.org/blog/pytorch-2-paper-tutorial/>`_
399
+
- `PyTorch 2.0 Paper <https://pytorch.org/get-started/pytorch-2-x/>`_
400
400
- `GenAI with PyTorch 2.0 blog post series <https://pytorch.org/blog/accelerating-generative-ai-4/>`_
401
401
- `Training Production AI Models with PyTorch 2.0 <https://pytorch.org/blog/training-production-ai-models/>`_
402
402
- `Empowering Models with Performance: The Art of Generalized Model Transformation Approach <https://pytorch.org/blog/empowering-models-performance/>`_
Copy file name to clipboardExpand all lines: docs/source-pytorch/versioning.rst
+44-38Lines changed: 44 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,12 +53,8 @@ API Evolution
53
53
54
54
Lightning's development is driven by research and best practices in a rapidly developing field of AI and machine learning. Change is inevitable and when it happens, the Lightning team is committed to minimizing user friction and maximizing ease of transition from one version to the next. We take backwards compatibility and reproducibility very seriously.
55
55
56
-
For API removal, renaming or other forms of backwards-incompatible changes, the procedure is:
57
-
58
-
#. A deprecation process is initiated at a minor version ``MAJOR.MINOR.PATCH`` (e.g. ``1.5.0``), producing a deprecation warning at runtime and removing it from the documentation.
59
-
#. The deprecated API remains unchanged during the deprecation phase for two minor versions or the next major update, whichever comes first.
60
-
#. The breaking change is done in version ``MAJOR.(MINOR+2).0`` (e.g. ``1.7.0``), or ``(MAJOR+1).0.0`` (e.g. ``2.0.0``), whichever comes first.
61
-
#. From that version onward, the deprecation warning gets converted into a helpful error, which will remain until next major release.
56
+
Excepting extenuating circumstances (e.g. a critical bug), API removal, renaming or other forms of backwards-incompatible changes are limited to major version upgrades — that is ``(MAJOR+1).0.0``.
57
+
Concretely, a breaking change for an API introduced in ``2.x.x`` can be introduced with Lightning ``3.0.0``.
62
58
63
59
This policy is not strict. Shorter or longer deprecation cycles may apply to some cases.
64
60
For example, in the past DDP2 was removed without a deprecation process because the feature was broken and unusable beyond fixing as discussed in `#12584 <https://github.com/Lightning-AI/pytorch-lightning/issues/12584>`_.
@@ -69,6 +65,14 @@ Compatibility matrix
69
65
70
66
PyTorch Lightning follows `NEP 29 <https://numpy.org/neps/nep-0029-deprecation_policy.html>`_ which PyTorch also follows (`#74203 <https://github.com/pytorch/pytorch/issues/74203>`_).
71
67
The table below indicates the coverage of tested versions in our CI. Versions outside the ranges may unofficially work in some cases.
68
+
Since the release of PyTorch `2.0`, Lightning strives to officially support the latest 5 PyTorch minor releases with no breaking changes within major versions [1]_.
69
+
70
+
71
+
.. note::
72
+
Legend used in the table below:
73
+
74
+
- "≥ X.Y" minimum supported version.
75
+
- "▼ X.Y" last CI-tested version (informational, not a hard upper bound).
72
76
73
77
.. list-table::
74
78
:header-rows: 1
@@ -82,102 +86,104 @@ The table below indicates the coverage of tested versions in our CI. Versions ou
82
86
* - 2.5
83
87
- 2.5
84
88
- 2.5
85
-
- ≥2.1, ≤2.7
89
+
- ≥2.1 (▼ 2.8)
86
90
- ≥0.7.0
87
-
- ≥3.9, ≤3.12
91
+
- ≥3.9 (▼ 3.12)
88
92
* - 2.4
89
93
- 2.4
90
94
- 2.4
91
-
- ≥2.1, ≤2.6
95
+
- ≥2.1 (▼ 2.6)
92
96
- ≥0.7.0
93
-
- ≥3.9, ≤3.12
97
+
- ≥3.9 (▼ 3.12)
94
98
* - 2.3
95
99
- 2.3
96
100
- 2.3
97
-
- ≥2.0, ≤2.3
101
+
- ≥2.0 (▼ 2.3)
98
102
- ≥0.7.0
99
-
- ≥3.8, ≤3.11
103
+
- ≥3.8 (▼ 3.11)
100
104
* - 2.2
101
105
- 2.2
102
106
- 2.2
103
-
- ≥1.13, ≤2.2
107
+
- ≥1.13 (▼ 2.2)
104
108
- ≥0.7.0
105
-
- ≥3.8, ≤3.11
109
+
- ≥3.8 (▼ 3.11)
106
110
* - 2.1
107
111
- 2.1
108
112
- 2.1
109
-
- ≥1.12, ≤2.1
113
+
- ≥1.12 (▼ 2.1)
110
114
- ≥0.7.0
111
-
- ≥3.8, ≤3.11
115
+
- ≥3.8 (▼ 3.11)
112
116
* - 2.0
113
117
- 2.0
114
118
- 2.0 (GA)
115
-
- ≥1.11, ≤2.0
119
+
- ≥1.11 (▼ 2.0)
116
120
- ≥0.7.0
117
-
- ≥3.8, ≤3.10
121
+
- ≥3.8 (▼ 3.10)
118
122
* - 1.9
119
123
- 1.9
120
124
- 1.9 (experimental)
121
-
- ≥1.10, ≤1.13
125
+
- ≥1.10 (▼ 1.13)
122
126
- ≥0.7.0
123
-
- ≥3.7, ≤3.10
127
+
- ≥3.7 (▼ 3.10)
124
128
* - 1.8**
125
129
- 1.8
126
130
- n/a***
127
-
- ≥1.10, ≤1.13
131
+
- ≥1.10 (▼ 1.13)
128
132
- ≥0.7.0
129
-
- ≥3.7, ≤3.10
133
+
- ≥3.7 (▼ 3.10)
130
134
* - n/a
131
135
- 1.7
132
136
- n/a***
133
-
- ≥1.9, ≤1.12
137
+
- ≥1.9 (▼ 1.12)
134
138
- ≥0.7.0
135
-
- ≥3.7, ≤3.10
139
+
- ≥3.7 (▼ 3.10)
136
140
* - n/a
137
141
- 1.6
138
142
- n/a***
139
-
- ≥1.8, ≤1.11
143
+
- ≥1.8 (▼ 1.11)
140
144
- ≥0.4.1
141
-
- ≥3.7, ≤3.9
145
+
- ≥3.7 (▼ 3.9)
142
146
* - n/a
143
147
- 1.5
144
148
- n/a***
145
-
- ≥1.7, ≤1.10
149
+
- ≥1.7 (▼ 1.10)
146
150
- ≥0.4.1
147
-
- ≥3.6, ≤3.9
151
+
- ≥3.6 (▼ 3.9)
148
152
* - n/a
149
153
- 1.4
150
154
- n/a
151
-
- ≥1.6, ≤1.9
155
+
- ≥1.6 (▼ 1.9)
152
156
- ≥0.4.0
153
-
- ≥3.6, ≤3.9
157
+
- ≥3.6 (▼ 3.9)
154
158
* - n/a
155
159
- 1.3
156
160
- n/a
157
-
- ≥1.4, ≤1.8
161
+
- ≥1.4 (▼ 1.8)
158
162
- ≥0.2.0
159
-
- ≥3.6, ≤3.9
163
+
- ≥3.6 (▼ 3.9)
160
164
* - n/a
161
165
- 1.2
162
166
- n/a
163
-
- ≥1.4, ≤1.8
167
+
- ≥1.4 (▼ 1.8)
164
168
- n/a*
165
-
- ≥3.6, ≤3.8
169
+
- ≥3.6 (▼ 3.8)
166
170
* - n/a
167
171
- 1.1
168
172
- n/a
169
-
- ≥1.3, ≤1.8
173
+
- ≥1.3 (▼ 1.8)
170
174
- n/a*
171
-
- ≥3.6, ≤3.8
175
+
- ≥3.6 (▼ 3.8)
172
176
* - n/a
173
177
- 1.0
174
178
- n/a
175
-
- ≥1.3, ≤1.7
179
+
- ≥1.3 (▼ 1.7)
176
180
- n/a*
177
-
- ≥3.6, ≤3.8
181
+
- ≥3.6 (▼ 3.8)
178
182
179
183
\* ``torchmetrics`` was part of ``pytorch_lightning`` at the time and was decoupled to a separate package in v1.3.
180
184
181
185
\*\* The joint ``lightning`` package was first published in version 1.8
182
186
183
187
\*\*\* Fabric is the evolution of ``LightningLite`` which was released inside ``pytorch_lightning`` 1.5 and was decoupled to a separate package in v1.9
188
+
189
+
.. [1] See `this community discussion <https://github.com/Lightning-AI/pytorch-lightning/issues/21073#issuecomment-3201706857>`_.
Copy file name to clipboardExpand all lines: src/lightning/pytorch/CHANGELOG.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
21
21
- Allow `LightningModule` to log `Tensorboard` histograms ([#19851](https://github.com/Lightning-AI/pytorch-lightning/pull/19851))
22
22
23
23
24
-
- Default to RichProgressBar and RichModelSummary if the rich package is available. Fallback to TQDMProgressBar and ModelSummary otherwise. ([#9580](https://github.com/Lightning-AI/pytorch-lightning/pull/9580))
24
+
-
25
25
26
26
27
27
### Removed
@@ -31,18 +31,22 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
31
31
32
32
### Fixed
33
33
34
-
- Fixed `AsyncCheckpointIO` snapshots tensors to avoid race with parameter mutation ([#21079](https://github.com/Lightning-AI/pytorch-lightning/pull/21079))
34
+
-
35
35
36
36
37
-
- Fixed `AsyncCheckpointIO` threadpool exception if calling fit or validate more than one ([#20952](https://github.com/Lightning-AI/pytorch-lightning/pull/20952))
37
+
---
38
38
39
39
40
-
- Fixed learning rate not being correctly set after using `LearningRateFinder` callback ([#21068](https://github.com/Lightning-AI/pytorch-lightning/pull/21068))
40
+
## [2.5.4] - 2025-08-29
41
41
42
+
### Fixed
42
43
44
+
- Fixed `AsyncCheckpointIO` snapshots tensors to avoid race with parameter mutation ([#21079](https://github.com/Lightning-AI/pytorch-lightning/pull/21079))
45
+
- Fixed `AsyncCheckpointIO` threadpool exception if calling fit or validate more than one ([#20952](https://github.com/Lightning-AI/pytorch-lightning/pull/20952))
46
+
- Fixed learning rate not being correctly set after using `LearningRateFinder` callback ([#21068](https://github.com/Lightning-AI/pytorch-lightning/pull/21068))
43
47
- Fixed misalignment column while using rich model summary in `DeepSpeedstrategy` ([#21100](https://github.com/Lightning-AI/pytorch-lightning/pull/21100))
48
+
- Fixed `RichProgressBar` crashing when sanity checking using val dataloader with 0 len ([#21108](https://github.com/Lightning-AI/pytorch-lightning/pull/21108))
0 commit comments