Developers · November 30, 2026

Also published in Português (Brasil)

Google Cloud Open Sources TPU Sync to Reduce Data Transfer Latency

Svelte code displayed on a dark computer screen in a code editor
Ferenc Almasi / Unsplash

Google Cloud has open sourced TPU Sync, which is a native C++ library designed to transfer model weights and KV cache blocks between data center networks, shared storage, host DRAM, and TPU HBM.

Google Cloud also released the TPU 8i Max and TPU 8tx systems. The TPU Sync project targets workloads that often remain idle while waiting for data, specifically decoupled large language model services with long contexts and reinforcement learning loops that push updated weights from trainers to rollout samplers.

In decoupled prefill and decode scenarios, Google reports that the median KV cache transfer latency for Qwen3 235B decreased from several seconds to approximately 230 milliseconds. For this model, the average time to first token was reduced by 60 percent under low concurrency, while a 480B model saw a 90 percent reduction. In prefix caching scenarios, the average time to first token for 64K context workloads was reduced by up to 90 percent.

Developers can access Python Wheel for PyTorch and JAX, which includes APIs for the KV Store, KV cache manager, and weight synchronizer. TPU Sync serves as the KV Connector for vLLM-TorchTPU via the vLLM KVConnector interface. It also acts as the tiered cache backend and decoupled service for SGLang-TorchTPU and works with llm-d 1.0 on GKE to enable prefix cache aware routing. The weight synchronization module for multi controller JAX and Pathways remains in an experimental stage.

The project has been validated on TPU v6e and TPU v7x. The PyTorch Wheel requires a matching torch_tpu build version, which has not yet been released to public package indexes. The GitHub repository, which has absorbed the previous TPU Raiden codebase, warns that APIs are changing rapidly. Currently, only development versions are available on PyPI, and users are advised to pin to a recently known working commit.

TPU Sync is released under the Apache 2.0 license. Its repository contains C++ and Python APIs, architecture documentation, and examples for host KV offloading and single or multi host decoupled services. Tiered storage and reinforcement learning weight synchronization features remain experimental until a stable version is released.