Skip to content

CheckpointConfig

Source code in docs_src/capo_sagemaker/types/checkpoint_config.py
class CheckpointConfig(TypedDict, closed=True):
    s3_uri: NotRequired["capo_sagemaker.types.s3_uri.S3Uri"]
    """<p>Identifies the S3 path where you want SageMaker to store checkpoints. For example, <code>s3://bucket-name/key-name-prefix</code>.</p>"""
    local_path: NotRequired["capo_sagemaker.types.directory_path.DirectoryPath"]
    """<p>(Optional) The local directory where checkpoints are written. The default directory is <code>/opt/ml/checkpoints/</code>. </p>"""

local_path instance-attribute

local_path: NotRequired[DirectoryPath]

(Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/.

s3_uri instance-attribute

s3_uri: NotRequired[S3Uri]

Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix.