Google Releases TPU Sync: Open-Source KV Cache Transfer for TPUs
Google Cloud has released TPU Sync, an open-source C++ library for moving KV caches and model weights on Cloud TPUs.The Google TPU Sync KV cache transfer library treats TPU HBM, host DRAM, shared storage and the data center network as one memory hierarchy.
It targets a growing bottleneck: moving model state, not computing it.Google reports over 90% lower KV transfer latency on 235B to 480B parameter MoE models.
TPU Sync is an open-source C++ library from Google that moves TPU-tiled tensors across memory tiers with asynchronous DMA. It handles 2 jobs: KV cache state during inference, and trainer-to-sampler weight broadcast in reinforcement learning (RL). The repository is licensed Apache-2.0.
The library spans TPU HBM, pinned host DRAM, shared storage and multi-host DCN. Storage uses experimental POSIX backends, including local SSDs and Google Cloud Managed Lustre. Google lists 4 design choices:
Above this sit a global KV store for prefix lookups, a transfer controller and a KV cache manager.
The prefill node offloads KV blocks to pinned host RAM through async DMA. The controller streams them host-to-host to the assigned decode node. Arriving blocks move into decode-node HBM while decoding continues.
Google ran internal tests in July 2026 on TPU v7x (2x2x1). The stack was tpu-inference v0.24.0, JAX 0.10.2 and libtpu 0.0.42.1. Google team states that real-world results will vary.
For P/D disaggregated serving:
TPU Sync integrates with PyTorch through TorchTPU and with JAX natively.In vLLM-TorchTPU, it is the TPU KV connector behind vLLM’s KVConnector interface.In SGLang-TorchTPU, it is the P/D transfer backend and hierarchical cache I/O backend.
On GKE, llm-d 1.0 uses it for prefix-cache-affinity routing and experimental spill to Managed Lustre.Inferact and RadixArk co-engineered the vLLM and SGLang integrations.Google says Meta and Wayfair are evaluating the architecture.
The bandwidth figures measure different paths. TPU Sync’s number is host PCIe DMA. Mooncake’s number is network transfer over RoCE.
Check out the technical blog, the GitHub repo, vLLM-TorchTPU and SGLang-TorchTPU. Wait! are you on telegram? now you can join us on telegram as well.
Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us
Michal Sutter is a data science professional with a Master of Science in Data Science from the University of Padova. With a solid foundation in statistical analysis, machine learning, and data engineering, Michal excels at transforming complex datasets into actionable insights.
What 70,000+ AI engineers read before standup
Get the AI releases that matter, before they trend.
Model releases, open weights, agents and papers with code — the 5 that matter, in 1 email. Free.
Get the stories that didn’t make it on the homepage.
Last issue: ▲ what's inside: openbot 1.0, aws emulator, gemini decisions, pan 2
The newsletter 70,000+ AI builders read
Model releases, open weights and papers with code — in 1 email. Free.
▲ AI DEV SIGNALS · FREE NEWSLETTER
Get the AI releases that matter, before they trend.
70,000+ AI builders · Past issues →
Our GPULeaderBoard Chrome Extension is live
The newsletter 70,000+ AI builders read. Model releases, tools and research, without the hype.
Practitioner-first AI/ML news and analysis, read by 1M+ developers and researchers every month.