Download Latest Version Lightning v2.6.1 source code.tar.gz (16.4 MB)
Email in envelope

Get an email when there's a new version of PyTorch Lightning

Home / 2.6.1
Name Modified Size InfoDownloads / Week
Parent folder
pytorch_lightning-2.6.1-py3-none-any.whl 2026-01-30 857.3 kB
pytorch_lightning-2.6.1.tar.gz 2026-01-30 665.6 kB
lightning-2.6.1.tar.gz 2026-01-30 663.2 kB
lightning-2.6.1-py3-none-any.whl 2026-01-30 853.6 kB
lightning_fabric-2.6.1.tar.gz 2026-01-30 202.1 kB
lightning_fabric-2.6.1-py3-none-any.whl 2026-01-30 256.7 kB
Lightning v2.6.1 source code.tar.gz 2026-01-30 16.4 MB
Lightning v2.6.1 source code.zip 2026-01-30 17.2 MB
README.md 2026-01-30 3.5 kB
Totals: 9 Items   37.1 MB 0

Changes in 2.6.1

PyTorch Lightning

Added - Added method chaining support to `LightningModule.freeze()` and `LightningModule.unfreeze()` by returning `self` ([#21469](https://github.com/Lightning-AI/pytorch-lightning/pull/21469)) - Added litlogger integration([#21430](https://github.com/Lightning-AI/pytorch-lightning/pull/21430))
Deprecated - Deprecated `to_torchscript` method due to deprecation of TorchScript in PyTorch ([#21397](https://github.com/Lightning-AI/pytorch-lightning/pull/21397))
Removed - Removed support for Python 3.9 due to end-of-life status ([#21398](https://github.com/Lightning-AI/pytorch-lightning/pull/21398))
Fixed - Fixed `save_hyperparameters(ignore=...)` behavior so subclass ignore rules override base class rules (#[21490](https://github.com/Lightning-AI/pytorch-lightning/pull/21490)) - Fixed `LightningDataModule.load_from_checkpoint` to restore the datamodule subclass and hyperparameters ([#21478](https://github.com/Lightning-AI/pytorch-lightning/pull/21478)) - Fixed ``ModelParallelStrategy`` single-file checkpointing when ``torch.compile`` wraps the model so optimizer states no longer raise ``KeyError`` during save ([#21357](https://github.com/Lightning-AI/pytorch-lightning/issues/21357)) - Sanitize profiler filenames when saving to avoid crashes due to invalid characters ([#21395](https://github.com/Lightning-AI/pytorch-lightning/pull/21395)) - Fixed `StochasticWeightAveraging` with infinite epochs ([#21396](https://github.com/Lightning-AI/pytorch-lightning/pull/21396)) - Fixed `_generate_seed_sequence_sampling` function not producing unique seeds ([#21399](https://github.com/Lightning-AI/pytorch-lightning/pull/21399)) - Fixed `ThroughputMonitor` callback emitting warnings too frequently ([#21453](https://github.com/Lightning-AI/pytorch-lightning/pull/21453))
## Lightning Fabric
Added - Exposed `weights_only` argument for loading checkpoints in `Fabric.load()` and `Fabric.load_raw()` ([#21470](https://github.com/Lightning-AI/pytorch-lightning/pull/21470))
Fixed - Fixed `DistributedSamplerWrapper` not forwarding `set_epoch` to the underlying sampler ([#21454](https://github.com/Lightning-AI/pytorch-lightning/pull/21454)) - Fixed DDP notebook CUDA fork check to allow passive initialization when CUDA is not actively used ([#21402](https://github.com/Lightning-AI/pytorch-lightning/pull/21402))

**Full commit list**: [2.6.0 -> 2.6.1](https://github.com/Lightning-AI/pytorch-lightning/compare/2.6.0...2.6.1) # Contributors **New Contributors** * @arrdel made their first contribution in https://github.com/Lightning-AI/pytorch-lightning/pull/21402 * @CodeVishal-17 made their first contribution in https://github.com/Lightning-AI/pytorch-lightning/pull/21470 * @aditya0by0 made their first contribution in https://github.com/Lightning-AI/pytorch-lightning/pull/21478 We thank **all folks** who submitted issues, features, fixes and doc changes. It's the only way we can **collectively** make Lightning :zap: better for everyone, nice job! In particular, we would like to thank the authors of the pull-requests above
Source: README.md, updated 2026-01-30