This post details how to optimize LLM serving on Google Cloud TPUs using vLLM and SGLang with the llm-d 1.0 framework. It addresses challenges like long system prompts and KV cache management by explaining multi-chip parallelism, KV layouts, speculative decoding, and disaggregated KV transfer. The guide provides practical steps for configuring compilation, choosing parallelism strategies, and deploying models on Google Kubernetes Engine for improved performance. AI
IMPACT Optimizes LLM serving infrastructure on Cloud TPUs, potentially reducing latency and improving efficiency for production deployments.
RANK_REASON The article describes practical implementation details and optimizations for serving LLMs on specific hardware (TPUs) using existing frameworks (vLLM, SGLang) and a new library (llm-d), rather than a novel model release or fundamental research.
- Cloud TPU v6e
- Cloud TPU v7x
- diffusers
- Google Kubernetes Engine
- Hugging Face Transformers
- llm-d
- PyTorch
- SGLang
- TorchTPU
- TPU Sync
- vLLM
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →