Google Releases TPU Sync: Open-Source KV Cache Transfer for TPUs

In one sentence

Google has open-sourced TPU Sync, a C++ library for Cloud TPUs that accelerates KV cache and model weight transfers across memory tiers to significantly reduce inference latency.

Key points

  • Licensed under Apache-2.0, the library supports Cloud TPU v7x and v6e with bindings for PyTorch and JAX.
  • Using layout-preserving direct DMA and compute-overlapped transfers, it reaches up to 223 GB/s per Ironwood host.
  • Internal tests show over 90% lower KV transfer latency on 235B to 480B MoE models and up to 90% lower average TTFT.
  • It integrates with vLLM-TorchTPU, SGLang-TorchTPU, and llm-d, though it remains early-stage and is not yet recommended for general use.

In depth

An AI-written overview of the original article, not the article itself.

Google Cloud has released TPU Sync, an open-source C++ library designed to accelerate KV cache and model weight transfers on Cloud TPUs. By treating TPU HBM, host DRAM, shared storage, and data center networks as a unified memory hierarchy, it addresses the growing bottleneck of moving model state rather than computing it.

Architecture and Design

Licensed under Apache-2.0, TPU Sync provides Python bindings for PyTorch and JAX and runs on Cloud TPU v7x and v6e. It uses asynchronous, layout-preserving direct DMA to read buffers in place without Python serialization or XLA compilation in the data path.

Transfers overlap with computation, reaching up to 223 GB/s per Ironwood host over PCIe Gen5 and around 350 Gbps across two network interface cards.

Internal Benchmark Results

In Google's July 2026 internal tests on 235B to 480B parameter MoE models, disaggregated prefill and decode serving saw KV transfer latency drop by over 90%. Median transfer time for Qwen3 235B fell from several seconds to about 230 ms, while average time to first token dropped 60% for 235B and 90% for 480B at low concurrency.

For prefix caching on 64K-context workloads, average time to first token fell by up to 90%, throughput rose over 50%, and P99 inter-token latency dropped 30%.

Ecosystem and Caveats

TPU Sync integrates with vLLM-TorchTPU, SGLang-TorchTPU, and llm-d 1.0 on GKE, with Meta and Wayfair reportedly evaluating the architecture.

However, the article notes that all performance figures are self-reported from early-stage tests. Reinforcement learning weight transfer and storage tiering remain experimental, and the project README states it is not yet recommended for general use.

Read originalOpens marktechpost.com

This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.

Recent stories from this source