Google has introduced TPU Sync, an open-source C++ library designed to facilitate the movement of TPU-tiled tensors across various memory tiers using asynchronous DMA. The tool is distributed under the Apache-2.0 license and addresses two primary functions: managing KV cache state during inference and broadcasting weights from trainer to sampler in reinforcement learning tasks.

The library supports operations across TPU HBM, pinned host DRAM, shared storage, and multi-host DCN, utilizing experimental POSIX backends such as local SSDs and Google Cloud Managed Lustre. Its architecture includes a global KV store for prefix lookups, a transfer controller, and a dedicated KV cache manager to handle data flow between prefill and decode nodes.

Internal testing conducted by Google in July 2026 on TPU v7x hardware utilized the tpu-inference v0.24.0 stack, JAX 0.10.2, and libtpu 0.0.42.1. The company notes that performance results in real-world scenarios may vary depending on the specific implementation and environment.

TPU Sync provides native JAX integration and connects with PyTorch via TorchTPU. It currently serves as the backend for vLLM and SGLang integrations, as well as prefix-cache-affinity routing in GKE. Development involved collaboration with Inferact and RadixArk, with Meta and Wayfair currently evaluating the architecture.