Inference frameworks
Hugging Face and AWS Launch TorchNeuron Model Support Lookup
A Hugging Face post introduces the torch-neuronx model support Space, which shows whether popular Hub models run unmodified on AWS Trainium and how to reproduce each run.
Hugging Face published a blog post on October 23, 2026 introducing the torch-neuronx model support Space, a lookup tool that answers a narrow but practical question: which popular Hub models run unmodified on AWS Trainium. The post recalls that TorchNeuron, the torch-neuronx package, is the native PyTorch backend for Trainium; it lets Transformers execute its own modeling code as it would on any other device, so in principle any Transformers model on the Hub may run. Which ones actually do is what the Space measures.
The Space opens on a Selected view, a curated sample of top Hub models by downloads and trending score. Each row reports the result, how many Trainium cores the model was sharded over, wall time including compilation, and peak device memory. Users can switch to Trending or Downloads views, which follow the Hub's own rankings task by task, and type part of a model name to look it up. Models that were deliberately skipped still appear, with a reason: most were simply not prioritized, and a few are genuinely incompatible. The page also lets visitors pick versions of the neuronx-cc compiler and of Transformers.
According to the post, only Transformers models are tested for now, limited to text-generation and image-text-to-text tasks, with plans to expand to diffusers, sentence transformers and other tasks. Selecting a model reveals how to reproduce the run: the Neuron stack it was tested on, the packages to install on top of that stack, and the run.py script that executed. The script follows the TorchNeuron recipe, loading the model with from_pretrained, sharding it when needed, and generating with a static cache and torch.compile(backend="neuron"). On a Trainium2 instance carrying that stack, such as the AWS Neuron Deep Learning Container, installing the packages and running python3 run.py is enough; no torchrun is required because the script launches its own torch.distributed ranks when the model is sharded. A first run compiles the model's graphs, and to skip that step users can sync graphs built by the same compiler from a public NEFF cache bucket.
The pass criteria deserve attention. Each test loads the model on a trn2 instance sharded over the smallest number of Trainium cores that can hold its weights. Most models use tensor parallelism; mixture-of-experts models without a tensor-parallel plan use expert parallelism only. The test then generates 32 tokens and checks them: on a single core the tokens are compared with a CPU run of the same checkpoint, and when sharded a small judge model checks that the text is fluent English. The post states plainly that only models fitting on four Trainium2 devices, at most 16 cores, are tested, and that a PASS says nothing about throughput or about longer generations.
All results come from a public dataset with one Parquet file per pair of neuronx-cc and library versions. Each row holds the result, the error when a run failed, the versions of the whole stack and the script that ran, and the data can be queried directly with pandas. For developers, this turns "does it run" from anecdote into a queryable, reproducible record. The caveat is that it measures compatibility, not performance, so teams choosing hardware still need their own throughput and long-context tests.