InstancePool
¶
Source code in docs_src/capo_sagemaker/types/instance_pool.py
instance_type
instance-attribute
¶
instance_type: NotRequired[ProductionVariantInstanceType]
The ML compute instance type for the instance pool.
model_name_override
instance-attribute
¶
model_name_override: NotRequired[ModelName]
The name of a SageMaker model to use for this instance pool instead of the model specified for the production variant. Use this to deploy a different model optimized for the instance type in this pool.
priority
instance-attribute
¶
priority: NotRequired[InstancePoolPriority]
The priority for the instance pool. SageMaker attempts to provision instances in order of priority, starting with the lowest value. If instances for a higher-priority pool are unavailable, SageMaker attempts to provision from the next pool.
Valid values: 1 to 5, where 1 is the highest priority.