.. meta::
    :description: Release notes for TorchTitan Neuron — large-model pre-training on AWS Trainium with TorchNeuron.
    :keywords: torchtitan neuron, torchtitan, training, pre-training, release notes, aws neuron sdk
    :date-modified: 2026-11-15

.. _torchtitan-neuron_rn:

TorchTitan Neuron Release Notes
===============================

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

TorchTitan Neuron is an extension of `pytorch/torchtitan
<https://github.com/pytorch/torchtitan>`_ that adds AWS Trainium support with TorchNeuron. For an introduction and the
supported models, see :doc:`/training/torchtitan/about-torchtitan-neuron`.

.. _torchtitan-neuron-2-34-0-rn:

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 :doc:`Neuron Agentic Development </tools/neuron-agentic-development/index>`.
  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 :doc:`/training/torchtitan/tutorials/tutorial-mxfp8-training`.

  For how weight pre-quantization changes the FSDP all-gather, see :doc:`/training/torchtitan/concepts/mxfp8-weight-all-gather`.

  To learn about zero code change agentic tuning see :doc:`/training/torchtitan/tutorials/tutorial-mxfp8-autotuning`.

- **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
~~~~~~~~~~~~~~~~~~~~~

* **New**: :doc:`/training/torchtitan/tutorials/tutorial-pipeline-parallel-training` walks through pipeline-parallel training of Llama 3.
* **New**: :doc:`/nki/deep-dives/mxfp-matmul-kernel` explains how the NKI Library MXFP8 matmul kernel runs on Trainium3.

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-2-33-0-rn:

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 :doc:`/release-notes/components/torchneuron`.

.. list-table::
   :header-rows: 1
   :widths: 35 35 30

   * - ``torch-neuronx`` package family
     - PyTorch version
     - Python versions
   * - ``2.14.3.1.*``
     - 2.14.0
     - 3.12, 3.13, and 3.14
