Does Your Model Run on AWS Trainium? Look It Up is a new tool from Hugging Face that helps users determine whether a model runs natively on AWS Trainium hardware.
What Happened
On October 23, 2026, Hugging Face launched a new feature called the torch-neuronx model support Space.
This tool checks whether popular models on the Hugging Face Hub can run unmodified on AWS Trainium devices using the TorchNeuron backend.
How It Works
The Space shows results for models selected based on downloads and trending scores.
- Users can search models by name in the Trending or Downloads views.
- Each model entry lists whether it runs on Trainium, core count, wall time, and peak memory.
- Models not tested are marked with a note explaining why—such as being intentionally excluded or incompatible.
The tool supports specific versions of the Neuron compiler (neuronx-cc) and the Transformers library.
Running a Model Yourself
To run a model locally, follow the script provided in the Space.
- Install the required packages on an AWS Neuron Deep Learning Container.
- Run the
run.pyscript, which loads the model viafrom_pretrainedand applies sharding when needed. - The script uses
torch.compile(backend="neuron")to optimize execution.
To skip compilation, copy pre-built graphs from the public NEFF cache bucket using this command:
hf buckets sync hf://buckets/aws-neuron/torch-neuronx-neff-cache/neuronxcc- /tmp/neff_cache
The script launches distributed ranks automatically when sharding is needed—no external torchrun is required.
What ‘Runs’ Means
Each test runs a model on a Trainium2 instance with the smallest number of cores that can hold its weights.
- Most models use tensor parallelism.
- Mixture-of-experts models use expert parallelism only if no tensor-parallel plan exists.
- The model generates 32 tokens and compares them to a CPU run for single-core models.
- For sharded models, a small judge model checks if the output is fluent English.
Limitations and Scope
As of the publication date, only models that fit on four Trainium2 devices (16 cores maximum) are tested.

A ‘PASS’ result does not indicate performance, throughput, or long-term generation quality.
The dataset used is public and available via a Parquet file in the aws-neuron/torch-neuronx-model-support dataset.
Users can query it directly using Python:
import pandas as pd
df = pd.read_parquet("hf://datasets/aws-neuron/torch-neuronx-model-support/data")
df[df.model_id == "Qwen/Qwen3-0.6B"][["neuronx_cc", "library", "library_version", "neuron_cores", "result"]]
The dataset card explains the exact meaning of each result code.
Why It Matters
This tool lets developers quickly check model compatibility with AWS Trainium without manual testing.
It enables native execution of Hugging Face models on AWS, reducing reliance on cloud-specific wrappers or custom code.
What to Watch Next
Hugging Face plans to expand testing to other model types, including diffusers, sentence transformers, and other transformer-based tasks.
Currently, only text-generation and image-text-to-text models are included.
For more on TorchNeuron, see the original post.
Explore related content on Hugging Face’s blog, including TorchNeuron: running HF models on AWS Trainium is easier than ever and Hugging TPU: TPUs, Natively.
Sources & further reading
Featured image: original publisher image. Via original publisher. Image source

