Skip to main content
SGLang provides two TPU serving backends. Choose the backend that matches your framework and model configuration: Each backend maintains its own runtime, model coverage, and deployment configurations. Select its tab below for details.

PyTorch serving on TPU

SGLang-TorchTPU runs the SGLang serving engine on Google TPUs through torch_tpu and Pallas kernels. You can use PyTorch models with SGLang’s OpenAI-compatible serving API, eager execution, and TPU compilation.Development and testing focus on TPU7x (Ironwood). A single host has four chips and eight TensorCores. Multi-host configurations use tensor and expert parallelism; disaggregated configurations separate prefill and decode across hosts.

Model coverage

Model integrations include Muse Spark Open, GLM-5.3-Flash, Kimi-K3, DeepSeek-V4-Flash, Qwen3.8-27B, GPT-OSS, and Gemma 4. Coverage ranges from serving recipes to registered accuracy tests; Kimi-K3 currently has a small-model compile test with dummy weights.The backend includes prefix caching, host-memory KV offload, EAGLE3 and DFlash speculative decoding, and prefill/decode disaggregation. Available combinations depend on the model and topology. Check the repository’s support guide for feature restrictions and experimental capabilities.

Deployment resources

Follow the SGLang-TorchTPU getting-started guide for runtime prerequisites, installation, and a first request.Find model-specific configurations in the repository’s TPU serving recipes. Run these recipes from the TorchTPU checkout with its matching runtime.Report PyTorch TPU issues in sglang-torchtpu, including the TPU generation, topology, model, and runtime versions.