Google Releases TPU Raiden as Open Source

Dataconomy ·

Google Releases TPU Raiden as Open Source
Image: taken from the story's original source.

Google has released an optimization library named TPU Raiden as open source to quickly transfer KV-cache data between chips in the service of large language models. The project is available on GitHub under the Apache-2.0 license and is not yet suitable for general production use. Raiden operates at a similar layer to Nvidia's NIXL library, managing KV-cache transfers.

Raiden includes modules for direct chip-to-chip transfer within a single machine, transfer between virtual machines over the network, and moving cache blocks from TPU memory to main RAM. Additionally, thanks to the shared memory mode, the cache can remain persistent in DRAM even if the model server is restarted. Google's TPU customer base has expanded with Anthropic providing access to 1 million TPUs and OpenAI starting to use Google TPUs.