LoopsCheckpoint¶
- class baseten.client.managementapi.LoopsCheckpoint(*, checkpoint_id, created_at, checkpoint_type, base_model, lora_adapter_config, size_bytes, sync_status=None, id, run_id, target)¶
Bases:
BaseModel- Parameters:
checkpoint_id (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Checkpoint Id', description='The ID of the checkpoint.')])
created_at (Annotated[AwareDatetime, FieldInfo(annotation=NoneType, required=True, title='Created At', description='The timestamp of the checkpoint in ISO 8601 format.')])
checkpoint_type (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Checkpoint Type', description='The type of checkpoint.')])
base_model (Annotated[str | None, FieldInfo(annotation=NoneType, required=True, title='Base Model', description='The base model of the checkpoint.')])
lora_adapter_config (Annotated[dict[str, Any] | None, FieldInfo(annotation=NoneType, required=True, title='Lora Adapter Config', description='The adapter config of the checkpoint.')])
size_bytes (Annotated[int, FieldInfo(annotation=NoneType, required=True, title='Size Bytes', description='The size of the checkpoint in bytes.')])
sync_status (Annotated[str | None, FieldInfo(annotation=NoneType, required=True, title='Sync Status', description='Sync state of the checkpoint: SYNCING or COMPLETE.')])
id (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Id', description='The checkpoint ID.')])
run_id (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Run Id', description='The ID of the run that produced the checkpoint.')])
target (Annotated[TrainerCheckpointTarget, FieldInfo(annotation=NoneType, required=True, description='Whether this checkpoint is loadable by the sampler or by the run.')])
- model_config = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].