This document is relevant for: Trn2, Trn3
torch.compile on Neuron#
TorchNeuron provides native torch.compile support on AWS Trainium through a
custom TorchDynamo backend, selected with torch.compile(model, backend="neuron").
This section explains how compilation works on Neuron and how to use it to optimize
your PyTorch models.
This document is relevant for: Trn2, Trn3