Google releases open-source PyTorch tool to move AI apps off Nvidia chips

TorchTPU lets developers shift PyTorch-based AI applications to Google's Tensor Processing Units with a configuration change instead of a code rewrite, following a similar move by Amazon a day earlier.

AIVIO News Desk 2 min read
AIVIO News cover illustration for: Google releases open-source PyTorch tool to move AI apps off Nvidia chips

Google said Tuesday that it has open-sourced TorchTPU, its own version of the PyTorch software framework built to run on Tensor Processing Units, the company’s custom AI chips. The release lets developers move existing PyTorch applications onto Google’s hardware and cloud with a configuration change rather than a rewrite of their code.

The move follows a nearly identical announcement from Amazon a day earlier. Amazon released TorchNeuron, which lets PyTorch applications run on its own AI chip, called Trainium, through Amazon Web Services. Amazon also said it is submitting code to the main PyTorch project that would separate several features from their dependence on Nvidia’s chips, opening the framework to other hardware by default.

Both moves target the same vulnerability in Nvidia’s position. PyTorch is the open-source toolkit that an estimated 85% of AI applications are built on, according to the source material. Meta, then known as Facebook, created PyTorch in 2016, before large language models reshaped the industry, and handed oversight of the project to the nonprofit Linux Foundation in 2022. Because Nvidia’s graphics processing units, or GPUs, were already the standard for AI research at the time, much of PyTorch was written to work specifically with them. That history has made it simple for developers to default to Nvidia chips and comparatively hard to move elsewhere.

Google’s pitch goes beyond porting code

Google said it worked directly with Meta, Hugging Face, Inferact (the company behind the vLLM inference tool), and RadixArk (maker of the SGLang tool) to make sure TorchTPU’s features work with the software developers already rely on, the same way original PyTorch does. It also launched a new TPU agent suite, a tool meant to help developers move applications to Google’s chips and cloud and troubleshoot errors during that process. Separately, Google updated LiteRT, its tool for running AI models on phones, laptops, and embedded devices, so it works better with PyTorch-based applications.

Neither Google nor Amazon has published figures on how many developers have adopted the new tools, and it is not yet known whether either effort will meaningfully shift where AI workloads actually run. Having the technical option to switch chips is not the same as switching: developers who have built and tuned applications around Nvidia hardware face real costs in retesting and performance tuning before they would move, even with a simpler path available.

What happens next will depend less on the tooling than on whether large AI labs and startups actually test their applications on TPUs or Trainium at scale, and whether Amazon’s proposed changes to PyTorch’s core code are accepted by the project’s maintainers at the Linux Foundation.

Sources

TechCrunch