Written and maintained by CASRAI Editorial Board
Published · Last updated
On this page
MLPerf Inference is the MLCommons benchmark suite for measuring how fast systems can run trained machine-learning models in defined deployment scenarios. Researchers use it to compare hardware and software stacks on the same task, to cite a neutral throughput or latency figure, and to run the open reference implementation on their own machine. You install the MLCommons automation tool (MLC), then run an mlcr run-mlperf,inference command for a chosen model, scenario and device.
This guide covers what the benchmark measures, how to install and run the ResNet50 reference benchmark with the commands in the official documentation, and how to read a published results row correctly. The data table at the end lists the models and datasets in the current v6.1 round. The MLCommons organisation behind the benchmark has a short entry in the MLCommons benchmark dictionary term; this page is the practical companion.
What MLPerf Inference is used for in research
The project README describes MLPerf Inference as “a benchmark suite for measuring how fast systems can run models in a variety of deployment scenarios”. Each benchmark pairs a model with a dataset and a quality target, so a result means a system reached the required accuracy at a measured speed, not just that it ran quickly. The repository is released under the Apache-2.0 licence and the benchmark is described in Reddi et al., “MLPerf Inference Benchmark” (arXiv 1911.02549, ISCA 2020).
Three research uses follow from that design.
- Comparing systems fairly. The Closed division requires the same model as the reference implementation, so differences between rows come from hardware and software, not from a changed network.
- Citing performance evidence. A results row is a documented record from one submitter, one software stack and one hardware platform, which is more defensible in a methods section than a vendor slide.
- Reproducing a baseline locally. The reference implementations let a lab measure its own machine on the same workload definition, which is useful for compute planning and for checking whether a reported number is plausible on comparable hardware.
It is not a model-quality leaderboard for science tasks. Accuracy is a threshold a system must meet, not the ranked metric. For a different kind of model benchmark see BIG-bench, and for how benchmark results are tracked against papers see Papers with Code.
The four scenarios and what each measures
MLPerf Inference runs each model under traffic patterns generated by a standard load generator called LoadGen. The original paper defines the four scenarios and their metrics as follows (2019-2020 paper values; rules in current rounds can differ, so check the current rules before quoting a threshold).
| Scenario | Query pattern | Reported metric (paper) |
|---|---|---|
| Single stream | One-sample queries issued sequentially | 90th-percentile latency |
| Multistream | Several samples per query at a fixed interval; at most 1% of intervals may be skipped | Number of streams supported within the quality-of-service bound |
| Server | One-sample queries arriving at random (Poisson) times | Queries per second sustained within a latency bound |
| Offline | One query containing all samples | Samples per second |
The current MLCommons results pages name the same four scenarios as Server, Offline, Single Stream and Multiple Stream. For the Server and Offline scenarios the results report system power; for Single Stream and Multiple Stream they report energy per stream. Power is the average AC power measured for the whole system at the wall during each benchmark’s performance run.
How to install or access MLPerf Inference
There are two ways to use it: read published results on the MLCommons site, or run the open-source code yourself. Published results for the datacenter suite are on the MLCommons “MLPerf Inference: Datacenter” benchmark page, with sibling pages for edge, mobile and tiny systems. The code is on GitHub at mlcommons/inference, which holds LoadGen (loadgen/), the model folders for vision, language, recommendation, speech and image or video generation, compliance tests and tools. The README asks submitters to use the master branch.
To run the reference benchmarks, the MLC documentation lists three prerequisites: git, python3-pip and python3-venv. A virtual environment is optional but recommended, because recent pip versions otherwise need the --break-system-packages flag. Then install the default MLC-Scripts package:
python3 -m venv mlc
source mlc/bin/activate
pip install mlc-scripts
To work from a custom fork or the development branch instead, the documentation gives pip install mlcflow && mlc pull repo --url=mlcommons@mlperf-automations --branch=dev, where the repository is written as githubUsername@githubRepo or any URL. The ResNet50 page lists 50 GB of disk space as a requirement.
How to run the ResNet50 reference benchmark step by step
The commands below are those shown on the MLCommons ResNet50 page for the reference implementation with ONNX Runtime on a CPU in the edge category. That page uses the _r6.0-dev tag as its primary version tag and says _r5.1-dev can be given instead if you want to run the benchmark with MLPerf version 4.1. Docker is supported by adding --docker; the native route is shown here.
- Install MLC as described above and activate your virtual environment.
- Optionally prepare a native Python environment for the benchmark:
mlcr install,python-venv --name=mlperf export MLC_SCRIPT_EXTRA_CMD="--adr.python.name=mlperf". - Run the test run to find a starting performance figure. The documentation says this “should do a test run of Offline scenario and record the estimated offline_target_qps”:
mlcr run-mlperf,inference,_find-performance,_full,_r6.0-dev --model=resnet50 --implementation=reference --framework=onnxruntime --category=edge --scenario=Offline --execution_mode=test --device=cpu --quiet --test_query_count=1000 --rerun - Run the performance-only measurement in valid mode:
mlcr run-mlperf,inference,_full,_r6.0-dev,_performance-only --model=resnet50 --implementation=reference --framework=onnxruntime --category=edge --scenario=Offline --execution_mode=valid --device=cpu --quiet - Run the accuracy-only measurement with the same command but the
_accuracy-onlytag in place of_performance-only. - Repeat for other scenarios. For SingleStream or MultiStream, use the same commands with
--scenario=SingleStreamor--scenario=MultiStream. To run every edge scenario in one command, use the_all-scenariostag and omit--scenario. - Add compliance only after valid runs succeed. For a closed-division run the documentation says to add
--division=closed, and you can add--complianceonce the valid runs have passed.
Useful options from the same page: --threads=# and --batch_size=# apply only if the implementation supports them, --rerun repeats a run even when a valid result exists, and --docker_os, --docker_os_version and --docker_cache=no control the container. The page cautions that reference implementations “are in most cases are not best performing” and recommends a vendor implementation if you are benchmarking a specific system.
How to read the output
Reading the output has two parts: the run you just did and the published tables you compare it to.
Your own run
LoadGen “efficiently and fairly measures the performance of inference systems”: it generates scenario traffic, records it and summarises the results, including whether the performance constraints were met. It does not know the model, the data format or how accuracy is scored, so the performance run and the accuracy run are separate steps. Accuracy is scored by processing LoadGen’s accuracy log with the model owners’ own Python scripts. The ResNet50 documentation page does not describe output file names, so read the summary the run prints and the files MLC reports at the end of the run rather than assuming a layout.
A published results row
The MLCommons results pages state that each row is a set of results produced by a single submitter, for one software stack on one system. Read a row in this order.
- Division. Closed rows use the same model as the reference implementation and are meant for hardware and framework comparison. Open rows may use a different model or retraining, and may add a model-used field and notes, so never rank an Open row against a Closed row.
- Category. Available systems contain only components that can be bought or rented in the cloud. Preview systems must be submittable as Available in the next round. RDI systems (research, development or internal) contain experimental or internal hardware or software.
- Scenario and metric. Match your workload to the scenario: Offline for batch throughput, Server for online serving, Single Stream for latency of one user.
- Power. Power figures are whole-system AC wall power, so they are not comparable with chip-level power numbers.
- Status. The results pages note that published results are sometimes modified or invalidated and link a change log. Check it before citing a number.
The pages link a Results Usage Guidelines document; follow it when you quote results in a paper. For citing the benchmark itself, the repository README points to the arXiv paper 1911.02549.
Troubleshooting MLPerf Inference
- pip refuses to install packages system-wide. The MLC install page says recent
piprequires a virtual environment or the--break-system-packagesflag. Create and activate themlcvirtual environment first. - A run reuses an old result. Add
--rerun, which repeats the run even when a valid result exists. - Your number is far below a published row. The reference implementations are often not the best performing; published rows commonly use vendor implementations on different hardware. Compare like with like by category and scenario.
- A result is accepted by LoadGen but is not a valid submission. LoadGen cannot enforce submission requirements and warns users to choose test settings carefully, so a submission needs the compliance runs and the Submission Guidelines in the repository.
- Power results are not available on your machine. The README says power submissions use SPEC PTD 1.11.1, which requires special access, and power code from the power-dev repository.
- A published row changed. Check the change log linked from the results page.
Free alternatives to MLPerf Inference
MLPerf Inference is itself open source, and MLCommons publishes sibling benchmarks that measure different things. Choose by the question you need answered.
| Benchmark | What it measures (MLCommons description) |
|---|---|
| MLPerf Training | How fast systems can train models to a target quality metric |
| MLPerf Training: HPC | Training to a target quality metric on large-scale supercomputers |
| MLPerf Client | Performance of large language models and other AI workloads on personal computers, from laptops to workstations |
| MLPerf Storage | How fast storage systems can supply training data while a model is being trained |
| MLPerf Automotive | Performance of computers intended for automotive, including ADAS/AD and in-vehicle infotainment |
| AlgoPerf: Training Algorithms | How much faster neural network models can train to a given target performance by changing the training algorithm |
| AILuminate | The safety of general chatbot generative AI systems |
MLPerf Inference also has Edge, Mobile and Tiny sub-suites for edge systems, consumer mobile devices and ultra-low-power systems. If your question is energy rather than speed, the CodeCarbon guide covers a software estimator for the emissions of a training or inference run, which answers a different question from MLPerf’s wall-power measurement. For machine-readable dataset metadata from the same organisation, see Croissant.
Sources
- MLCommons, MLPerf Inference: Datacenter v6.1 results page (read 2026-11-17)
- MLCommons, Benchmarks overview (read 2026-11-17)
- mlcommons/inference README (GitHub) (read 2026-11-17)
- MLCommons Inference documentation: Install (read 2026-11-17)
- MLCommons Inference documentation: ResNet50 benchmark (read 2026-11-17)
- LoadGen README (GitHub) (read 2026-11-17)
- Reddi et al., MLPerf Inference Benchmark, arXiv 1911.02549 (read 2026-11-17)
Data: MLPerf Inference v6.1 benchmark models, datasets and categories
Models and reference datasets in the MLPerf Inference v6.1 round with the deployment category each is assigned, compiled from the mlcommons/inference repository README as read on 2026-11-17.
Period covered: 2026.
| Model | Dataset | Category |
|---|---|---|
| resnet50-v1.5 | imagenet2012 | edge |
| yolo v11 | COCO safe subset | edge |
| bert | squad-1.1 | edge |
| dlrm-v3 | Synthetic dataset | datacenter |
| 3d-unet | KiTS19 | edge |
| stable-diffusion-xl | COCO 2014 | edge |
| Wan2.2-T2V-A14B-Diffusers | COCO 2014 | datacenter |
| llama2-70b | OpenOrca | datacenter |
| rgat | IGBH | datacenter |
| llama3.1-8b | CNN-Daily Mail | edge, datacenter |
| deepseek-r1 | AIME, MATH500, gpqa, MMLU-Pro, livecodebench (code_generation_lite) | datacenter |
| whisper | LibriSpeech | edge, datacenter |
| GPT-OSS | mlperf_gpt_oss_performance, mlperf_gpt_oss_accuracy | datacenter |
| VLM (qwen3-vl-235b-a22b) | Shopify-product-catalogue | datacenter |
| qwen3.6-27b | BFCL v4 single-turn (accuracy) and recorded agentic-coding replay (performance) | edge |
| e2e-rag (qna, db) | FRAMES | datacenter |
Sources
- mlcommons/inference README (accessed 2026-11-17)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







