vLLM has introduced TorchTPU, a native PyTorch backend plugin that enables running standard vLLM services on Google Cloud TPUs without model code changes. The solution leverages custom JAX/Pallas kernels to optimize attention and quantized computations, while natively supporting large-scale distributed inference features like tensor/expert parallelism and disaggregated prefill/decode serving.
Termsslug: pallas
Pallas
A JAX DSL for writing high-performance custom TPU/GPU kernels, allowing developers to directly control memory layout and schedul
Curated Intelligence
Hacker News AIT2·Tools
78 pts
InfoQ 中文T2·Infra
68 pts
Google enhanced its open-source profiler XProf with kernel-level deep profiling for TPU v7 (Ironwood), enabling cycle-accurate hardware counter sampling for custom kernels like Pallas and Mosaic. The tool exposes the failure of static cost models when bypassing standard XLA passes, demonstrating that register-level insights guided triple-buffering optimizations to reduce matrix multiplication execution time by approximately 30%.