Open source #Open models Oct 20, 2026 · Originally published Oct 19

Hugging Face and AWS launch TorchNeuron: Transformers and friends run directly on Trainium, with 89% of the top 100 text-generation architectures working out of the box, up from 46%

Trainium goes from needing model-specific code to changing a device name, a key step in competing with GPUs for open-model workloads.

Image: Hugging Face Blog
Primary source Hugging Face Blog · huggingface.co Read the original ↗

// Key points

  • TorchNeuron is a PyTorch plugin that exposes neuron as a native device, supporting eager mode, torch.compile and distributed APIs such as FSDP and tensor parallelism.
  • Transformers, Diffusers, Accelerate, PEFT and TRL run on Trainium directly; for inference you pass device_map="neuron", and the authors recommend these libraries over Optimum Neuron.
  • 89% of the 100 most-used text-generation architectures work out of the box, up from 46% with Optimum Neuron v0.4.5.
  • It enters public beta on October 20; install with pip install torch-neuronx.

Builder's takeTeams fine-tuning or self-hosting open models on AWS can put Trainium back on the shortlist: the blocker used to be rewriting model code, and now it's changing a device. I'd take one inference service already working on GPUs, move it over unchanged and compare cost per million tokens; it's still a public beta, so don't move training first.

// Background · from #Open models

Full timeline →
  1. Oct 20 AWS contributes bi-directional KV transfer to vLLM, cutting time to first token in multi-turn agent sessions by up to 3.3x
  2. Oct 19 NVIDIA RTX Spark laptops go on sale from $2,399 with up to 128GB of unified memory
  3. Oct 18 DeepSeek releases V4.1-Flash-1017 under MIT: DeepSWE v1.1 rises from 74.2 to 77.0 and Terminal-Bench 4.0 from 31.2 to 42.3

Every Monday, the week in AI in one email

Every Monday morning: the 6 AI stories that mattered most in the past seven days, with my take, in your inbox.

Your email is only used to send the weekly and is never shared. Every email has a one-click unsubscribe link. See the latest issue →