Skip to content

ComputeQuotaConfig

Source code in docs_src/capo_sagemaker/types/compute_quota_config.py
class ComputeQuotaConfig(TypedDict, closed=True):
    compute_quota_resources: NotRequired[
        "capo_sagemaker.types.compute_quota_resource_config_list.ComputeQuotaResourceConfigList"
    ]
    """<p>Allocate compute resources by instance types.</p>"""
    resource_sharing_config: NotRequired[
        "capo_sagemaker.types.resource_sharing_config.ResourceSharingConfig"
    ]
    """<p>Resource sharing configuration. This defines how an entity can lend and borrow idle compute with other entities within the cluster.</p>"""
    preempt_team_tasks: NotRequired[
        "capo_sagemaker.types.preempt_team_tasks.PreemptTeamTasks"
    ]
    """<p>Allows workloads from within an entity to preempt same-team workloads. When set to <code>LowerPriority</code>, the entity's lower priority tasks are preempted by their own higher priority tasks.</p> <p>Default is <code>LowerPriority</code>.</p>"""

compute_quota_resources instance-attribute

compute_quota_resources: NotRequired[ComputeQuotaResourceConfigList]

Allocate compute resources by instance types.

preempt_team_tasks instance-attribute

preempt_team_tasks: NotRequired[PreemptTeamTasks]

Allows workloads from within an entity to preempt same-team workloads. When set to LowerPriority, the entity's lower priority tasks are preempted by their own higher priority tasks.

Default is LowerPriority.

resource_sharing_config instance-attribute

resource_sharing_config: NotRequired[ResourceSharingConfig]

Resource sharing configuration. This defines how an entity can lend and borrow idle compute with other entities within the cluster.