This document is relevant for: Trn2, Trn3
TorchNeuron guides
Task-oriented guides for common TorchNeuron workflows on AWS Trainium. Each guide walks you through
a specific task with step-by-step instructions.
Integrate NKI kernels into torch-neuronx workflows with @nki_op, autograd, and
torch.compile.
Configure FSDP, DTensor, DDP, and functional collectives on Neuron.
Use torch_neuronx.memory_* APIs and Neuron Explorer to measure and fix memory
issues.
JIT-compile your model with backend="neuron". Covers the compilation
pipeline, optimization, compiling without hardware, and the backend reference.
This document is relevant for: Trn2, Trn3