RecommendationMetrics
¶
Source code in docs_src/capo_sagemaker/types/recommendation_metrics.py
cost_per_hour
instance-attribute
¶
cost_per_hour: NotRequired[Float]
Defines the cost per hour for the instance.
cost_per_inference
instance-attribute
¶
cost_per_inference: NotRequired[Float]
Defines the cost per inference for the instance .
cpu_utilization
instance-attribute
¶
cpu_utilization: NotRequired[UtilizationMetric]
The expected CPU utilization at maximum invocations per minute for the instance.
NaN indicates that the value is not available.
max_invocations
instance-attribute
¶
max_invocations: NotRequired[Integer]
The expected maximum number of requests per minute for the instance.
memory_utilization
instance-attribute
¶
memory_utilization: NotRequired[UtilizationMetric]
The expected memory utilization at maximum invocations per minute for the instance.
NaN indicates that the value is not available.
model_latency
instance-attribute
¶
model_latency: NotRequired[Integer]
The expected model latency at maximum invocation per minute for the instance.
model_setup_time
instance-attribute
¶
model_setup_time: NotRequired[ModelSetupTime]
The time it takes to launch new compute resources for a serverless endpoint. The time can vary depending on the model size, how long it takes to download the model, and the start-up time of the container.
NaN indicates that the value is not available.