Skip to content

SaveWeightsConfig

Source code in docs_src/capo_sagemakertrainingsessionruntime/types/save_weights_config.py
class SaveWeightsConfig(TypedDict, closed=True):
    merge_weights: NotRequired["bool"]
    """<p>Specifies whether to merge LoRA adapter weights into the base model before saving. When true, the saved checkpoint contains the full merged model weights.</p>"""
    description: NotRequired["str"]
    """<p>A human-readable description for the saved checkpoint.</p>"""

description instance-attribute

description: NotRequired[str]

A human-readable description for the saved checkpoint.

merge_weights instance-attribute

merge_weights: NotRequired[bool]

Specifies whether to merge LoRA adapter weights into the base model before saving. When true, the saved checkpoint contains the full merged model weights.