cerebras.modelzoo.common.checkpoint_utils.CkptInfo#
- class cerebras.modelzoo.common.checkpoint_utils.CkptInfo[source]#
Bases:
object
Class to manage checkpoints created within one run.
Initializes CkptInfo.
- Parameters
ckpt_dir – directory where checkpoints are to be saved
Methods
Save ckpt_info if last checkpoint path changed.