AWS launches TorchNeuron to run PyTorch on Trainium with minimal code changes
At PyTorch Conference NA 2026, Amazon announced TorchNeuron, a native PyTorch backend that lets developers run existing PyTorch code on AWS Trainium chips with virtually no code changes (e.g., replace .to('cuda') with .to('neuron')). TorchNeuron supports distributed training APIs (DDP, FSDP2, DTensor), Torch streams/events, provides a Neuron Kernel Interface for custom operators, and Amazon says it validated the most popular models and hundreds of architectures; AWS cites early adopters including Cartesia and the Lieber Institute for Brain Development.