AI Cloud Architect

AWS announces TorchNeuron: Native PyTorch Support for AWS Trainium (Public Beta)

AWSAnnouncement by Amazon Web ServicesWhat's New with AWS

Today, AWS launched the public beta of TorchNeuron, an open source native PyTorch backend for AWS Trainium. Trainium is a portfolio of AI chips designed to deliver high performance and cost efficiency for deep learning AI training and inference workloads. TorchNeuron enables AI scientists and researchers to experiment and build models with PyTorch natively on Trainium. With TorchNeuron, developers can enable their PyTorch code on Trainium simply by switching to .to('neuron') while maintaining...

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

TorchNeuron, an open source native PyTorch backend, is in public beta for AWS Trainium, so PyTorch code can run on Trainium by switching to .to('neuron').

Who it is for

PyTorch developers and researchers training or serving models on Trainium2 or Trainium3 instances who want to avoid a separate code path.

Key points

  • Supports eager execution, torch.compile and standard PyTorch APIs, per AWS.
  • Integrates with Neuron Kernel Interface (NKI) for custom operators and performance tuning.
  • Available as open source on GitHub for Amazon EC2 Trainium2 and Trainium3 instances.

The same at other vendors

Timeline

Posts about AWS Trainium, oldest first.

  1. Update to an existing featureAWS Neuron SDK 2.29.0 now available with NKI and Neuron Explorer out of Beta, a new CPU Simulator, and an expanded NKI Library · AWS · Release note
  2. New featureAWS Neuron SDK now available with Neuron Agentic Development for NKI kernel development on Trainium · AWS · Announcement
  3. How-toStop hand-tuning kernels: How Neuron Agentic Development accelerates AWS Trainium optimizations · AWS · How-to
  4. How-toHow Deepgram optimized voice AI at scale with AWS Trainium · AWS · How-to
  5. This postAWS announces TorchNeuron: Native PyTorch Support for AWS Trainium (Public Beta)Also published by What's New with AWS
  6. How-toBeyond the KV cache: Training and serving i14’s Laplace 3B linear attention model on AWS Trainium2 with native PyTorch · AWS · How-to
  7. How-toTrain Qwen3 on AWS Trainium with torchtitan · AWS · How-to
  8. Listed inAWS Weekly Roundup: Amazon Polly Generative engine, TorchNeuron for Trainium, and more (October 26, 2026) · AWS · Release note
  9. How-toDeploy frontier AI models on AWS Trainium with SGLang-Neuron · AWS · How-to
Show all 11 posts
  1. Customer storySplash Music transforms music generation using AWS Trainium and Amazon SageMaker HyperPod · AWS · Customer story
  2. How-toAccelerating decode-heavy LLM inference with speculative decoding on AWS Trainium and vLLM · AWS · How-to
  3. Update to an existing featureAWS Neuron SDK 2.29.0 now available with NKI and Neuron Explorer out of Beta, a new CPU Simulator, and an expanded NKI Library · AWS · Release note
  4. New featureAWS Neuron SDK now available with Neuron Agentic Development for NKI kernel development on Trainium · AWS · Announcement
  5. How-toStop hand-tuning kernels: How Neuron Agentic Development accelerates AWS Trainium optimizations · AWS · How-to
  6. How-toHow Deepgram optimized voice AI at scale with AWS Trainium · AWS · How-to
  7. This postAWS announces TorchNeuron: Native PyTorch Support for AWS Trainium (Public Beta)Also published by What's New with AWS
  8. How-toBeyond the KV cache: Training and serving i14’s Laplace 3B linear attention model on AWS Trainium2 with native PyTorch · AWS · How-to
  9. How-toTrain Qwen3 on AWS Trainium with torchtitan · AWS · How-to
  10. Listed inAWS Weekly Roundup: Amazon Polly Generative engine, TorchNeuron for Trainium, and more (October 26, 2026) · AWS · Release note
  11. How-toDeploy frontier AI models on AWS Trainium with SGLang-Neuron · AWS · How-to

Go deeper