Prompt
Need GPU autoscaling for inference
Latest observation
Nov 8, 2026
OpenAI APIWeb search: off
For GPU autoscaling for inference, the best approach depends on where you’re running models and what kind of traffic you have. In general, you want to scale on real request load and GPU saturation, not just CPU.
Typical setup
- Inference service: Triton, vLLM, TGI, TensorRT-LLM, KServe, BentoML, Ray Serve, etc.
- Autoscaler: Kubernetes HPA/KEDA, Knative, AWS Auto Scaling, GKE/GPU node autoscaling, Ray autoscaling, or custom queue-based scaling.
- Scale signals:
- Request rate / pending queue length
- GPU utilization
- GPU memory usage
- Latency / p95 latency
- Tokens/sec or active sequences for LLMs
Recommended pattern for LLM inference
For large language model serving, autoscale using:
- Queue length / in-flight requests
- Tokens waiting or generated
- GPU memory headroom
- P95 latency
CPU-based autoscaling usually fails because GPUs are the bottleneck.
Common architecture
- Ingress/load balancer
- Queue or request router
- Inference pods on GPU nodes
- Cluster autoscaler to add/remove GPU nodes
- Pod autoscaler to add/remove replicas based on metrics
Important gotchas
- Cold start time for GPUs can be long
- Model loading time can dominate scaling delays
- Warm pools help a lot
- Bin packing matters: set realistic GPU requests/limits
- Use min replicas > 0 for latency-sensitive workloads
- For multi-GPU models, autoscaling is more complex
If you’re on Kubernetes
A common stack is:
- HPA/KEDA for pod scaling
- Cluster Autoscaler or Karpenter for node scaling
- Prometheus + DCGM exporter for GPU metrics
- Custom metrics adapter to feed GPU/queue metrics into autoscaling
If you want the simplest practical solution
- Use Kubernetes + KEDA
- Export queue depth or pending requests
- Scale inference pods on that metric
- Use cluster autoscaler/Karpenter for GPU nodes
If you want, I can give you:
- a Kubernetes YAML example for GPU autoscaling,
- a reference architecture for LLM inference,
- or a solution for AWS/GKE/Azure specifically.