This release is a pre-release and may not be stable for production use.
mlperf-sysinfo
A tool that automatically captures the system description of a benchmarking machine, built on top of the mlc-scripts and mlcflow automation.
Documentation: https://docs.mlcommons.org/mlperf-sysinfo/
pip install mlperf-sysinfo
mlperf-sysinfo --help lists the commands; mlperf-sysinfo <command> --help shows what one takes.
Quick Run
The steps below capture a system description for a CPU-only system, using only the machine you run them on. No other node is contacted.
Step 1 -- create a starter config
mlperf-sysinfo init endpoints
Sample output
$ mlperf-sysinfo init endpoints
[2026-08-19 21:37:29] INFO init: wrote template sysinfo.yaml (profile endpoints) to /home/user/sysinfo.yaml
[2026-08-19 21:37:29] INFO init: edit it before running 'mlperf-sysinfo capture -c sysinfo.yaml'
Step 2 -- edit sysinfo.yaml
The sample below is a complete config for a CPU-only capture of the machine you're on.
See The config file for every option, and for what each working group requires.
profile: endpoints
output:
dir: results/sysinfo
system:
name: devbox1
shortened_name: devbox1
availability: available
accelerator: none
nodes:
include_local: true
ssh: []
serving:
url: http://127.0.0.1:8000
submission:
division: standardized
Step 3 -- check the config
mlperf-sysinfo check -c sysinfo.yaml
Sample output
$ mlperf-sysinfo check -c sysinfo.yaml
profile endpoints
output results/sysinfo/system_desc.json
NODES
✓ this machine included
SERVING
! http://127.0.0.1:8000 no answer no serving framework answered
REQUIRED BY PROFILE 'ENDPOINTS'
✓ 5 fields set
WORTH FILLING IN
! system.cooling empty Reviewers ask how the nodes are cooled
! serving.node empty Enables parallelism and batch settings to be read from the startup log
! submission.notes.hardware empty Hardware detail no probe can report, such as interconnect topology or firmware
! submission.notes.software empty Software detail no probe can report, such as versions, flags or patches
! run.link_config empty Reviewers use it to reproduce the run
[2026-08-19 21:39:59] INFO check: ready to capture
The warnings above are expected for a config with no live endpoint, and they
don't block anything. capture always runs this check first, with no flag
to skip it; a missing required field or an unreachable node is what would
stop the run.
Step 4 -- capture
mlperf-sysinfo capture -c sysinfo.yaml
Sample output
$ mlperf-sysinfo capture -c sysinfo.yaml
[2026-08-19 21:42:12] INFO collector: pre-flight check passed -- 1 node(s), profile endpoints
[2026-08-19 21:42:12] INFO collector: collecting with tags: get-mlperf-multi-node-system-info,_cuda,_endpoints
[2026-08-19 21:42:18] INFO collector: 1 of 1 node(s) returned hardware
[2026-08-19 21:42:18] INFO collector: wrote results/sysinfo/system_desc.json
[2026-08-19 21:42:18] INFO capture: 1 node(s) - 1 accelerators - profile endpoints
[2026-08-19 21:42:18] INFO capture: run log results/sysinfo/.mlperf-sysinfo/capture_20260819_214212.log
[2026-08-19 21:42:18] INFO capture: next: mlperf-sysinfo show results/sysinfo/system_desc.json
Step 5 -- validate
mlperf-sysinfo validate results/sysinfo/system_desc.json
Sample output
$ mlperf-sysinfo validate results/sysinfo/system_desc.json
file results/sysinfo/system_desc.json
profile endpoints
WARNINGS
! cooling on every node type is empty -- Reviewers ask how the nodes are cooled
! hw_notes on every node type is empty -- Hardware detail no probe can report, such as interconnect topology or firmware
! sw_notes on every node type is empty -- Software detail no probe can report, such as versions, flags or patches
! link_config is empty -- Reviewers use it to reproduce the run
[2026-08-19 21:42:30] INFO report: valid -- 5 required field(s) present, 4 warning(s)
The config
Grouped by who owns the answer, not by which environment variable it sets.
profile: endpoints
output:
dir: results/h100_run1
system:
name: H100x8_vLLM
shortened_name: H100x8
availability: available
accelerator: cuda
nodes:
include_local: false
ssh:
- root@node1
- root@node2:2222
serving:
url: http://node1:8000
node: root@node1
log: /tmp/serving.log
submission:
division: standardized
notes:
hardware: ""
software: ""
run:
link_config: https://github.com/myorg/submission/tree/main/configs
Three rules worth knowing:
- Anything detectable is never a config field. CPU, memory, accelerators, node counts and framework version are probed. If they appear here at all, they are overrides.
${VAR}reads from the environment. BMC and API credentials are referenced, never written down.- The same file works embedded. Drop it under a
system_info:key in a benchmark config and it validates identically.
Use extends: ~/.mlperf/org.yaml to share defaults across configs.
Model, dataset and concurrency details are deliberately absent: for Endpoints
they are measurement point metadata (endpoints rules 8.3) and belong in each
point's points/<point>/config.yml, which this tool does not write.
Profiles
A profile says which fields are required, which extra collection steps to run, and what the output looks like.
| Profile | Output | Notes |
|---|---|---|
endpoints |
grouped, keeps node_types |
Probes the endpoint and parses the serving log |
inference |
flat, matches the Inference submission checker | Hardware lifted to the top level |
training |
flat, matches mlperf_logging/system_desc_checker |
A different checker from inference, with a different field set. Named <system_name>.json |
mlperf-sysinfo profiles lists them. All profiles live in this repo and ship
with the package. A config may also point at a file,
profile: ./my-profile.yaml, for building one before it is upstreamed.
Profiles always track the current MLPerf round; there is no version to pin. The round that applied is stamped into every output file, so a captured file records the rules that produced it.
Embedding
from mlperf_sysinfo import load_config, capture
config = load_config("sysinfo.yaml")
result = capture(config)
result.output_path # where the file landed
result.nodes # per-node status
result.complete # False if any node did not answer
capture() raises CheckFailed when pre-flight does not pass. Call
mlperf_sysinfo.check(config) on its own to run the same validation early --
at the start of a benchmark rather than at the end of one.
Exit codes
check is meant to be scriptable, so the codes are a contract:
| Code | Meaning |
|---|---|
| 0 | All good |
| 1 | The run found problems (missing fields, unreachable nodes, invalid file) |
| 2 | The command or the config was wrong |
Where files land
The deliverable is the only thing written to output.dir. Everything the
automation produces, meaning the raw intermediate, per-node files, and the run
log, goes into output.dir/.mlperf-sysinfo/. The run log is named after the time
the capture started (capture_20260819_202120.log), carries a header saying
which profile, config and nodes produced it, and closes with the outcome.
Between those it holds both the automation's output and this tool's own actions, each line with a date, a level and the module that acted:
[2026-08-19 20:21:20] INFO preflight: 5 of 5 required field(s) set for profile endpoints
[2026-08-19 20:21:20] INFO collector: collecting with tags: ...,_cuda,_endpoints
[2026-08-19 20:21:27] INFO collector: 1 of 1 node(s) returned hardware
The file keeps every level. On the terminal, output splits by shape: sentence-
shaped output (init, capture's status lines, every command's verdict) is
log records, while the aligned tables (check, show, validate, profiles)
keep their columns. Log lines go to stderr, so 2>trace.log separates the two.
--log-level debug|info|warning|error sets what shows; --verbose means
debug.
Partial captures
An unreachable node stops the run. --allow-partial proceeds anyway, and the
output records complete: false along with how many nodes answered.
validate then refuses the file, so a partial capture cannot be mistaken for a
whole one.
Development
uv venv && uv pip install -e ".[dev]"
uv run pytest
uv run ruff check .
License
Apache-2.0
Metadata
Release files for mlperf-sysinfo 1.0.0a12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mlperf_sysinfo-1.0.0a12.tar.gz | 105.6 kB | Without provenance | Details for mlperf_sysinfo-1.0.0a12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mlperf_sysinfo-1.0.0a12-py3-none-any.whl | Python 3 | none | any | Details for mlperf_sysinfo-1.0.0a12-py3-none-any.whl |
Total release size: 179.2 kB
Release files / mlperf_sysinfo-1.0.0a12.tar.gz
| Download URL | mlperf_sysinfo-1.0.0a12.tar.gz |
|---|---|
| Size | 105.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdd36957d2cd32f33526e9beb8148f13971a4871a17314c0e8d8b797deb0bb91
|
|
BLAKE2b-256 checksum How to use checksums |
4c0dbf32b32ea5c3829a8653442ca2dde5ce9fde81b7b6ce9c30bd8f2d686d60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / mlperf_sysinfo-1.0.0a12-py3-none-any.whl
| Download URL | mlperf_sysinfo-1.0.0a12-py3-none-any.whl |
|---|---|
| Size | 73.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ea3b2b39843c2f13780cfbb345aadb759049e6a302bcbee8d9586c32b7357eb
|
|
BLAKE2b-256 checksum How to use checksums |
483c5709185672d1d533c6017f0497dfa0bd26e8a8facb728087f4588356daa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for mlperf-sysinfo 1.0.0a12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.