AWS Releases TorchNeuron, Targeting Nvidia's Software Lock on PyTorch
AWS released TorchNeuron on Monday, letting PyTorch apps move to Trainium chips with one config change — and Amazon is pushing upstream PyTorch changes to loosen Nvidia's grip.

Updated
Why it matters
- AWS released TorchNeuron on Monday; it moves PyTorch apps to Trainium with a one-line configuration change, per Amazon.
- Amazon says about 85% of AI apps are written in PyTorch, the toolkit maintained by the Linux Foundation since 2022.
- Deepgram processes 70% more audio per dollar on Trainium at production-grade accuracy, according to AWS's Colin Brace.
- Amazon will contribute upstream code to PyTorch to remove chip-specific ties and make the framework hardware-agnostic.
- AWS pitches Trainium against Nvidia-tied neoclouds such as Coreweave, Nebius and Firmus, arguing one platform for training and inference improves workload economics.
Amazon Web Services released a developer tool on Monday called TorchNeuron that lets AI applications written in PyTorch run on Amazon's custom Trainium chip by changing one line of configuration — no code rewrite required, according to the company.
The release is Amazon's most direct attack yet on the software advantage that made Nvidia the default hardware choice for AI applications. Nvidia built its dominance partly on CUDA, the software layer that lets applications run on its GPUs. Over years, Nvidia ensured CUDA seamlessly supports PyTorch, the free, open-source toolkit developers use to build, train and run AI models. As a result, Nvidia hardware sits deep inside the framework, essentially by default.
Amazon says about 85% of AI apps are written with PyTorch. Facebook originally developed the toolkit; since 2022 it has been maintained by the Linux Foundation. That ubiquity is why the stakes extend well past one vendor's tooling: whoever controls the path from PyTorch to silicon shapes which chips the bulk of AI development runs on.
What does TorchNeuron actually change?
TorchNeuron is adapted from PyTorch itself, so developers who know the framework already know how to use it. Amazon claims a single configuration line moves an application onto Trainium.
Amazon is not the first chipmaker to take this path. PyTorch users can already port apps to AMD GPUs, or even Apple's chips, with a simple configuration change. The difference is what Amazon attaches to the port: its entire cloud.
That is the core of AWS's pitch against the so-called neoclouds — GPU-focused compute providers such as Coreweave, Nebius and Firmus, many of which are 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, VP of Technology Software at AWS Annapurna Labs — the unit that builds Amazon's custom chips — said in an email to TechCrunch. "On AWS, the infrastructure to go from prototype to production is already there, allowing a founder to move fast and scale when they need to."
What does Amazon claim it saves?
AWS argues Trainium improves startup economics even where it does not offer the cheapest per-token price. The company's reasoning rests on two points:
- One chip handles both training (teaching the model) and inference (putting the finished model to work, such as answering a user's question).
- That chip integrates tightly with the surrounding cloud infrastructure startups already need.
"Trainium's value is price-performance plus the fact that it's one platform for both training and inference, which improves the economics across a full workload," Brace said.
He pointed to Deepgram, the AI voice application provider and ElevenLabs competitor, as evidence: "Look at Deepgram — they moved to Trainium using native PyTorch support and they're processing 70% more audio per dollar at production-grade accuracy."
The 70%-more-audio-per-dollar figure is Amazon's own customer example, offered without an independent audit, and it covers a single voice-processing workload. It is the kind of number chip vendors publish when arguing against a rival's raw price leadership.
Why does the upstream code contribution matter most?
The bigger move sits beyond TorchNeuron itself. Amazon says it will contribute code to the main PyTorch project — upstream, in open-source terms — to make the framework less automatically centered on Nvidia.
The company laid out the intent in its announcement blog post:
"Amazon's approach extends beyond its own hardware. The Company is contributing changes upstream to PyTorch itself, working with the PyTorch community 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."
If Amazon succeeds in uncoupling PyTorch from Nvidia at the framework level, the ramifications for the GPU maker could exceed those of any single competing chip. CUDA's tight integration with PyTorch is a structural moat; removing it opens the framework to Trainium, AMD, Apple silicon and any future entrant on more equal terms.
Brace framed the ambition in exactly those terms: "The real story is removing the lock-in that kept developers from having a real choice at all."
What could go wrong?
The tactic carries a built-in tension. One of the points of PyTorch is to hide the difficulties of getting AI code to run on hardware. Stripping out chip-specific code in the name of hardware neutrality risks exposing developers to exactly the kind of configuration work the framework was meant to absorb.
The source reporting raises the open question plainly: developers may gain more choice and more affordable options, as Amazon promises, or simply more configuration headaches. The outcome depends on how the PyTorch community — not Amazon alone — receives and merges the upstream changes, since the project has lived under Linux Foundation governance since 2022.
What comes next?
Watch two signals: whether Amazon's upstream contributions land in mainline PyTorch releases, and whether more startups follow Deepgram's path from CUDA-centric stacks to Trainium. Either would pressure Nvidia where its lead is least contested — not in silicon speed, but in software lock-in.
— Rebecca Stone
Original: i
More from Rebecca Stone
Show full bio
Correspondent covering companies, deals and strategy in artificial intelligence and machine learning at AI In Context.
327 articles
Related articles
- Google Open-Sources TorchTPU, Joining Amazon's Assault on Nvidia's AI Developer Lock-In
- Google Open-Sources TorchTPU, a Native PyTorch Backend for Cloud TPUs
- DeepSeek ships open-source TileLang tools for Huawei's Ascend chips
- Adobe rebuilds Photoshop and Premiere for NVIDIA's RTX Spark
- Nvidia launches open-weight Nemotron models for enterprise agents and AI PCs