Google has officially open-sourced its native PyTorch software stack, TorchTPU, on GitHub, enabling developers to seamlessly run existing PyTorch workflows on Google TPU chips with minimal code changes. The stack integrates with mainstream frameworks such as Hugging Face and vLLM, supports eager mode debugging, and demonstrates near-linear scaling across up to 8,192 Ironwood TPUs.
Core Release
Google has officially open-sourced its native PyTorch software stack, TorchTPU, on GitHub. With this stack, developers can continue using their familiar PyTorch workflows with minimal code modifications to train, run, and deploy models on Google TPU chips.
Technical Features and Ecosystem Support
- Debugging and Compilation Optimization: TorchTPU supports both eager mode debugging and
torch.compilecompilation optimization, balancing development flexibility with execution efficiency. - Mainstream Framework Integration: Spanning the entire workflow across training, inference serving, and orchestration, the stack natively integrates mainstream ecosystem tools including Hugging Face, vLLM, SGLang, TorchTitan, and Ray.
Large-Scale Scaling Performance
According to Google, the training path via TorchTitan has been tested on clusters of up to 8,192 Ironwood TPUs, demonstrating near-linear scaling capabilities and system stability.