Skip to content
Repo

Checkpoint

from modal_dojo import Checkpoint

A complete training checkpoint discovered on a Modal Volume.

Attributes

checkpoint_type CheckpointType

Hugging Face or Megatron layout.

name str

Volume directory basename, such as iter_0000050.

path str

Absolute path on the checkpoints volume mount.

timestamp float

POSIX mtime of the checkpoint directory.

training_run_id str

Training run that wrote this checkpoint. Default: ""

app_name str

Modal app name for the run. Default: ""

checkpoints_volume_name str

Modal Volume that stores the checkpoint. Default: ""

checkpoints_mount_path str

Container mount path for that volume. Default: ""

path_relative_to_volume: str

Path relative to the checkpoints volume mount.