Skip to content

CheckpointStateSaveConfigBase

Module: fast_llm.engine.checkpoint.config

Inherits from: CheckpointSaveConfigBase, CheckpointStateConfigBase, CheckpointConfigBase

Fields

formatcore

Type: type    Default: FastLLMCheckpointFormat

Format of the checkpoint.

data_typefeature

Type: DataType or None    Default: None

Data type to save the checkpoint.

model_weightsfeature

Type: bool    Default: True

Save the model weights.

optimizer_statefeature

Type: bool    Default: None

Save the optimizer state. Default: save if supported by the format.

parameters_per_filefeature

Type: int    Default: 4_294_967_296

Limit the number of parameters saved in each file.

Used in