Skip to main content
v2026.11,986 entries · CC-BY 4.0

MLPerf Inference: Scenarios, Divisions and How to Run the Reference Benchmark

How MLPerf Inference works, how to run the ResNet50 reference benchmark with MLC, and how to read a results row without misquoting it.

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.

  1. Install MLC as described above and activate your virtual environment.
  2. Optionally prepare a native Python environment for the benchmark: mlcr install,python-venv --name=mlperf export MLC_SCRIPT_EXTRA_CMD="--adr.python.name=mlperf".
  3. 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
  4. 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
  5. Run the accuracy-only measurement with the same command but the _accuracy-only tag in place of _performance-only.
  6. Repeat for other scenarios. For SingleStream or MultiStream, use the same commands with --scenario=SingleStream or --scenario=MultiStream. To run every edge scenario in one command, use the _all-scenarios tag and omit --scenario.
  7. Add compliance only after valid runs succeed. For a closed-division run the documentation says to add --division=closed, and you can add --compliance once 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 pip requires a virtual environment or the --break-system-packages flag. Create and activate the mlc virtual 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

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.

MLPerf Inference v6.1 benchmark models, datasets and categories
ModelDatasetCategory
resnet50-v1.5imagenet2012edge
yolo v11COCO safe subsetedge
bertsquad-1.1edge
dlrm-v3Synthetic datasetdatacenter
3d-unetKiTS19edge
stable-diffusion-xlCOCO 2014edge
Wan2.2-T2V-A14B-DiffusersCOCO 2014datacenter
llama2-70bOpenOrcadatacenter
rgatIGBHdatacenter
llama3.1-8bCNN-Daily Mailedge, datacenter
deepseek-r1AIME, MATH500, gpqa, MMLU-Pro, livecodebench (code_generation_lite)datacenter
whisperLibriSpeechedge, datacenter
GPT-OSSmlperf_gpt_oss_performance, mlperf_gpt_oss_accuracydatacenter
VLM (qwen3-vl-235b-a22b)Shopify-product-cataloguedatacenter
qwen3.6-27bBFCL v4 single-turn (accuracy) and recorded agentic-coding replay (performance)edge
e2e-rag (qna, db)FRAMESdatacenter

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about MLPerf Inference: Scenarios, Divisions and How to Run the Reference Benchmark

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →