This document is relevant for: Trn3

TorchAO Neuron#

Beta Release

TorchAO Neuron is in beta. It is supported on Trn3 instances. We welcome your feedback.

torchao is the PyTorch-native library for low-precision training and inference. TorchAO Neuron is the Neuron fork of torchao. It adds a fused MXFP8 linear for Trainium that TorchTitan Neuron uses for MXFP8 training on top of TorchNeuron, the native PyTorch backend.

This section covers what TorchAO Neuron adds on Trainium, how to install it, and how to diagnose MXFP8 training problems. The MXFP8 training tutorials live with the other TorchTitan Neuron tutorials.

About TorchAO Neuron overview

The fused MXFP8 linear, quantization schemes, kernel options, and how TorchTitan Neuron uses it.

Get started quickstart

Install TorchAO Neuron.

MXFP8 training tutorials tutorial

MXFP8 training with TorchTitan Neuron, in the TorchTitan Neuron tutorials.

Troubleshooting troubleshooting

Common errors and symptoms in MXFP8 training runs.

This document is relevant for: Trn3