Amazon targets Trainium gains with new TorchNeuron developer tool
TorchNeuron enables code written in the PyTorch AI coding language to run on Trainium AI chips with minimal modification
Amazon unveiled TorchNeuron, a new developer tool designed to make it easier to deploy PyTorch applications on its Trainium chips.
PyTorch is a free, open source toolkit that developers use to build, train, and run AI models. According to Amazon, TorchNeuron will allow developers to run their existing AI code on AWS Trainium chips by changing just one line of configuration, making it easier to adopt new hardware.
Long-term, aim appears to be aimed at providing developers with an easy-to-use alternative to Nvidia’s CUDA ecosystem for AI training and inference.
"Today, 85% of AI researchers and developers write their code in PyTorch. Until now, the hardware that code could run on was far more limited than the code itself, and expanding to new chips meant rewriting and revalidating work that took months to perfect," said the firm.
"Amazon is now closing that gap. With TorchNeuron, the PyTorch code developers already write runs natively on Amazon's AWS Trainium chips, with a single configuration change and no rewrite."
The company said that when its engineers ran the same AI training script on a conventional chip and Trainium, the AI model learned the same things at the same rate; the only difference was a setting that told the code which chip to use.
This, Amazon noted, means that the tools developers already use to test, debug, and scale their AI models all work on Trainium without modification.
Sign up today and you will receive a free copy of our Future Focus 2026 report - the leading resource for IT decision-maker insight on priorities and investment areas in AI, security and more.
A boon for startups?
PyTorch said early adopters include startups, enterprises, machine learning industry partners, and academic institutions, with applications spanning autonomous vehicles, robotics, video generation, speech, telecommunications, healthcare, and geospatial modeling.
"With PyTorch native support on AWS Trainium, we ran our standard inference pipeline with minimal changes to our PyTorch code," said Arjun Desai, co-founder of voice AI firm Cartesia.
"Small, fast ops map efficiently through the native path, so we didn’t have to hand-write kernels for them. That lets our team concentrate on writing high-performance NKI kernels for the layers that are called repeatedly and drive end-to-end latency."
TorchNeuron will roll out as free and open source software under the Apache 2.0 license at PyTorch Conference North America.
Looking ahead, Amazon said that it's contributing changes upstream to PyTorch itself, working with the community to remove code that ties the framework to specific chips.
The aim is to make PyTorch more hardware-agnostic for the entire developer community, not just Trainium users. Google is already working on TorchTPU, a similar project to run PyTorch natively on its chips.
"By reducing the friction of adopting new hardware, TorchNeuron introduces something the AI industry has largely lacked: meaningful choice," said Amazon. "When developers can move between chips without penalty, chipmakers have to earn developers' business, and developers benefit from lower costs and faster iteration."
FOLLOW US ON SOCIAL MEDIA
Follow ITPro on Google News and add us as a preferred source to keep tabs on all our latest news, analysis, views, and reviews.
You can also follow ITPro on LinkedIn, X, Facebook, and BlueSky.
Emma Woollacott is a freelance journalist writing for publications including the BBC, Private Eye, Forbes, Raconteur and specialist technology titles.
-
ConnectWise breach: Cloud services disruption continues three days after initial intrusion detectedNews The company says “no successful threat activity” has been observed on its own environments. Partners, however, may still be at risk
-
Enterprises are burning through cash on software upgrades – and there’s nothing they can do about itNews Vendor-driven software upgrades are stretching budgets and forcing some firms to ditch projects
-
AWS CEO Matt Garman is bullish on the future of SaaS — Amazon Quick shows there’s a ‘great business opportunity’ with AI-powered softwareNews Matt Garman said fears over the ‘SaaSpocalypse’ were overblown in February, now AWS is making big moves in the SaaS space
-
CMA launches Microsoft probe amid software licensing concernsNews The regulator hopes to “ensure a level playing field” when it comes to competition in the business software market
-
AWS expands language support for Amazon Q DeveloperNews AWS has expanded support for languages in Amazon Q Developer, making it easier for developers to code in their first language.
-
Redis insists license changes were the “only way to compete with Amazon and Google” — now it could face a user exodusNews Redis sparked controversy when it announced licensing changes in March this year – but the company believes the move was warranted
-
Everything you need to know about Amazon Q, including features, pricing, and business tiersExplainer Amazon Q can help developers write code faster and help workers with no coding experience build their own generative AI apps
-
Amazon to become Microsoft 365 customer in landmark $1 billion dealNews The Microsoft 365 deal marks a major pivot for Amazon, which has traditionally avoided using rival cloud products
-
Tech giants lobby US to fund chip productionNews Industry heavyweights ask Congress for $50 billion in chip manufacturing subsidies
-
Microsoft has an edge on AWS, according to IT executivesNews Goldman Sachs survey suggests IT executives see Microsoft winning the cloud wars over the next three years