SaveWeightsConfig - SageMaker Training Session
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

SaveWeightsConfig

The configuration for saving model weights as a checkpoint.

Contents

description

A human-readable description for the saved checkpoint.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: No

mergeWeights

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

Type: Boolean

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: