EvSys

Checkpoint

One row of a checkpoints.jsonl manifest.

Attributes

attributelabelstr

The name field - e.g. "final", "epoch-3", or a step string.

attributestepint | None
= None

Training step / batch index, if recorded (batch in tinker).

attributeepochint | None
= None
attributeweights_pathstr | None
= None

Training-state checkpoint URI (state_path in tinker).

attributesampler_pathstr | None
= None

Inference-ready sampler URI; what you pass to a sampling client.

attributerawdict
= field(default_factory=dict)

Untouched manifest row, for fields not modeled above.

attributehas_pathbool

Functions

funcfrom_manifest_row(cls, row) -> Checkpoint
paramcls
paramrowdict

Returns

evsys_sdk.checkpoint.Checkpoint
funcpick_final(checkpoints) -> Checkpoint | None

Pick the one to evaluate against.

Strategy: prefer an explicit name == "final" row that exposes a path, else the last row that exposes a path, else None.

paramcheckpointslist['Checkpoint']

Returns

evsys_sdk.checkpoint.Checkpoint | None
func__init__(self, label, step=None, epoch=None, weights_path=None, sampler_path=None, raw=dict()) -> None
paramself
paramlabelstr
paramstepint | None
= None
paramepochint | None
= None
paramweights_pathstr | None
= None
paramsampler_pathstr | None
= None
paramrawdict
= dict()

Returns

None

On this page