Skip to content
Thought Tribune TT markTTThoughtTribune
Autonomous agents

Can PyTorch-native vLLM and SGLang improve TPU serving efficiency?

Google announces native PyTorch backends for vLLM and SGLang on TPU, aiming to simplify debugging and customization for developers using TorchTPU.

Depth
1 outlet · newest source 555h ago
Can PyTorch-native vLLM and SGLang improve TPU serving efficiency?

Key points

  • Native PyTorch backends for vLLM and SGLang are now available on TPU via TorchTPU.
  • The engines support production features like KV cache offloading and disaggregated serving.
  • Public benchmarks claim state-of-the-art performance on Ironwood TPU for long-context workloads.

Google announced native PyTorch backends for vLLM and SGLang inference engines on TPU in a blog post published on the Google Developers blog. The launch leverages TorchTPU to enable developers to run and optimize serving workloads using familiar PyTorch tools, addressing reported developer demand for easier customization and debugging of serving stacks previously reliant on JAX-based backends.

Evidence: confirmedAnnouncing New vLLM and SGLang Inference Engines on TPU

aifleet-google-dev

Evidence: reportedAnnouncing New vLLM and SGLang Inference Engines on TPU

aifleet-google-dev

The claim

Google states that these new engines, built in collaboration with open-source maintainers Inferact and RadixArk, include optimized TPU kernel implementations and production-ready features. According to the post, public benchmarks demonstrate state-of-the-art performance and industry-leading cost efficiency on Ironwood TPU across long-context and agentic workloads, positioning the TPU as a native PyTorch device without wrapper types.

Evidence: reportedAnnouncing New vLLM and SGLang Inference Engines on TPU

aifleet-google-dev

The response

The material does not include external reactions or counterpoints from competitors or independent analysts. The announcement emphasizes that the development was done in partnership with the respective open-source project maintainers, suggesting community alignment rather than opposition. No third-party validation of the performance claims is cited in the source text.

What changes, what does not

Developers can now use standard upstream PyTorch model definitions with TPU-specific optimizations in kernels and layer implementations. The underlying device management shifts to TorchTPU, which handles tensors as standard PyTorch tensors on a TPU device. However, the engines still rely on custom Pallas kernels called directly from PyTorch as custom operators inside the compiled graph, maintaining a platform-plugin design.

Building on this

Developers can build agentic workloads that use automatic prefix caching and KV cache offloading to host memory or Managed Lustre via TPU Sync. Interfaces support interactive low-latency tasks through speculative decoding with multiple drafters. Limits include the need for TPU Sync to manage KV cache transfers during disaggregated serving, where prefill and decode run on separate hosts, requiring careful overlap of computation and data transfer to avoid latency penalties.

Why it matters

  • Developers familiar with PyTorch can now debug and customize TPU serving stacks without switching to JAX, potentially reducing adoption friction.
  • Support for disaggregated serving and tiered KV offloading allows more efficient handling of long-context and multi-turn agentic workloads on TPU hardware.
  • The use of TPU Sync for KV cache management provides a standardized method for moving data between hosts and storage, impacting system architecture decisions.
  • Benchmarks on Ironwood TPU suggest competitive cost efficiency, influencing cloud infrastructure choices for high-throughput and multimodal model serving.

Topics: PyTorch, TPU, vLLM, SGLang, inference, Google Cloud

Updated

Ask the article

Local keyword search of this article; no generated answers.

Which of these is confirmed?

Check the answer

Google announced native PyTorch backends for vLLM and SGLang inference engines on TPU in a blog post published on the Google Developers blog.

The matched primary source and announcement wording support the confirmed label.

Did this article give you the evidence you needed?

No vote saved on this device.
Your choice stays on this device. No public tally.

Questions readers ask

Do vLLM and SGLang now run natively on TPU using PyTorch?

Yes, Google announced native PyTorch backends for both engines powered by TorchTPU, allowing them to run without JAX-based wrappers.

How is KV cache managed in these new engines?

The engines use TPU Sync for KV cache transfer and management, supporting offloading to host memory and Managed Lustre for tiered storage.

What types of workloads are these engines optimized for?

They are optimized for agentic, multimodal, long-context, and high-throughput batch workloads, including support for speculative decoding and disaggregated serving.

Connected stories

This storyWill CNCF projects like llm-d optimize hardware for agents' bursty inference demands?Will CNCF projects like llm-d opGoogle optimizes Kubernetes for agentic workloads via Agent SubstrateGoogle optimizes Kubernetes for How does decoupled design enable sub-150ms acks for multi-channel commerce?How does decoupled design enable

Reading receipt

  • Native PyTorch backends for vLLM and SGLang are now available on TPU via TorchTPU.
  • The engines support production features like KV cache offloading and disaggregated serving.
  • Public benchmarks claim state-of-the-art performance on Ironwood TPU for long-context workloads.
Time spent: 0:00 · Depth: Full

Sources

  1. Google Developers blog

Related stories

Background reading