Google open-sources TorchTPU to run PyTorch AI workloads on its chips
Co-developed with Meta, the stack promises minimal code changes and integrations with familiar training and serving tools. Its large-scale training results remain Google-reported.
Loading page…
Co-developed with Meta, the stack promises minimal code changes and integrations with familiar training and serving tools. Its large-scale training results remain Google-reported.
Listen to this story
TorchTPU, released as open source by Google Cloud on October 20, 2026, gives PyTorch developers a path to train and serve models on Google TPUs without switching frameworks. Co-developed with Meta’s PyTorch team, it connects familiar PyTorch workflows to model libraries, serving systems and orchestration tools. Google reports strong results on a specific training setup, but those figures do not establish a performance advantage across workloads, and moving existing applications may still require code changes.
Transformers v5 can target TPUs with device_map="tpu"; Diffusers supports compilation and splitting large generative models across accelerators.
The vLLM TPU backend retains existing workers, schedulers and API servers, while SGLang can reuse cached model state across requests.
With TorchTitan, Google reports up to 52% Model Flops Utilization on Qwen 3 8B and stable, near-linear scaling across 8,192 Ironwood TPUs.
Developers using PyTorch to build and run AI models now have an open-source route onto Google’s Tensor Processing Units, or TPUs. Google Cloud released TorchTPU on GitHub on October 20, 2026. Co-developed with Meta’s PyTorch team, the stack promises to move existing workloads onto Google’s chips with minimal code changes, while retaining familiar tools.
TorchTPU is a software stack for running PyTorch workloads natively on TPUs, rather than a new model or chip. Google says it supports training, serving and deployment through standard PyTorch programming interfaces. The intended change is where the work runs, without requiring developers to replace the framework they use to write it.
The development path has two stages. Google says developers can debug models using eager mode, then use torch.compile to optimize execution for production. The company says that compilation step improves TPU use and reduces memory overhead. TorchTPU also supplies diagnostics and built-in support for distributing work across devices.
The migration promise needs precise wording. TechCrunch describes moving existing applications with a configuration change and no rewrite. Google’s own announcement uses the more qualified phrase “minimal code changes.” That leaves room for adaptation; it is not a blanket assurance that every existing workload will move unchanged.
At Meta, advancing the frontier of AI requires immense compute scale and deep hardware diversity. We cannot be constrained by a single hardware architecture.
Jana van Greunen, Director of PyTorch Engineering, Meta, in Google Cloud’s announcement
Google worked with Hugging Face to bring native TorchTPU execution into its libraries. In Transformers v5, Google says developers can select TPUs by passing device_map="tpu". Its Diffusers integration supports eager mode, compilation and splitting large generative models across multiple accelerators. Google also built dedicated pipelines to test the Transformers suite on TPU infrastructure every night.
The release also connects to tools that serve models and coordinate computing resources. These integrations address different parts of an AI system, rather than asking one library to handle the whole workflow:
For training, TorchTPU integrates with TorchTitan, PyTorch’s reference implementation for distributed training. Google says the combination uses compilation, specialized Pallas kernels and graph-level optimizations. TorchTitan supplies training recipes for large dense models, mixture-of-experts models and diffusion transformers, giving the release a training path alongside its model-serving integrations.
Google reports that this training path achieved up to 52% Model Flops Utilization, a measure of training compute use, on Qwen 3 8B. It also reports near-linear scaling and stability across as many as 8,192 Ironwood TPUs. Those are company-reported results for a named model and hardware setup, not a demonstrated performance advantage for every PyTorch workload.
Loading discussion...
Join the conversation
Explain what else would make a switch worthwhile.
Be the first to share a perspective or an experience.
Reader comments
Newest comments first. Replies stay oldest first.