Skip to main content

Module checkpoint

Module checkpoint 

Source
Expand description

Gradient checkpointing — snapshot and restore training state.

GradientCheckpoint wraps a ComputationGraphStore with optimizer metadata so that a training run can be interrupted and resumed without recomputing the full forward pass from scratch.

Structs§

GradientCheckpoint
A serializable snapshot of the gradient computation state.