This document is relevant for: Inf1, Inf2, Trn1, Trn2, Trn3

TorchTitan Neuron Release Notes#

Latest version (in 2.34.0): 0.2.2+neuron.2 (Beta)

TorchTitan Neuron is an extension of pytorch/torchtitan that adds AWS Trainium support with TorchNeuron. For an introduction and the supported models, see What is TorchTitan Neuron?.

TorchTitan Neuron [0.2.2+neuron.2] (Neuron 2.34.0 Release)#

Date of Release: 11/30/2026

This release adds MXFP8 training on Trn3 and new MoE recipes that run the upstream TorchTitan MoE code on torch._grouped_mm.

  • MXFP8 training (Trn3):

    MXFP8 replica batch scaled recipe configurations for dense (Llama3 8B and 70B and Qwen3 0.6B to 32B) and MoE models (Qwen3-30B-A3B, DeepSeek-V3-16B, GPT-OSS-20B, and Qwen3-235B) in eager, torch.compile, and SimpleFSDP modes. Performant variants of these models run out of the box backed by MXFP8 NKI kernels and a kernel config library. MoE NKI kernels are composed of lower-level configurable kernels.

    MXFP8 NKI kernel and user-level config tools enable zero code change performance customization of released kernels and composed kernels. A recommended agentic tuning flow is also provided via Neuron Agentic Development. MXFP8 includes a fine-grained quantization of weight and transposed weight matrices of dense matmuls to reduce FSDP data transfer for weights in forward and backward train step and amortize the cost of tensor reshape for quantization.

    To get started, see Tutorial: Train Qwen3 in MXFP8 on Neuron.

    For how weight pre-quantization changes the FSDP all-gather, see Deep dive: MXFP8 weight all-gather with prequantized weight shards.

    To learn about zero code change agentic tuning see Tutorial: Auto-tune MXFP8 kernel configs for TorchTitan Neuron training.

  • Stock grouped_mm MoE recipes: Qwen3-30B-A3B, DeepSeek-V3-16B, and GPT-OSS-20B recipes that run the upstream TorchTitan MoE code on torch._grouped_mm with TP4 and FSDP16, in eager mode and with SimpleFSDP and torch.compile. They use upstream TorchTitan attention: FlexAttention with document masking for Qwen3-30B-A3B and DeepSeek-V3-16B, and varlen attention with attention sinks and a 128-token sliding window on alternating layers for GPT-OSS-20B. A new Neuron token dispatcher with a fused MoE combine is recommended for eager mode.

  • Qwen3-235B: BF16 and MXFP8 recipes. The Neuron expert-parallel dispatcher supports multiple local experts per rank, with faster backward passes for the MoE kernels.

Documentation updates#

Known issues and limitations#

  • MoE tuning files: A MoE tuning file is keyed by block size only, not the full shape, and may cause false hits of tuned configs.

TorchTitan Neuron [0.2.2+neuron.1] (Neuron 2.33.0 Release)#

First release of TorchTitan Neuron (Beta). It adds Trainium support to pytorch/torchtitan with TorchNeuron.

  • Supported models: Llama3, Qwen3, DeepSeek-V3, and GPT-OSS.

  • Distributed strategies: FSDP2 (fully_shard) and SimpleFSDP, tensor parallel (TP), context parallel (CP), expert parallel (EP) for MoE models, and pipeline parallel (PP).

  • Execution: eager mode and torch.compile with the Neuron backend (--compile.backend neuron).

  • Hardware: Trn2 and Trn3 instances.

Supported PyTorch and Python versions#

TorchTitan Neuron runs on torch-neuronx 2.14. For the full TorchNeuron support matrix, see Release Notes for Neuron Component: TorchNeuron.

torch-neuronx package family

PyTorch version

Python versions

2.14.3.1.*

2.14.0

3.12, 3.13, and 3.14

This document is relevant for: Inf1, Inf2, Trn1, Trn2, Trn3