TorchTPU: Google Joins Amazon in Challenging Nvidia’s Grip on AI Developers
Google has released TorchTPU as an open-source project, a native PyTorch backend that lets developers run artificial intelligence (AI) models on the company’s Tensor Processing Units (TPUs) with minimal code changes. The launch on Tuesday, 20 October 2026, came a day after Amazon Web Services (AWS) unveiled a similar tool, TorchNeuron, for its Trainium chips — a one-two punch aimed squarely at the software advantage that has helped make Nvidia the default choice for AI hardware.
PyTorch, the open-source toolkit originally developed by Meta, is used to build, train and run a large share of today’s AI models — by some accounts about 85% of AI apps, TechCrunch reported. Because Nvidia’s graphics processing units (GPUs) were already the standard for AI research when PyTorch was created, many of its features were built to work best with Nvidia hardware and its CUDA software platform.
What Is TorchTPU?
TorchTPU is an open-source collaboration between Google and Meta that introduces “a native and principled PyTorch backend for Google TPUs”, according to a technical blog post published on the PyTorch website. Google says the project began in mid-2025 and is already used in production for inference and training by some of the largest Google Cloud customers.
The aim is to make moving an existing PyTorch workload to a TPU as simple as changing one line — for example, from .to(“cuda”) to .to(“tpu”). The TorchTPU team is candid that this alone will not deliver peak performance, since a model’s shapes, sharding and operations may be tuned for GPUs, but says “the model should run out of the box”.
How Is It Different From Earlier Efforts?
Google previously offered PyTorch support on TPUs through PyTorch/XLA, introduced in 2020. The TorchTPU blog says that earlier integration “struggled to keep pace” with PyTorch’s evolution, required intrusive source-code changes, suffered from long compile times and lacked support for PyTorch’s default “eager” execution mode.
TorchTPU, by contrast, was designed with eager execution as a top priority, integrates with PyTorch’s standard torch.compile system, and supports common distributed-training approaches such as DDP, FSDP and DTensor, according to the project’s developers. It also allows developers to write custom kernels using JAX/Pallas or the Helion domain-specific language.
How Well Does TorchTPU Work?
Google’s developers say they have validated out-of-the-box execution on roughly 5,000 of the most downloaded models on Hugging Face, the open-source AI model hub, including families such as Qwen, DeepSeek, Gemma, Llama, Mistral and Whisper.
In the blog’s coverage tests, 98% of 4,917 popular models ran without crashing, and 97% of 657 representative architectures matched GPU results numerically within the team’s thresholds. Google also reported scaling training of a large Qwen3 mixture-of-experts model across up to 8,192 TPU v7 chips with near-flat efficiency per core.
These figures come from Google’s own testing, and independent benchmarks across a wider range of real-world workloads will be needed to judge how TorchTPU compares with mature GPU software stacks. The blog does cite an external SemiAnalysis inference benchmark in which TPU v7 running a vLLM-TorchTPU stack delivered what Google describes as industry-competitive cost per token.
Which Tools Does It Support?
Google says it worked directly with Meta, Hugging Face, Inferact (the maker of vLLM), RadixArk (the maker of SGLang) and others to ensure that TorchTPU works with popular AI development tools, TechCrunch reported. The company is open-sourcing four repositories — TorchTPU, vLLM-TorchTPU, SGLang-TorchTPU and TorchTitan support — at the October 2026 PyTorch Conference.
Google has also launched a “TPU agent suite” to help developers migrate their apps and fix errors along the way, and updated its LiteRT tool, which runs AI on phones, laptops and embedded devices, to work better with PyTorch models, according to TechCrunch.
What Is Amazon’s TorchNeuron?
On Monday, AWS released TorchNeuron, a tool that lets developers move PyTorch apps onto Amazon’s Trainium AI chips by changing a single line of configuration, with no code rewrite required, TechCrunch reported.
Amazon is pitching Trainium as a way for AI start-ups to gain access to its whole cloud platform, rather than relying on “neoclouds” such as CoreWeave and Nebius, many of which are closely tied to Nvidia hardware. “You’re building on AWS. You’re not betting on a single-purpose compute provider and scrambling to build everything else around it,” Colin Brace, vice-president of technology software at AWS’s Annapurna Labs chip unit, told TechCrunch.
Brace argued that because Trainium handles both training and inference, it can improve costs across a full workload. He cited voice AI company Deepgram, which he said is processing 70% more audio per dollar after moving to Trainium using native PyTorch support.
Is Amazon Trying to Change PyTorch Itself?
Yes. Amazon says it is contributing changes to the main PyTorch project to remove code that ties the framework to specific chips. “The goal is to make PyTorch more hardware-agnostic for the entire developer community, not just Trainium users,” the company wrote in its announcement, as quoted by TechCrunch.
“The real story is removing the lock-in that kept developers from having a real choice at all,” Brace said.
Why Does This Matter for Nvidia?
Nvidia’s dominance in AI rests not only on the performance of its chips but on CUDA, the software layer it has spent years optimising so that PyTorch and other frameworks run smoothly on its GPUs. That has made Nvidia hardware the path of least resistance for many developers.
If switching between chip platforms becomes as easy as changing a configuration line, cloud customers could more readily shop around on price and availability. That could put pressure on Nvidia’s pricing power over time, particularly for inference workloads, where cost per token is a key consideration.
TechCrunch cautioned, however, that “none of this means AI app developers will automatically ditch Nvidia’s hardware en masse”. Developers can already port PyTorch apps to AMD GPUs or Apple chips with similar configuration changes, and Nvidia’s software ecosystem remains deep. AWS’s own documentation also notes that TorchNeuron is in public beta, and that in eager mode any operator without a Neuron implementation falls back to running on the CPU, which can slow performance.
Could Hardware-Agnostic PyTorch Create New Problems?
There are trade-offs. One of PyTorch’s strengths is that it hides much of the complexity of getting AI code to run on hardware, TechCrunch noted. It remains to be seen whether stripping out Nvidia-specific defaults gives developers more choice and cheaper options, as Amazon promises, or simply creates “more configuration headaches”.
What Does It Mean for AI Developers and Businesses?
For start-ups and enterprises, the immediate benefit is optionality. Teams that have built on PyTorch may be able to test TPUs or Trainium without large rewrites, potentially lowering costs or easing access to scarce computing capacity.
The moves also reflect intensifying competition among cloud providers to capture AI workloads, as companies continue to spend heavily on AI infrastructure. Google, Amazon and Microsoft have all developed their own AI chips to reduce reliance on Nvidia. Investor scrutiny of that spending has grown: shares of Asian chipmakers such as SK Hynix and Samsung Electronics fell sharply on Tuesday on renewed concerns about AI spending, CoinDesk reported. At the same time, demand for AI hardware has helped lift China’s third-quarter GDP growth to 4.5% through surging electronics exports.
For businesses still assessing how to adopt AI — a challenge highlighted by EU data showing AI adoption doubling but skills gaps persisting — more portable software could reduce the risk of being locked into a single supplier.
What to Watch
- Independent benchmarks: how TorchTPU and TorchNeuron perform against CUDA on real workloads outside the vendors’ own tests.
- Upstream changes: whether the PyTorch community accepts Amazon’s contributions to make the framework more hardware-neutral.
- Nvidia’s response: any moves to deepen CUDA integration, cut prices or expand software support.
- Developer adoption: whether major AI labs and start-ups shift meaningful workloads to TPUs or Trainium.
- PyTorch Conference: further announcements from Google, Meta, AMD and others at this month’s event.
For more coverage, see our AI & Technology News section.
Sources
- TechCrunch — Google has joined Amazon in attacking Nvidia’s stronghold with AI app developers (20 October 2026).
- TechCrunch — Amazon is taking its biggest shot at Nvidia yet with new TorchNeuron dev tool (19 October 2026).
- PyTorch — Introducing TorchTPU (20 October 2026).
- AWS Neuron Documentation — What is TorchNeuron?.
- CoinDesk — Bitcoin drops to $81,400 as Asian chip stocks tumble, options traders seek downside protection (20 October 2026).



