Skip to content

SchedulerConfig

Source code in docs_src/capo_sagemaker/types/scheduler_config.py
class SchedulerConfig(TypedDict, closed=True):
    priority_classes: NotRequired[
        "capo_sagemaker.types.priority_class_list.PriorityClassList"
    ]
    """<p>List of the priority classes, <code>PriorityClass</code>, of the cluster policy. When specified, these class configurations define how tasks are queued.</p>"""
    fair_share: NotRequired["capo_sagemaker.types.fair_share.FairShare"]
    """<p>When enabled, entities borrow idle compute based on their assigned <code>FairShareWeight</code>.</p> <p>When disabled, entities borrow idle compute based on a first-come first-serve basis.</p> <p>Default is <code>Enabled</code>.</p>"""
    idle_resource_sharing: NotRequired[
        "capo_sagemaker.types.idle_resource_sharing.IdleResourceSharing"
    ]
    """<p>Configuration for sharing idle compute resources across entities in the cluster. When enabled, unallocated resources are automatically calculated and made available for entities to borrow. </p>"""

fair_share instance-attribute

fair_share: NotRequired[FairShare]

When enabled, entities borrow idle compute based on their assigned FairShareWeight.

When disabled, entities borrow idle compute based on a first-come first-serve basis.

Default is Enabled.

idle_resource_sharing instance-attribute

idle_resource_sharing: NotRequired[IdleResourceSharing]

Configuration for sharing idle compute resources across entities in the cluster. When enabled, unallocated resources are automatically calculated and made available for entities to borrow.

priority_classes instance-attribute

priority_classes: NotRequired[PriorityClassList]

List of the priority classes, PriorityClass, of the cluster policy. When specified, these class configurations define how tasks are queued.