On Tuesday, Google announced that TorchTPU, its long-awaited version of PyTorch, is now available as an open-source project. With this, Google joins Amazon in trying to break NvidiaâÂÂs stranglehold on the AI industry, where most AI apps are written by default to run on NvidiaâÂÂs chips, or GPUs.
PyTorch is the popular open-source toolkit that AI app developers and startups use to build, train, and run AI models. It is, by some accounts, used by 85% of the AI apps. PyTorch was originally developed by Meta (then Facebook) in 2016, long before the world had an inkling that LLMs would change the world. At the time, NvidiaâÂÂs GPUs were already the standard hardware for AI research, so many of PyTorchâÂÂs features were built to work specifically with them. In 2022, Meta turned PyTorch over to the Linux Foundation, a nonprofit that manages many important open source projects.
GoogleâÂÂs version, TorchTPU, lets AI apps run on GoogleâÂÂs AI chips, called Tensor Processing Units (TPUs). It also makes it easy to move existing PyTorch apps to TPUs and, therefore, to Google Cloud. Developers can do this with a simple configuration change and no re-writing of their apps.
Amazon made a similar announcement Monday, when it released its own version of PyTorch, called TorchNeuron. TorchNeuron allows AI apps to be ported to AmazonâÂÂs homegrown AI chip, Trainium, and to AWS with no rewriting. Amazon also said it going even further in its effort to loosen NvidiaâÂÂs hold on PyTorch. It is submitting code to the main PyTorch project that decouples various features from NvidiaâÂÂs chips, making it more open to any hardware by default.
Google may be one-upping Amazon in a few ways, however. It says it worked directly with Meta, Hugging Face, Inferact (maker of vLLM) RadixArk (maker of SGLang), and others to ensure that TorchTPUâÂÂs features and code libraries work well with these popular AI development tools, just as the original PyTorch does.
Plus the search giant has launched a dedicated tool, the TPU agent suite, to help developers move their apps to GoogleâÂÂs chips and cloud and fix errors along the way. It even updated its popular LiteRT tool, which runs AI on phones, laptops and embedded devices, to work better with PyTorch AI apps.
None of this means AI app developers will automatically ditch NvidiaâÂÂs hardware en masse just because they can now easily move to alternative chips and clouds. But Amazon and Google are clearly working to end NvidiaâÂÂs advantage.
When you purchase through links in our articles, we may earn a small commission. This doesnâÂÂt affect our editorial independence.
