SIGN IN SIGN UP

Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.

0 0 104 Python

Adds method chaining support to `LightningModule.freeze()` and `LightningModule.unfreeze()` by returning `self` (#21469)

* return self instance in `freeze` and `unfreeze` method

* docs: fix docs

* add chlog

* docs: update freeze method docstring to use code-block directive

---------

Co-authored-by: Bhimraj Yadav <bhimrajyadav977@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
G
GdoongMathew committed
36998f5e3f90b214c749a15d7c7e9d05e51c95d3
Parent: be2e8d0
Committed by GitHub <noreply@github.com> on 1/12/2026, 11:39:26 AM