Google Releases Open-Source TorchTPU to Help Developers Move PyTorch Apps to TPUs
Google launched TorchTPU on Tuesday, enabling PyTorch users to run AI models on Tensor Processing Units without rewriting code, joining Amazon’s efforts.

Key points
- Google released TorchTPU as an open-source project on Tuesday to support PyTorch on TPUs.
- Amazon announced TorchNeuron on Monday, allowing PyTorch apps to run on Trainium chips without code changes.
- Both vendors aim to reduce developer reliance on Nvidia GPUs by offering easier migration paths to their own hardware.
Google announced on Tuesday that TorchTPU, its implementation of the PyTorch framework, is now available as an open-source project. This release allows developers to run AI applications on Google’s Tensor Processing Units (TPUs) with minimal effort, marking a direct challenge to Nvidia’s dominant position in AI hardware infrastructure.
The tool enables existing PyTorch applications to migrate to Google Cloud and TPUs through a simple configuration change. According to TechCrunch, developers do not need to rewrite their application code to utilize Google’s chips. This functionality mirrors a similar announcement made by Amazon on Monday, when it released TorchNeuron to support its Trainium chips.
Context and Background
PyTorch is a widely used open-source toolkit for building, training, and running AI models. TechCrunch reports that approximately 85% of AI applications use PyTorch. Originally developed by Meta in 2016, the framework was transferred to the Linux Foundation in 2022. Because Nvidia GPUs were the standard for AI research at the time of PyTorch’s creation, many of its features were designed specifically to work with Nvidia hardware.
Google’s TorchTPU is designed to break this hardware dependency. It allows AI apps to run on Google’s TPUs while maintaining compatibility with popular AI development tools. TechCrunch notes that Google worked directly with Meta, Hugging Face, Inferact, and RadixArk to ensure TorchTPU’s libraries function correctly with these ecosystems, similar to how the original PyTorch operates.
Who is Affected
AI application developers and startups that currently build models using PyTorch are the primary audience for this release. Amazon and Google are clearly working to end Nvidia’s advantage in the AI industry. By providing a path to run existing code on alternative hardware, these vendors attempt to loosen Nvidia’s hold on PyTorch.
Google has also introduced a dedicated TPU agent suite to assist developers in migrating their apps and fixing errors during the transition. Additionally, the company updated its LiteRT tool, which runs AI on mobile and embedded devices, to improve compatibility with PyTorch applications. These tools target developers looking to utilize Google’s chips and cloud services.
What should you do?
Developers should assess whether their current PyTorch workflows can benefit from running on TPUs or Trainium chips. Reviewing the open-source documentation for TorchTPU and TorchNeuron can help determine compatibility with existing codebases. Organizations should monitor vendor updates for performance benchmarks and integration improvements with their preferred AI libraries.
What to do and how to stay safe: Google
- Review the open-source documentation for TorchTPU to evaluate compatibility with your existing PyTorch models.
- Test migration workflows using the TPU agent suite or TorchNeuron to identify potential code adjustments.
- Monitor performance benchmarks comparing Nvidia GPUs with TPUs and Trainium chips for your specific workloads.
- Assess cost implications of moving AI inference or training workloads to alternative cloud providers.
Step-by-step guide: Mobile Device Security: How to Protect Data Beyond Passwords
General security guidance from the Threat Times newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
Does TorchTPU require developers to rewrite their PyTorch applications?
No, Google states that developers can move existing PyTorch apps to TPUs with a simple configuration change and no code rewriting.
How does TorchTPU compare to Amazon’s TorchNeuron?
Both tools allow PyTorch apps to run on their respective vendor’s custom chips (TPUs for Google, Trainium for Amazon) without rewriting code.
Why are Google and Amazon releasing these tools?
They aim to reduce the industry’s reliance on Nvidia GPUs by making it easier for developers to use alternative AI hardware.


