Skip to content

HyperParameterTuningInstanceConfig

Source code in docs_src/capo_sagemaker/types/hyper_parameter_tuning_instance_config.py
class HyperParameterTuningInstanceConfig(TypedDict, closed=True):
    instance_type: NotRequired[
        "capo_sagemaker.types.training_instance_type.TrainingInstanceType"
    ]
    """<p>The instance type used for processing of hyperparameter optimization jobs. Choose from general purpose (no GPUs) instance types: ml.m5.xlarge, ml.m5.2xlarge, and ml.m5.4xlarge or compute optimized (no GPUs) instance types: ml.c5.xlarge and ml.c5.2xlarge. For more information about instance types, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebooks-available-instance-types.html">instance type descriptions</a>.</p>"""
    instance_count: NotRequired[
        "capo_sagemaker.types.training_instance_count.TrainingInstanceCount"
    ]
    """<p>The number of instances of the type specified by <code>InstanceType</code>. Choose an instance count larger than 1 for distributed training algorithms. See <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/data-parallel-use-api.html">Step 2: Launch a SageMaker Distributed Training Job Using the SageMaker Python SDK</a> for more information.</p>"""
    volume_size_in_gb: NotRequired[
        "capo_sagemaker.types.volume_size_in_gb.VolumeSizeInGB"
    ]
    """<p>The volume size in GB of the data to be processed for hyperparameter optimization (optional).</p>"""

instance_count instance-attribute

instance_count: NotRequired[TrainingInstanceCount]

The number of instances of the type specified by InstanceType. Choose an instance count larger than 1 for distributed training algorithms. See Step 2: Launch a SageMaker Distributed Training Job Using the SageMaker Python SDK for more information.

instance_type instance-attribute

instance_type: NotRequired[TrainingInstanceType]

The instance type used for processing of hyperparameter optimization jobs. Choose from general purpose (no GPUs) instance types: ml.m5.xlarge, ml.m5.2xlarge, and ml.m5.4xlarge or compute optimized (no GPUs) instance types: ml.c5.xlarge and ml.c5.2xlarge. For more information about instance types, see instance type descriptions.

volume_size_in_gb instance-attribute

volume_size_in_gb: NotRequired[VolumeSizeInGB]

The volume size in GB of the data to be processed for hyperparameter optimization (optional).