Skip to content

Commit fd89e3c

Browse files
Merge branch 'master' into arav-patch-016
2 parents a026ce5 + 7581d94 commit fd89e3c

62 files changed

Lines changed: 533 additions & 268 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/auto-update-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Auto-Update Dev Branches from Master
33
on:
44
push:
55
branches:
6-
- master # Trigger workflow on commits to 'master' branch.
6+
- master # Trigger workflow on commits to 'master' branch
77
workflow_dispatch: {}
88

99
jobs:

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Build loadgen wheels and release them into PYPI
22

3+
34
on:
45
release:
56
types: [published]

.github/workflows/test-bert.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Test for MLPerf inference bert submission generation using MLC script auto
55

66
on:
77
pull_request:
8-
branches: [ "master_off", "dev_off" ]
8+
branches: [ "master", "dev" ]
99
paths:
1010
- language/bert/**
1111
- tools/submission/**
@@ -22,8 +22,8 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
python-version: [ "3.9" ]
26-
backend: [ "deepsparse" ]
25+
python-version: [ "3.10" ]
26+
backend: [ "onnxruntime" ]
2727

2828
steps:
2929
- uses: actions/checkout@v3
@@ -36,4 +36,4 @@ jobs:
3636
python3 -m pip install mlc-scripts
3737
- name: Test BERT and end to end submission generation
3838
run: |
39-
mlcr run,mlperf,inference,generate-run-cmds,_submission,_short --quiet --submitter="MLCommons" --hw_name=default --model=bert-99 --implementation=reference --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --adr.compiler.tags=gcc --adr.inference-src.version=custom --adr.inference-src.tags=_repo.${{ github.event.pull_request.head.repo.html_url }},_branch.$PR_HEAD_REF --adr.inference-src-loadgen.tags=_branch.$PR_HEAD_REF,_repo.${{ github.event.pull_request.head.repo.html_url }} --adr.inference-src-loadgen.version=custom --adr.loadgen.version=custom
39+
mlcr run,mlperf,inference,generate-run-cmds,_submission,_short --quiet --submitter="MLCommons" --hw_name=default --model=bert-99 --implementation=reference --backend=${{ matrix.backend }} --device=cpu --scenario=Offline --adr.compiler.tags=gcc --adr.inference-src.version=custom --adr.inference-src.tags=_repo.${{ github.event.pull_request.head.repo.html_url }},_branch.$PR_HEAD_REF --adr.inference-src-loadgen.tags=_branch.$PR_HEAD_REF,_repo.${{ github.event.pull_request.head.repo.html_url }} --adr.inference-src-loadgen.version=custom --adr.loadgen.version=custom

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
[submodule "language/deepseek-r1/submodules/LiveCodeBench"]
1111
path = language/deepseek-r1/submodules/LiveCodeBench
1212
url = https://github.com/LiveCodeBench/LiveCodeBench
13-
[submodule "text_to_video/wan2.2-t2v-14b/submodules/VBench"]
14-
path = text_to_video/wan2.2-t2v-14b/submodules/VBench
13+
[submodule "text_to_video/wan-2.2-t2v-14b/submodules/VBench"]
14+
path = text_to_video/wan-2.2-t2v-a14b/submodules/VBench
1515
url = https://github.com/Vchitect/VBench

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Please see the [MLPerf Inference benchmark paper](https://arxiv.org/abs/1911.025
1717

1818
Please see [here](https://docs.mlcommons.org/inference/benchmarks/) for the MLPerf inference documentation website which includes automated commands to run MLPerf inference benchmarks using different implementations.
1919

20-
## MLPerf Inference v6.0 (submission deadline February 13, 2025)
20+
## MLPerf Inference v6.0 (submission deadline February 13, 2026)
2121

2222
For submissions, please use the master branch and any commit since the [6.0 seed release](https://github.com/mlcommons/inference/commit/f131a0d29ccae9a967d93ffe96f66b1be3537d3b) although it is best to use the latest commit in the [master branch](https://github.com/mlcommons/inference).
2323

compliance/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ The `run_verification.py` found in each test directory will copy the test files
4747
| DeepSeek-r1 | [TEST06](./TEST06/) |
4848
| Whisper | [TEST01](./TEST01/) |
4949
| gpt-oss-120b | [TEST07](./TEST07/), [TEST09](./TEST09/) |
50-
| wan2.2-t2v-14b | [TEST01](./TEST01/), [TEST04](./TEST04/) |
50+
| wan2.2-t2v-14b | [TEST04](./TEST04/) |
File renamed without changes.

compliance/TEST04/audit.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
*.Server.performance_issue_same = 1
2020
*.Server.performance_issue_same_index = 3
2121
stable-diffusion-xl.Offline.min_query_count = 500
22+
wan-2.2-t2v-a14b.Offline.min_query_count = 20
23+
wan-2.2-t2v-a14b.SingleStream.min_query_count = 20
2224
# You can optionally set the target qps to match the expected query count
2325
# in the min duration with the min_query_count. But take into account you
2426
# system expected qps, the min duration for this test is 10 minutes

compliance/TEST07/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ This repository provides the config files and scripts to run and verify TEST07 -
1212

1313
## Applicable Benchmarks
1414

15-
| Model | Accuracy Threshold | Score Pattern | Dataset Size |
16-
|-------|-------------------|---------------|--------------|
17-
| gpt-oss-120b | 60.698 | `'exact_match': <score>` | 990 |
15+
| Model | Accuracy Threshold | Score Pattern | Dataset Size |
16+
| ------------ | ------------------ | ------------------------ | ------------ |
17+
| gpt-oss-120b | 60.698 | `'exact_match': <score>` | 990 |
1818

1919
## Introduction
2020

@@ -89,14 +89,18 @@ python3 run_verification.py \
8989

9090
### Example: gpt-oss-120b
9191

92+
**Dataset:** Use `acc/acc_eval_compliance_gpqa.parquet` from the gpt-oss dataset download for TEST07 compliance runs.
93+
94+
**Generation Config:** Use perf generation config (`max_output_len=10240`, `reasoning_effort=low`).
95+
9296
```bash
9397
python3 compliance/TEST07/run_verification.py \
9498
-c /path/to/compliance/run/logs/ \
9599
-o /path/to/submission/compliance/gpt-oss-120b/Offline \
96100
--audit-config compliance/TEST07/gpt-oss-120b/audit.config \
97101
--accuracy-script "python3 language/gpt-oss-120b/eval_mlperf_accuracy.py \
98102
--mlperf-log {accuracy_log} \
99-
--reference-data /path/to/accuracy_eval_data.pkl \
103+
--reference-data /path/to/acc/acc_eval_compliance_gpqa.parquet \
100104
--tokenizer openai/gpt-oss-120b"
101105
```
102106

compliance/TEST09/README.md

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
This repository provides the config files and scripts to run and verify TEST09 - Verify output token length in performance mode for LLM workloads.
44

55
# Table of Contents
6+
67
1. [Applicable Benchmarks](#applicable-benchmarks)
78
2. [Introduction](#introduction)
89
3. [Prerequisites](#prerequisites)
@@ -11,21 +12,21 @@ This repository provides the config files and scripts to run and verify TEST09 -
1112

1213
## Applicable Benchmarks
1314

14-
| Model | Min Output Tokens | Max Output Tokens | Dataset Size | Notes |
15-
|-------|-------------------|-------------------|--------------|-------|
16-
| gpt-oss-120b | 1150.38 | 1406.02 | 4395 | ±10% of 1278.20 reference mean |
15+
| Model | Min Output Tokens | Max Output Tokens | Dataset Size | Notes |
16+
| ------------ | ----------------- | ----------------- | ------------ | ------------------------------ |
17+
| gpt-oss-120b | 1150.38 | 1406.02 | 6396 | ±10% of 1278.20 reference mean |
1718

1819
## Introduction
1920

2021
The purpose of this test is to ensure that models are generating outputs of expected length during performance runs. This prevents cheating by truncating outputs to artificially improve throughput metrics.
2122

2223
**Key Verification:**
2324

24-
| Metric | Description |
25-
|--------|-------------|
26-
| Mean output tokens | Average number of output tokens across all samples |
27-
| Min threshold | Benchmark-specific minimum - ensures outputs are not truncated |
28-
| Max threshold | Benchmark-specific maximum - ensures outputs are not artificially padded |
25+
| Metric | Description |
26+
| ------------------ | ------------------------------------------------------------------------ |
27+
| Mean output tokens | Average number of output tokens across all samples |
28+
| Min threshold | Benchmark-specific minimum - ensures outputs are not truncated |
29+
| Max threshold | Benchmark-specific maximum - ensures outputs are not artificially padded |
2930

3031
The compliance thresholds are defined in the benchmark's `audit.config` file via the `test09_min_output_tokens` and `test09_max_output_tokens` fields. Each benchmark defines its own bounds based on the reference implementation.
3132

@@ -51,7 +52,7 @@ The `audit.config` contains both LoadGen settings and the compliance thresholds:
5152
# LoadGen settings
5253
*.*.mode = 2
5354
*.*.accuracy_log_sampling_target = 10000
54-
*.*.min_query_count = 4395
55+
*.*.min_query_count = 6396
5556
...
5657
5758
# TEST09 Compliance Thresholds (read by run_verification.py)
@@ -83,18 +84,22 @@ python3 run_verification.py \
8384

8485
**Arguments:**
8586

86-
| Argument | Required | Description |
87-
|----------|----------|-------------|
88-
| `-c`, `--compliance_dir` | Yes | Path to compliance test logs (contains `mlperf_log_accuracy.json`) |
89-
| `-o`, `--output_dir` | Yes | Output directory for submission artifacts |
90-
| `--audit-config` | No* | Path to audit.config containing thresholds |
91-
| `--min-output-tokens` | No* | Override minimum threshold (CLI takes precedence) |
92-
| `--max-output-tokens` | No* | Override maximum threshold (CLI takes precedence) |
87+
| Argument | Required | Description |
88+
| ------------------------ | -------- | ------------------------------------------------------------------ |
89+
| `-c`, `--compliance_dir` | Yes | Path to compliance test logs (contains `mlperf_log_accuracy.json`) |
90+
| `-o`, `--output_dir` | Yes | Output directory for submission artifacts |
91+
| `--audit-config` | No\* | Path to audit.config containing thresholds |
92+
| `--min-output-tokens` | No\* | Override minimum threshold (CLI takes precedence) |
93+
| `--max-output-tokens` | No\* | Override maximum threshold (CLI takes precedence) |
9394

94-
*At least one of `--audit-config` or both `--min-output-tokens` and `--max-output-tokens` must be provided.
95+
\*At least one of `--audit-config` or both `--min-output-tokens` and `--max-output-tokens` must be provided.
9596

9697
### Example: gpt-oss-120b
9798

99+
**Dataset:** Use `perf/perf_eval_ref.parquet` (the performance dataset) from the gpt-oss dataset download for TEST09 compliance runs.
100+
101+
**Generation Config:** Use performance generation config as-is (`max_output_len=10240`, `reasoning_effort=low`). This test verifies mean output sequence length is within ±10% of reference (1278.20 tokens).
102+
98103
```bash
99104
python3 compliance/TEST09/run_verification.py \
100105
-c /path/to/compliance/run/logs/ \
@@ -118,14 +123,14 @@ Using thresholds:
118123
================================================================================
119124
120125
Parsing MLPerf accuracy log...
121-
Loaded 4395 entries as JSON array
126+
Loaded 6396 entries as JSON array
122127
123-
Computing output token lengths for 4395 samples...
128+
Computing output token lengths for 6396 samples...
124129
125130
================================================================================
126131
Output Token Length Statistics
127132
================================================================================
128-
Total samples: 4395
133+
Total samples: 6396
129134
Mean output tokens: 1278.20
130135
Min output tokens: 518
131136
Max output tokens: 3154
@@ -183,6 +188,7 @@ Create `compliance/TEST09/<benchmark>/audit.config`:
183188
### 2. Update this README
184189

185190
Add the benchmark to the "Applicable Benchmarks" table with:
191+
186192
- Model name
187193
- Min output tokens threshold
188194
- Max output tokens threshold

0 commit comments

Comments
 (0)