The supported preview install comes from a source checkout. The distribution
name is mlperf-edu, the public command is mlperf, and the Python
compatibility package is mlperf_edu. No package-index release is claimed.
cd mlperf-edu
uv sync --locked --extra dev
uv run mlperf doctor
uv run mlperf list profiles
uv run mlperf validate smoke --output-dir submissions/install-smokeUse this path for development, classrooms, and artifact evaluation. It creates
an isolated .venv and runs the command from the current source tree. Python
3.10 or newer is required. A GPU is optional.
doctor checks the environment and registry. The actual smoke preset executes
and grades the fast benchmark collection. A successful doctor alone does not
prove that workload execution works.
cd mlperf-edu
uv tool install .
mlperf doctor
mlperf run --profile min --dry-runThis makes mlperf available as a normal command while installing from the
checkout. It is not equivalent to a published package-index install.
cd mlperf-edu
uv run python tools/export_flat_registry.py --check
uv run python tools/build_wheel.pyThe review wheel must include the fourteen-workload packaged registry, dataset catalog, and twelve-case draft-result index for the current nine-workload evidence scope. The five functional-stage workloads do not have draft quality results. A future promoted wheel will additionally include the strict promoted index. Inspect and install the wheel in a fresh environment outside the checkout.
wheel=$(find dist -maxdepth 1 -name '*.whl' -print -quit)
test -n "$wheel"
unzip -l "$wheel" | grep -q 'mlperf_edu/workloads.yaml'
unzip -l "$wheel" | grep -q 'mlperf_edu/datasets.yaml'
unzip -l "$wheel" | grep -q 'mlperf_edu/provisional_results/index.json'
uv venv /tmp/mlperf-edu-wheel-smoke --python 3.12
uv pip install --python /tmp/mlperf-edu-wheel-smoke/bin/python "$wheel"
(
cd /tmp
/tmp/mlperf-edu-wheel-smoke/bin/mlperf list --format json \
> /tmp/mlperf-edu-workloads.json
)
python3 -c 'import json; assert json.load(open("/tmp/mlperf-edu-workloads.json"))["workloads"]'The native registry under registry/ is the authoring source. The root
workloads.yaml and src/mlperf_edu/workloads.yaml files are generated
compatibility mirrors. Keep them synchronized with these commands.
uv run python tools/export_flat_registry.py --checkRun the generators without --check only when intentionally refreshing their
outputs.
cd mlperf-edu
python3 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e '.[dev]'
mlperf doctor
mlperf validate smoke --output-dir submissions/pip-smokeThe lockfile-backed uv path is the release reference because it constrains
the environment more tightly. The editable pip path is a convenience path,
not independent release evidence.
uv sync --locked --extra tutorial
uv sync --locked --extra dev --extra tutorialThe tutorial extra installs marimo for the implemented first notebook. The
canonical keyword-spotting path consumes the pinned preprocessed MLPerf Tiny
accuracy set and does not require torchaudio.
The core install and all lab smoke paths run on CPU without a network after
dependencies are installed. Canonical max runs fetch pinned datasets and
model artifacts on first use. Cache those assets before a class, airplane run,
or reproducibility session.
uv run mlperf fetch --profile max --dry-run
uv run mlperf cache list
uv run python examples/lab1_optimization.py --smoke
uv run python examples/lab2_inference_sut.py --smoke
uv run python examples/lab3_arch_comparison.py --smoke
uv run python tutorials/smoke_first_benchmark.pyThe repository does not yet provide a complete offline bundle containing all dependencies, datasets, and model weights.
Use RELEASE_CHECKLIST.md as the executable ledger. The minimum install and packaging subset follows.
set -euo pipefail
uv sync --locked --extra dev
uv run pytest
uv run python tools/export_flat_registry.py --check
uv run python tools/sync_verified_baselines.py --check
uv run python tools/check_taxonomy.py
uv run python tools/check_reference_claims.py --check
uv run python tools/generate_review_packets.py --check
uv run python tools/generate_docs.py --check
uv run mlperf audit --policy public # expected to return 1 while all workloads are experimental
uv run mlperf validate smoke --output-dir submissions/release-smoke
uv run python tools/build_wheel.pyThe strict audit is a policy gate. The review draft intentionally returns status 1 because all fourteen workloads remain experimental; validation should record that expected block rather than relabeling draft evidence as public.
Actual max and release validation remain separate evidence-bearing gates.
Selection-only dry runs do not satisfy them.
uv run python tools/generate_docs.py --check
uv run playwright install chromium
quarto render site
uv run python tools/check_site_layout.py \
--build-dir site/_build \
--report-dir site-layout-report
python3 ../shared/scripts/check-internal-links.py site --quietThe workflows can build a development preview and a manually confirmed live preview. Their presence does not prove that the current revision has deployed. The live workflow is documentation publication only. It does not publish the Python package or imply MLCommons endorsement.