Skip to content

GlobalInferenceGatewayRoutingWeights

Source code in docs_src/capo_sagemaker/types/global_inference_gateway_routing_weights.py
class GlobalInferenceGatewayRoutingWeights(TypedDict, closed=True):
    kv_headroom: NotRequired[
        "capo_sagemaker.types.global_inference_gateway_routing_weight.GlobalInferenceGatewayRoutingWeight"
    ]
    """<p>The weight of the free key-value (KV) cache capacity on the cluster.</p>"""
    queue_depth: NotRequired[
        "capo_sagemaker.types.global_inference_gateway_routing_weight.GlobalInferenceGatewayRoutingWeight"
    ]
    """<p>The weight of the number of requests that are waiting on the cluster.</p>"""
    region_proximity: NotRequired[
        "capo_sagemaker.types.global_inference_gateway_routing_weight.GlobalInferenceGatewayRoutingWeight"
    ]
    """<p>The weight of how close the cluster is to the caller.</p>"""
    error_rate: NotRequired[
        "capo_sagemaker.types.global_inference_gateway_routing_weight.GlobalInferenceGatewayRoutingWeight"
    ]
    """<p>The weight of the recent error rate of the cluster.</p>"""

error_rate instance-attribute

error_rate: NotRequired[GlobalInferenceGatewayRoutingWeight]

The weight of the recent error rate of the cluster.

kv_headroom instance-attribute

kv_headroom: NotRequired[GlobalInferenceGatewayRoutingWeight]

The weight of the free key-value (KV) cache capacity on the cluster.

queue_depth instance-attribute

queue_depth: NotRequired[GlobalInferenceGatewayRoutingWeight]

The weight of the number of requests that are waiting on the cluster.

region_proximity instance-attribute

region_proximity: NotRequired[GlobalInferenceGatewayRoutingWeight]

The weight of how close the cluster is to the caller.