Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
796 commits
Select commit Hold shift + click to select a range
064db01
[DLRMv2] Updating DLRMv2 dataset size (#2222)
Jun 24, 2025
e983036
Remove incorrect MLC Commands (#2218)
Jun 24, 2025
0a3570e
Fix Typo in Interactive Latencies (#2147)
Jun 25, 2025
fdac4dc
Host speech2text artifacts in MLC storage bucket (#2223)
Jul 2, 2025
62a0dfd
Add missing interactive configurations (#2224)
Jul 7, 2025
20628f0
Increment version to 5.0.23
Jul 7, 2025
6a5fcc5
Update compliance table (#2243)
Jul 8, 2025
7ef8b14
Add deepseek dataset sources (#2242)
Jul 8, 2025
b25eac3
Adding mlperf.conf setting for Whisper (#2238)
Jul 8, 2025
745b9fe
Increment version to 5.0.24
Jul 8, 2025
7482011
Fix Docs (#2229)
Jul 8, 2025
ae1320c
Incorrect Regex for RougeLSum (#2230)
Jul 8, 2025
24767db
update eval_accuracy.py and deepseek thresholds (#2233)
Jul 8, 2025
e05fda5
Add llama3.1-8b-edge as a separated benchmark (#2231)
Jul 8, 2025
1bc3e99
Increment version to 5.0.25
Jul 8, 2025
bb0e01a
accuracy (#2259)
Jul 15, 2025
bcb600e
fix regex (#2260)
Jul 15, 2025
7d86e6b
Update download path for llama3.1_8b dataset (#2261)
Jul 16, 2025
5232291
Update README.md (#2255)
Jul 16, 2025
1446b35
Update version generate_final_report.py (#2269)
Jul 18, 2025
c57507b
Add interactive scenario in the TEST06, bump loadgen version to 5.1 (…
Jul 21, 2025
fa32df9
Pinning vllm for speech-to-text reference (#2273)
Jul 22, 2025
7b9643c
Fix SingleStream llama3.1-8b typo (#2274)
Jul 22, 2025
9a1990e
Update download path for DeepSeek-R1 Dataset (#2275)
Jul 22, 2025
35d9836
Update documentation (#2279)
Jul 23, 2025
50de991
Address issue that logger.info not captured by stdout; remove redunda…
Jul 23, 2025
4435cb5
Remove TEST01 for interactive scenario; add TEST06 for them (#2281)
Jul 24, 2025
a817ac5
Fix missing comma: TEST01 not required for any LLMs. (#2283)
Jul 24, 2025
d82d7d4
Fix ds-r1 acc checker output format not captured by submission checke…
Jul 24, 2025
6481ff4
Update README.md (#2288)
Jul 24, 2025
b9ed3c7
fix: update ds-r1 truncate max-output-len to 20k (was 32k) (#2290)
Jul 25, 2025
c54683d
Fix llama3.1-8b metric and dataset (#2300)
Jul 29, 2025
c308e42
Add interactive scenario to llama3.1 models (#2299)
Jul 29, 2025
4a01733
Allow more flexible datatypes in measurements file (#2298)
Jul 29, 2025
33a0c34
Update evaluation.py (#2303)
Jul 29, 2025
01bc11a
Only require Server or Interactive for closed (#2304)
Jul 29, 2025
9557914
[Whisper] Adding n_token return for compliance fix (#2305)
Jul 30, 2025
091d51f
Fix checking power directory (#2306)
Jul 30, 2025
47b91b9
Only check for token latency requirements for server scenario (#2313)
Jul 31, 2025
6ad8e26
Use server SUT for SingleStream (#2314)
Aug 1, 2025
1b64700
Update the default value for repository arg (#2317)
Aug 4, 2025
e5f6208
Update preprocess_submission.py | Skip inferring offline scenario if …
Aug 6, 2025
8c3c1e2
Fix: add llama3.1-8b-edge to generate_final_report (#2319)
Aug 6, 2025
70d58ad
Allow lowercase 'interactive' as scenario name (#2315)
Aug 7, 2025
e20506b
Use sample latency as the metric for llama3.1_8b_edge SingleStream (#…
Aug 20, 2025
e064826
Remove rclone references and update download instructions for DeepSee…
Aug 20, 2025
65e3228
hide long time untested implementations from docs (#2328)
Sep 1, 2025
46beea8
Initial draft for SCC 25 documentation (#2331)
Sep 10, 2025
75a2012
fix for fstring (#2332)
Sep 10, 2025
938be6d
Updation of automation run commands - v5.1_dev (#2333)
Sep 11, 2025
2035f3f
Fixes for docs (#2334)
Sep 14, 2025
5fbf01a
Update submission_checker.py | Fixes 2325 (#2326)
Sep 16, 2025
a6bd784
Fixes for scc doc (#2339)
Sep 18, 2025
1d6b4c3
Update link to AMD readme for SCC (#2340)
Sep 18, 2025
8c07d7c
Add additional information for dataset and model downloads (#2343)
Sep 24, 2025
7c8c84d
Provide correct syntax of how batch size is provided for nvidia imple…
Sep 29, 2025
b15073f
Fix lookup of required accuracy delta. (#2337)
Sep 30, 2025
8e20008
Llama3.1-405b: Add commands for model/dataset download using R2-downl…
Oct 6, 2025
ea86541
Update commands to include R2-downloader for RGAT model download (#2350)
Oct 6, 2025
2a3d5cc
Update minimum disk space required for PointPainting (#2353)
Oct 6, 2025
dc8ca5b
Automation Docs: Add information about launching docker in privileged…
Oct 7, 2025
d9efabf
Remove Nvidia folder from compliance tree (#2354)
Oct 7, 2025
f4d495b
Provide help - insufficient max locked memory error for Nvidia runs (…
Oct 7, 2025
fbed09d
Update SUT_VLLM.py (#2349)
Oct 7, 2025
eee6352
Fix minor typos in reference_mlperf_perf.sh and reference_mlperf_accu…
Oct 7, 2025
11e469d
[LoadGen] Time to Output Token -> Time per Output Token (#2360)
Oct 13, 2025
0e556f1
Increment version to 5.1.1
Oct 13, 2025
0b8ca03
[Whisper] Add labels' in the whisper output (#2252)
Oct 13, 2025
f1b7ea1
Update gptj model download command to support R2 downloader (#2368)
Oct 20, 2025
3693669
Update model and dataset download commands to support R2 downloader (…
Oct 20, 2025
3d06ae1
Discard duplicate information about external model download (#2370)
Oct 20, 2025
0c27530
MIXTRAL - Update MLCFlow dataset and model download commands to suppo…
Oct 20, 2025
a921baf
Update DLRM v2 assets download commands to support R2 downloader (#2372)
Oct 20, 2025
55e41e0
SDXL: Update MLC commands to support model download through R2 (#2373)
Oct 20, 2025
6b92d87
Updation for inference docs page: migration to R2 (#2374)
Oct 20, 2025
d4bf062
Update MLC commands to support downloads through R2 for PointPainting…
Oct 20, 2025
6776245
Replaced shell commands with Python for Windows compliance script com…
Oct 21, 2025
808e2d7
[VLM] Offline scenario, performance-only mode of the reference implem…
Nov 11, 2025
ceafe86
update docs with submission instruction + hyperlinks for heading (#2390)
Nov 15, 2025
32b6d66
[VLM] Server Scenario, performance and accuracy (#2388)
Nov 18, 2025
ee809ab
Submission dir update (#2366)
Nov 25, 2025
59c59dd
Add note on LoadGen PyPI auto-build workflow (#2398)
Nov 26, 2025
06c742a
Increment version to 5.1.2
Nov 26, 2025
353bfb8
Revert changes used for testing (#2401)
Nov 26, 2025
fff953c
[VLM] Accuracy Evaluation (#2393)
Dec 2, 2025
95dfd4c
[VLM] Add brand field to accuracy evaluation (#2404)
Dec 9, 2025
8999c4d
[VLM] Update the notebook to reflect the latest version of the datase…
Dec 9, 2025
003f4fb
Update loadgen to 6.0; Bulk update 6.0 checker bits (#2415)
Dec 18, 2025
c098f80
feat: add MTP to ds-r1 ref. impl (#2403)
Dec 19, 2025
abed98c
Increment version to 6.0.1
Dec 19, 2025
ff627df
Add tests to detect failures in igbh dataset download (#2359)
Dec 22, 2025
e93f59d
Text to Video Reference Implementation (#2413)
Dec 22, 2025
f4a2cca
[VLM] Fixing request timeout error, and enable VllmDeployer to fail f…
Dec 22, 2025
0369dd1
Increment version to 6.0.2
Dec 22, 2025
7f42a83
Initial draft for Inference submission guide (#2378)
Dec 23, 2025
27db053
[LoadGen] Bump version from 6.0.2 to 6.0.3 (#2417)
Dec 23, 2025
f690570
[VLM] Add a CLI plugin system for `mlperf-inf-mm-q3vl benchmark` (#2420)
Jan 6, 2026
7a9fc82
[DLRMv3] Reference Implementation (#2410)
Jan 6, 2026
9374959
Increment version to 6.0.4
Jan 6, 2026
5523589
[GPT-OSS-120B] Reference implementation (#2395)
Jan 6, 2026
571fa92
Add fixed max-line-length argument (#2424)
Jan 7, 2026
66b89f6
patch errors for VLM submissions with version v6.0 (#2426)
Jan 7, 2026
dd0b647
Remove Rclone download instructions for datasets supported by R2 Down…
Jan 9, 2026
4d88832
YOLO dev branch (#2382)
Jan 12, 2026
ef20641
Add SingleStream text2video loadgen integration (#2427)
Jan 12, 2026
3cbcc3e
add compliance check 07 (#2425)
Jan 12, 2026
26864ba
Add support for endpoints logs (#2431)
Jan 12, 2026
9b77f35
Folder structure fixes to checker and samples (#2433)
Jan 12, 2026
6f86c96
Fix submission_checker: accept --skip-dataset-size-check (#2438)
Jan 13, 2026
f131a0d
Update seeds for inference v6.0 (#2437)
Jan 13, 2026
9142ef0
Increment version to 6.0.5
Jan 13, 2026
7651400
Submission checker modularization (#2397)
Jan 14, 2026
c4ec6ec
Clarify that prefix caching is not allowed per MLPerf rules. (#2445)
Jan 14, 2026
fa33fa8
Moving sys import (#2447)
Jan 15, 2026
7527760
Add YOLO accuracy targets (#2451)
Jan 16, 2026
a8d4d78
Add accuracy_sample_count (#2414)
Jan 20, 2026
65ef999
Increment version to 6.0.6
Jan 20, 2026
1ee18b2
Change dataset access link to new URL (#2458)
Jan 21, 2026
948e534
MLCFlow automation: Add model and dataset download commands (#2455)
Jan 22, 2026
fb1d0c0
Update v6.0 benchmark table (#2460)
Jan 22, 2026
3586bd1
Temporary turn off retinanet GitHub action (#2467)
Jan 27, 2026
37c4ac0
[DLRMv3] Add compliance test (#2453)
Jan 27, 2026
02a2dbb
Fix PyTorch version issue for Llama2-70b and Mixtral-8x7b (#2466)
Jan 27, 2026
9abe5c0
Add yolo run commands to inference docs (#2461)
Jan 27, 2026
b233567
Quick fix: Add user conf to yolo reference implementation (#2446)
Jan 27, 2026
0c1353f
Increment version to 6.0.7
Jan 27, 2026
b3002b8
Add token latency tracking for gpt-oss-120b-interactive (#2470)
Jan 28, 2026
236aa64
Increment version to 6.0.8
Jan 28, 2026
cff5f1b
Update submission checker (#2469)
Jan 28, 2026
bb03736
Fixed fps in Wan2.2-T2V-A14B inference script (#2441)
Jan 28, 2026
1c84e1b
Add compliance tests for Text-to-Video (#2456)
Jan 28, 2026
7d040db
Proposal T2V: Save videos as videos instead of numpy arrays (#2459)
Jan 28, 2026
6520e39
Increment version to 6.0.9
Jan 28, 2026
7373829
Added Wan2.2-T2V to submission checker (#2457)
Jan 28, 2026
a4e012a
Update README.md (#2473)
Jan 28, 2026
053dba7
submission checker updates for gpt-0ss (#2454)
Jan 29, 2026
b84c0d0
GPT-OSS-120B accuracy checker fixes (#2476)
Jan 29, 2026
5133d3c
Fix import path for TEST-01 (#2478)
Jan 29, 2026
79b4d77
Add dlrm-v3 support to submission checker (#2477)
Jan 29, 2026
4757cd1
Fixing submission checker and compliance for yolo (#2474)
Jan 29, 2026
1d1c6ea
[PATCH][Submission][VLM] Fix submission for VLMs (#2475)
Jan 29, 2026
3f25191
fix: gpt-oss TEST09 sample-count (#2479)
Feb 2, 2026
6bb0d6c
Fix typo in text-to-video model name (#2471)
Feb 2, 2026
986d8b6
fix test09 (#2481)
Feb 3, 2026
6c6bbed
Change text to video folder name (#2485)
Feb 3, 2026
a671384
[Wan22] update complience test04 num to reduce the runtime (#2480)
Feb 3, 2026
f6b0fbe
Update README.md (#2491)
Feb 5, 2026
52235a4
Push submission checker fix for GPT-OSS-120b (#2492)
Feb 5, 2026
4b4a3ff
update submodule path (#2496)
Feb 6, 2026
3cf21b2
Update README.md (#2500)
Feb 6, 2026
80aaa82
Add missing fields for gpt-oss-120b-interactive (#2499)
Feb 6, 2026
0b4aa6f
Increment version to 6.0.10
Feb 6, 2026
1e04ea4
Minor T2V bugfixes (#2495)
Feb 6, 2026
d810a68
Update columns of final report (#2526)
Feb 10, 2026
e4c303e
Quick fix: Capitalize scenarios in final report (#2528)
Feb 10, 2026
d4513ee
Revert TEST01 for Text-to-video benchmark (#2529)
Feb 10, 2026
73d7e4b
Urgent: Fix for compliance tests(old submission checker) (#2532)
Feb 11, 2026
9e3d105
update for submission checker (#2531)
Feb 11, 2026
2f836ea
Quick fix: map scenario correctly (#2537)
Feb 11, 2026
104d485
Add scenario check to submission checker (#2538)
Feb 12, 2026
d33bb4d
Quick fix for report script (#2539)
Feb 12, 2026
d757424
Add YOLO models to final report generation (#2540)
Feb 13, 2026
b795264
Activate compliance check + fix incorrect errors (#2542)
Feb 17, 2026
5a03e7a
Compliance check fix (#2544)
Feb 19, 2026
9d8d499
Quick fix for summary table (#2545)
Feb 20, 2026
d7cde22
Fix hyperlink generation in final report(code -> src) (#2557)
Mar 1, 2026
394195a
Fix report metrics (#2551)
Mar 4, 2026
a0c968e
Update README.md for YOLOv11l (#2552)
Mar 6, 2026
cde9790
Enable Bert GH action (#2550)
Mar 10, 2026
8f77c6e
Add total accelerators to summary (#2561)
Mar 17, 2026
6d0cf9d
Update Llama3.1b interactive unit (#2564)
Mar 17, 2026
6c93140
Update coco.py to not utilize os.system (#2489)
Mar 27, 2026
908e195
Add shebangs to existing scripts to make choice of interpreter cleare…
Mar 27, 2026
7581d94
Update vision/medical_imaging/3d-unet-kits19/global_vars.py to use co…
Mar 27, 2026
765e856
Update loadgen/version_generator to use context manager. (#2509)
Mar 27, 2026
fa55ac4
Increment version to 6.0.11
Mar 27, 2026
f789a72
Update retired_benchmarks/never_adopted/language/gpt3/megatron/utils.…
Mar 27, 2026
7adee78
Increment version to 6.0.12
Mar 27, 2026
fba0a0f
Update compliance/TEST04/verify_performance.py to use context-manager…
Mar 30, 2026
f8cc184
Update language/gpt-j/utils.py to use context manager (#2511)
Mar 30, 2026
c70a7ba
Remove Python2 Future Annotations (#2512)
Mar 30, 2026
bdc87e2
Increment version to 6.0.13
Mar 30, 2026
6292e4c
Remove use of eval in vision/classification_and_detection/tools/calib…
Mar 30, 2026
c94154a
Remove use of eval in language/mixtral-8x7b/evaluate_mbxp.py (#2515)
Mar 30, 2026
20d318e
Update text_to_image/tools/coco_generate_calibration.py to use pathli…
Mar 30, 2026
3a3111a
Remove malformed string literal in repository check (#2519)
Mar 30, 2026
9d135bc
Specify wildcard imports in medical imaging task (#2521)
Mar 30, 2026
f065cb6
Update wildcard import for classification task code. (#2523)
Mar 30, 2026
144c395
Update retired benchmarks wildcard imports (#2524)
Mar 30, 2026
36c8d3a
Update .gitignore (#2488)
Mar 30, 2026
2ee7190
Fix DLRMv3 fbgemm_gpu loading with hardcoded Bazel paths (#2439)
Mar 30, 2026
175ea7b
[Wan22] update video idx (#2530)
Mar 31, 2026
824914b
Initial shellcheck pass (#2568)
Apr 10, 2026
534cbfd
Increment version to 6.0.14
Apr 10, 2026
3ecc2e0
Initial gitleaks implementation (#2580)
Apr 22, 2026
7b11eeb
Create auto-close-old-issues-prs.yml (#2571)
May 4, 2026
3a6d36f
Add mlc-automations GitHub app to allowable list for automated code c…
May 13, 2026
33c8ee9
Use GitHub app token to push formatted code (#2569)
May 13, 2026
7305637
Initial pre-commit for formatting (#2589)
May 20, 2026
e59ce58
Use GitLeaks CLI for scanning (#2590)
May 20, 2026
bdc4116
Update VLM Reamde for v6.1 Specifications (#2591)
Jun 2, 2026
7a7db59
[VLM]Update Calibration Dataset in V6.1 (#2600)
Jun 16, 2026
c0a402f
Add private ids to checker and final report (#2592)
Jun 23, 2026
f96a9af
Add nameplate power YAML check for v6.1+ power submissions (#2606)
Jun 24, 2026
564cec7
E2E RAG reference implementation (#2602)
Jun 25, 2026
3546c66
Increment version to 6.0.15
Jun 25, 2026
d1515ab
Loadgen++/endpoints integration with submission checker (#2609)
Jul 1, 2026
4b790a6
Add constants for v6.1 (#2610)
Jul 1, 2026
553b252
feat(edge-agentic): add BFCL v4 edge-agentic reference implementation…
Jul 1, 2026
5a6f0fa
Add wg-benchmark-infra as a owner for reviews (#2612)
Jul 2, 2026
b066279
Add random seeds for v6.1 (#2611)
Jul 2, 2026
2b5f63e
Increment version to 6.0.16
Jul 2, 2026
10f8234
Remove files not produced by endpoints (#2614)
Jul 2, 2026
8abbe44
[gpt-oss-120b] Add --enable_speculative_decode flag for Interactive s…
Jul 7, 2026
d8230cd
Fix gpt-oss TEST07/TEST09 to issue each compliance sample exactly onc…
Jul 7, 2026
3a7b51e
Make clear the rules about input compression (#2618)
Jul 7, 2026
393d8ef
[e2e-rag] Fix error when running retrieval with reranker (#2621)
Jul 8, 2026
37b3811
Set power YAML template as optional (#2615)
Jul 8, 2026
4c01ef2
Add v6.1 Interactive scenario support and fix report generator (#2623)
Jul 10, 2026
766c6d9
fix: handle endpoints accuracy results.json in truncate_accuracy_log.…
Jul 10, 2026
2a3cb46
fix: normalize endpoints online scenario to server in loader (#2626)
Jul 10, 2026
da738a5
[Wan-2.2 T2V] Update sample IDs to use random_ids.txt (#2632)
Jul 17, 2026
3695ef0
docs(edge-agentic): fix endpoints example link (10->11) and add calib…
Jul 20, 2026
2af078b
Update endpoints structure (#2630)
Jul 21, 2026
c998c0e
Fix DeepSeek-R1 R2 downloader link to point at correct checkpoint (#2…
Jul 21, 2026
2fe63e0
E2e rag robustness fixes (#2625)
Jul 23, 2026
63220f3
Update submission_structure.md (#2639)
Jul 23, 2026
d8260b2
Submission checker: support e2e-rag-qna and e2e-rag-db (#2640)
Jul 23, 2026
da26cb1
Add pre-commit setup documentation (#2597)
Jul 24, 2026
d6147c7
Increment version to 6.0.17
Jul 24, 2026
81ebebe
Update the default resolved value of sampling parameter (#2644)
Jul 27, 2026
279ea35
Initial ScanOSS Licensing Checker (#2583)
Jul 27, 2026
49469eb
Initial PR with codecov report logging. (#2581)
Jul 27, 2026
cd92cfe
Move autopep8 formatting from happening on the PR to being checked on…
Jul 28, 2026
22a2c21
Update old checker: v6.1 version for preprocess_submission.py (#2646)
Jul 29, 2026
c22d843
E2e rag manifest and token fixes (#2645)
Jul 29, 2026
a468775
Add MLPerf Inference v6.1 benchmarks table (#2648)
Jul 30, 2026
af8f224
Harden COCO dataset bootstrap: HTTPS + SHA-256 verification (#2572)
Aug 12, 2026
44cc3a3
Remove llama2-70b-99 (#2651)
Aug 13, 2026
985f2d1
Fix Qwen3-VL latency constrain (#2650)
Aug 13, 2026
1b9bc00
Fix metric overwrite for endpoints submissions (#2649)
Aug 13, 2026
d2e600b
Update display metric for E2E-QNA (#2653)
Aug 18, 2026
46e6a0b
Update submission checker to handle interactive constraints of q3vl f…
Aug 19, 2026
b66003e
Require only one of server or interactive (#2654)
Aug 20, 2026
ced6a9f
Quick fix for scenario mapping (#2655)
Aug 24, 2026
cfb0df1
Quick fix: Add interactive to metric overwrite (#2656)
Aug 26, 2026
a16585a
Quick fix: add edge qwen 27b in final report (#2659)
Sep 2, 2026
ecef039
Fix (#2660)
Sep 2, 2026
f98c6a7
Sync Docs branch with master (#2657)
Sep 2, 2026
3fbc329
Update model names in report (#2661)
Sep 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[run]
# Coverage is scoped to the submission checker (the only code under test).
# The CI step also passes --cov=submission_checker; keeping it here means a
# bare `pytest --cov` / `coverage` run is scoped correctly too.
source = submission_checker
omit =
*/site-packages/*
*/dist-packages/*
9 changes: 9 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# These owners will be the default owners for everything in the repo.
# Unless a later match takes precedence,they will be requested for review when someone opens a pull request.
* @mlcommons/wg-inference @mlcommons/wg-benchmark-infra

/.github/CODEOWNERS @mlcommons/systems

/.github/workflows/cla.yml @mlcommons/systems

/LICENSE.md @mlcommons/systems
83 changes: 83 additions & 0 deletions .github/scanoss.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"settings": {
"skip": {
"patterns": {
"scanning": [
"tests/",
"test/",
"__tests__/",
"test_*.py",
"*_test.py",
"*_test.go",
"*.test.js",
"*.test.ts",
"*.spec.js",
"*.spec.ts",
"conftest.py",
"vendor/",
"third_party/",
"third-party/",
"external/",
"node_modules/",
"deps/",
"*_pb2.py",
"*_pb2_grpc.py",
"*.pb.go"
]
},
"sizes": {}
}
},
"bom": {
"include": [
{
"purl": "pkg:github/mlcommons/inference"
},
{
"purl": "pkg:conda/tf2onnx"
},
{
"purl": "pkg:gitee/deep-spark/deepsparkhub"
},
{
"purl": "pkg:github/facebookresearch/generative-recommenders"
},
{
"purl": "pkg:github/habanaai/model-references"
},
{
"purl": "pkg:github/intel/ai-reference-models"
},
{
"purl": "pkg:github/miguelvictor/code-completion"
},
{
"purl": "pkg:github/onnx/tensorflow-onnx"
},
{
"purl": "pkg:github/open-mmlab/mmdetection3d"
},
{
"purl": "pkg:github/t4ngo/sphinxcontrib-traceables"
},
{
"purl": "pkg:github/transcend-0/earn"
},
{
"purl": "pkg:github/yupeeee/yupnets"
},
{
"purl": "pkg:pypi/mmdet3d"
},
{
"purl": "pkg:pypi/sphinxcontrib-traceables"
},
{
"purl": "pkg:pypi/tf2onnx"
},
{
"purl": "pkg:pypi/yupnets"
}
]
}
}
32 changes: 32 additions & 0 deletions .github/workflows/auto-close-old-issues-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Close old issues and PRs older than 2 years

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

permissions:
issues: write
pull-requests: write

jobs:
close-old:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v10
with:
days-before-issue-stale: 730
days-before-issue-close: 0
close-issue-message: |
🔒 This issue has been **automatically closed** because it has been open for more than 2 years with no activity.
If this is still relevant, you may **reopen it or create a new one**.
close-issue-reason: not_planned

days-before-pr-stale: 730
days-before-pr-close: 0
close-pr-message: |
🔒 This pull request has been **automatically closed** because it has been open for more than 2 years with no activity.
If you still want to proceed, you may **reopen this PR or open a new one**.

exempt-issue-labels: pinned,security-fix,long-term
exempt-pr-labels: pinned,security-fix,wip
40 changes: 40 additions & 0 deletions .github/workflows/auto-update-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Auto-Update Dev Branches from Master

on:
push:
branches:
- master # Trigger workflow on commits to 'master' branch
workflow_dispatch: {}

jobs:
update-dev:
if: github.repository_owner == 'mlcommons'
strategy:
matrix:
branch: [ "dev", "docs" ]
runs-on: ubuntu-latest

permissions:
contents: write # Required to push to protected branches

steps:
- name: Checkout Main Branch
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
fetch-depth: 0
ssh-key: ${{ secrets.DEPLOY_KEY }}

- name: Configure Git User
run: |
git config user.name "github-actions"
git config user.email "github-actions@github.com"

- name: Merge auto-update into ${{ matrix.branch }}
run: |
git fetch origin master:master
git merge --no-ff master -m "Auto-merge updates from master branch"

- name: Push Changes to ${{ matrix.branch }}
run: |
git push origin ${{ matrix.branch }}
57 changes: 57 additions & 0 deletions .github/workflows/autopep8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Verify that Python files modified in a PR are autopep8-formatted, using the
# SAME settings as the auto-formatter in format.yml (-a --max-line-length 79).
# Intended as a REQUIRED status check (branch protection) so unformatted PRs
# can't be merged to main.
name: "autopep8 format check"

on:
pull_request:
branches: ["master", "main"]

env:
python_version: "3.9"

jobs:
autopep8-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python ${{ env.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.python_version }}

- name: Install autopep8
run: python3 -m pip install autopep8

- name: Check modified Python files
run: |
set -uo pipefail
BASE="${{ github.event.pull_request.base.sha }}"
git fetch --no-tags --quiet origin "$BASE" 2>/dev/null || true
FILES=$(git diff --name-only --diff-filter=ACMR "$BASE"...HEAD -- '*.py' || true)
if [ -z "$FILES" ]; then
echo "No modified Python files."
exit 0
fi
rc=0
for FILE in $FILES; do
[ -f "$FILE" ] || continue
# Match format.yml: it excludes this file from formatting.
[ "$FILE" = "tools/submission/power/power_checker.py" ] && continue
if ! autopep8 --exit-code --diff -a --max-line-length 79 "$FILE" > /tmp/autopep8.diff 2>/dev/null; then
echo "::error file=$FILE::Not autopep8-formatted — run: autopep8 --in-place -a --max-line-length 79 $FILE"
cat /tmp/autopep8.diff
rc=1
fi
done
if [ "$rc" -ne 0 ]; then
echo "::error::Some modified Python files are not autopep8-formatted (see diffs above)."
else
echo "All modified Python files are autopep8-formatted."
fi
exit "$rc"
146 changes: 146 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
name: Build loadgen wheels and release them into PYPI


on:
release:
types: [published]
push:
branches:
- master
- loadgen-release
paths:
- loadgen/**

jobs:
update_version:
name: Update version only on ubuntu but used by windows and macos
if: github.repository_owner == 'mlcommons'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
ssh-key: ${{ secrets.DEPLOY_KEY }}

# Check if VERSION.txt file has changed in this push
- name: Check if VERSION.txt file has changed
id: version_changed
run: |
echo "version_changed=false" >> $GITHUB_ENV
echo "new_version=" >> $GITHUB_ENV # Initialize with empty value
if git diff --name-only HEAD~1 | grep -q "VERSION.txt"; then
echo "VERSION.txt file has been modified"
echo "version_changed=true" >> $GITHUB_ENV
new_version=$(cat loadgen/VERSION.txt)
echo "new_version=$new_version" >> $GITHUB_ENV
else
echo "VERSION.txt file has NOT been modified"
fi

# Step 4: Increment version if VERSION.txt was not changed
- name: Increment version if necessary
id: do_version_increment
if: env.version_changed == 'false'
run: |
cd loadgen
# Check if VERSION file exists, else initialize it
if [ ! -f VERSION.txt ]; then
echo "0.0.0" > VERSION.txt
fi

version=$(cat VERSION.txt)
IFS='.' read -r major minor patch <<< "$version"
patch=$((patch + 1))
new_version="$major.$minor.$patch"
echo $new_version > VERSION.txt
echo "New version: $new_version"
echo "new_version=$new_version" >> $GITHUB_ENV

# Step 5: Commit the updated version to the repository
- name: Commit updated version
if: env.version_changed == 'false'
run: |
cd loadgen
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git add VERSION.txt
git commit -m "Increment version to $new_version"
git push

build_wheels:
name: Build wheels on ${{ matrix.os }}
if: github.repository_owner == 'mlcommons'
needs: update_version
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-15]

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3

- name: Install requirements
run: python -m pip install cibuildwheel twine build

- name: Build src dist
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
python -m build --sdist --outdir wheels loadgen

- name: Build wheels
run: git pull && python -m cibuildwheel loadgen/ --output-dir wheels

# Save wheels as artifacts
- name: Upload built wheels
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
path: wheels

publish_wheels:
if: github.repository_owner == 'mlcommons'
needs: build_wheels # Wait for the build_wheels job to complete
runs-on: ubuntu-latest # Only run this job on Linux
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3

# Download the built wheels from ubuntu
- name: Download Ubuntu wheels
uses: actions/download-artifact@v4
with:
name: wheels-ubuntu-latest
path: wheels
# Download the built wheels from macOS-latest
- name: Download macOS-latest wheels
uses: actions/download-artifact@v4
with:
name: wheels-macos-latest
path: wheels
# Download the built wheels from macOS-13 (x86)
- name: Download macOS-15 (x86) wheels
uses: actions/download-artifact@v4
with:
name: wheels-macos-15
path: wheels
# Download the built wheels from Windows
- name: Download Windows wheels
uses: actions/download-artifact@v4
with:
name: wheels-windows-latest
path: wheels
# Publish
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
verify-metadata: true
skip-existing: true
packages-dir: wheels
repository-url: https://upload.pypi.org/legacy/
verbose: true
Loading