Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Docs #1908

Merged
merged 253 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
253 commits
Select commit Hold shift + click to select a range
5773906
Merge branch 'mlcommons:master' into master
arjunsuresh May 2, 2024
5fe4dfd
Add Rclone-Cloudflare download instructions to README.md
nathanw-mlc Feb 21, 2024
8a00168
Add Rclone-Cloudflare download instructiosn to README.md
nathanw-mlc Feb 21, 2024
1b69968
Minor wording edit to README.md
nathanw-mlc Feb 21, 2024
d30a0ca
Add Rclone-Cloudflare download instructions to README.md
nathanw-mlc Feb 21, 2024
48f8bbb
Add Rclone-GDrive download instructions to README.md
nathanw-mlc Feb 21, 2024
0e70449
Add new and old instructions to README.md
nathanw-mlc Feb 21, 2024
ef482c3
Tweak language in README.md
nathanw-mlc Feb 21, 2024
faa0134
Language tweak in README.md
nathanw-mlc Feb 21, 2024
c7945ac
Minor language tweak in README.md
nathanw-mlc Feb 21, 2024
949ff6b
Fix typo in README.md
nathanw-mlc Feb 23, 2024
22d7072
Count error when logging errors: submission_checker.py
arjunsuresh Mar 14, 2024
6f2f14e
Fixes #1648, restrict loadgen uncommitted error message to within the…
arjunsuresh Feb 28, 2024
3361249
Update test-rnnt.yml (#1688)
arjunsuresh May 2, 2024
b747899
Added docs init
arjunsuresh May 2, 2024
c023fc9
Merge branch 'mlcommons:master' into docs
arjunsuresh May 2, 2024
6fe12df
Fix benchmark URLs
arjunsuresh May 3, 2024
949f8f7
Fix links
arjunsuresh May 8, 2024
120aced
Add _full variation to run commands
arjunsuresh May 8, 2024
dccbe1e
Added script flow diagram
arjunsuresh May 13, 2024
6b36d66
Merge branch 'mlcommons:master' into master
arjunsuresh May 13, 2024
6436dea
Merge branch 'mlcommons:master' into docs
arjunsuresh May 13, 2024
c843a08
Added docker setup command for CM, extra run options
arjunsuresh May 17, 2024
664a37a
Added support for docker options in the docs
arjunsuresh May 17, 2024
a97fc5f
Added --quiet to the CM run_cmds in docs
arjunsuresh May 18, 2024
b150d6a
Merge branch 'master' into master
arjunsuresh May 21, 2024
18ff1a8
Fix the test query count for cm commands
arjunsuresh May 21, 2024
2e3dd93
Merge branch 'mlcommons:master' into master
arjunsuresh May 22, 2024
204dbbf
Merge branch 'mlcommons:master' into master
arjunsuresh May 28, 2024
ac6d20a
Support ctuning-cpp implementation
arjunsuresh May 31, 2024
6b2264b
Added commands for mobilenet models
arjunsuresh May 31, 2024
9b896a6
Docs cleanup
arjunsuresh May 31, 2024
ce5a0b0
Docs cleanup
arjunsuresh May 31, 2024
9ff02d7
Merge branch 'master' into master
arjunsuresh Jun 4, 2024
d58ba74
Merge branch 'mlcommons:master' into master
arjunsuresh Jun 5, 2024
69661bb
Fix merge conflicts
arjunsuresh Jun 5, 2024
1f3eacd
Added separate files for dataset and models in the docs
arjunsuresh Jun 5, 2024
63fcc60
Remove redundant tab in the docs
arjunsuresh Jun 5, 2024
5e49864
Fixes some WIP models in the docs
arjunsuresh Jun 5, 2024
a33c2a7
Use the official docs page for CM installation
arjunsuresh Jun 5, 2024
16a8009
Fix the deadlink in docs
arjunsuresh Jun 5, 2024
6ad8a0e
Fix indendation issue in docs
arjunsuresh Jun 6, 2024
cf0ca4f
Added dockerinfo for nvidia implementation
arjunsuresh Jun 6, 2024
4901320
Added run options for gptj
arjunsuresh Jun 6, 2024
c007322
Added execution environment tabs
anandhu-eng Jun 6, 2024
fbbc894
Merge pull request #5 from anandhu-eng/docs
arjunsuresh Jun 6, 2024
1fba83e
Cleanup of the docs
arjunsuresh Jun 6, 2024
ee35e73
Cleanup of the docs
arjunsuresh Jun 6, 2024
2d47e06
Reordered the sections of the docs page
arjunsuresh Jun 7, 2024
e43bb87
Removed an unnecessary heading in the docs
arjunsuresh Jun 7, 2024
87471ee
Fixes the commands for datacenter
arjunsuresh Jun 7, 2024
f40bc9c
Fix the build --sdist for loadgen
arjunsuresh Jun 16, 2024
36af6b4
Merge branch 'mlcommons:master' into docs
arjunsuresh Jun 16, 2024
9dc997f
Fixes #1761, llama2 and mixtral runtime error on CPU systems
arjunsuresh Jul 2, 2024
165f5f0
Merge branch 'master' into master
arjunsuresh Jul 2, 2024
0718769
Added mixtral to the benchmark list, improved benchmark docs
arjunsuresh Jul 3, 2024
387013c
Merge branch 'mlcommons:master' into master
arjunsuresh Jul 8, 2024
bc19ba1
Update docs for MLPerf inference v4.1
arjunsuresh Jul 8, 2024
1f9bc3b
Update docs for MLPerf inference v4.1
arjunsuresh Jul 8, 2024
8ff59e1
Fix typo
arjunsuresh Jul 8, 2024
7faa762
Gave direct link to implementation readmes
arjunsuresh Jul 9, 2024
b8573fe
Added tables detailing implementations
anandhu-eng Jul 9, 2024
d3cbc48
Merge pull request #6 from anandhu-eng/candd_readme_change
arjunsuresh Jul 9, 2024
35e3bbd
Update vision README.md, split the frameworks into separate rows
arjunsuresh Jul 9, 2024
3e7f86c
Update README.md
arjunsuresh Jul 9, 2024
d43165d
pointed links to specific frameworks
anandhu-eng Jul 9, 2024
1e3cc6c
pointed links to specific frameworks
anandhu-eng Jul 9, 2024
a35649e
Merge pull request #7 from anandhu-eng/docsUpdate
arjunsuresh Jul 9, 2024
291537e
Update Submission_Guidelines.md
arjunsuresh Jul 9, 2024
3ea811e
Update Submission_Guidelines.md
arjunsuresh Jul 9, 2024
ef51ae3
Update Submission_Guidelines.md
arjunsuresh Jul 9, 2024
4d36503
api support llama2
anandhu-eng Jul 16, 2024
641df17
Added request module and reduced max token len
anandhu-eng Jul 16, 2024
751b9fc
Merge branch 'mlcommons:master' into master
arjunsuresh Jul 16, 2024
6b1a6a9
Merge branch 'master' into llama2_api
arjunsuresh Jul 16, 2024
b1ef8f1
Merge pull request #8 from anandhu-eng/llama2_api
arjunsuresh Jul 16, 2024
99ee8b6
Fix for llama2 api server
arjunsuresh Jul 16, 2024
c736d33
Update SUT_API offline to work for OpenAI
mgoin Jul 16, 2024
280a294
Update SUT_API.py
mgoin Jul 16, 2024
4e4aff3
Merge pull request #9 from mgoin/patch-2
arjunsuresh Jul 16, 2024
8b4c88f
Minor fixes
arjunsuresh Jul 16, 2024
8464902
Fix json import in SUT_API.py
arjunsuresh Jul 16, 2024
b00755d
Fix llama2 token length
arjunsuresh Jul 16, 2024
802374b
Added model name verification with server
anandhu-eng Jul 17, 2024
44ae1d9
clean temp files
anandhu-eng Jul 17, 2024
fe3644e
support num_workers in LLAMA2 SUTs
arjunsuresh Jul 17, 2024
1ef8072
Remove batching from Offline SUT_API.py
mgoin Jul 17, 2024
c0dc52e
Update SUT_API.py
mgoin Jul 17, 2024
ce2e686
Merge pull request #11 from mgoin/patch-3
arjunsuresh Jul 17, 2024
7517a90
Minor fixes for llama2 API
arjunsuresh Jul 17, 2024
d3db567
Fix for llama2 API
arjunsuresh Jul 17, 2024
7607097
Merge branch 'mlcommons:master' into master
arjunsuresh Jul 17, 2024
93b5d64
Merge pull request #10 from anandhu-eng/vllm_enhancement
arjunsuresh Jul 17, 2024
b9ba3d7
Merge branch 'mlcommons:master' into master
arjunsuresh Jul 22, 2024
6d9f638
Merge branch 'mlcommons:master' into master
arjunsuresh Aug 1, 2024
bd60060
removed table of contents
anandhu-eng Aug 12, 2024
32c4702
enabled llama2-nvidia + vllm-NM : WIP
anandhu-eng Aug 12, 2024
cd823cc
enabled dlrm for intel
anandhu-eng Aug 12, 2024
0c94ea9
lower cased implementation
anandhu-eng Aug 12, 2024
5b0df15
added raw data input
anandhu-eng Aug 12, 2024
f89295c
corrected data download commands
anandhu-eng Aug 12, 2024
8e1eb75
renamed filename
anandhu-eng Aug 12, 2024
087dad9
changes for bert and vllm
anandhu-eng Aug 13, 2024
c1032c2
documentation to work on custom repo and branch
anandhu-eng Aug 13, 2024
e8cb2a8
benchmark index page update
anandhu-eng Aug 13, 2024
7e37072
enabled sdxl for nvidia and intel
anandhu-eng Aug 13, 2024
73ce4fd
Merge branch 'mlcommons:master' into docs
arjunsuresh Aug 13, 2024
0f816ee
Merge branch 'master' into cm_readme_inference_update
arjunsuresh Aug 13, 2024
509c2c5
Merge pull request #12 from anandhu-eng/cm_readme_inference_update
arjunsuresh Aug 13, 2024
98b945c
Merge pull request #13 from GATEOverflow/master
arjunsuresh Aug 13, 2024
283b39c
updated vllm server run cmd
anandhu-eng Aug 13, 2024
2c9b859
Merge changes from master branch of https://github.com/GATEOverflow/i…
anandhu-eng Aug 13, 2024
4f5cbcd
benchmark page information addition
anandhu-eng Aug 14, 2024
8e71518
fix indendation issue
anandhu-eng Aug 14, 2024
e9dcf17
Added submission categories
anandhu-eng Aug 14, 2024
4f56494
update submission page - generate submission with or w/o using CM for…
anandhu-eng Aug 14, 2024
f1135ea
Updated kits dataset documentation
anandhu-eng Aug 16, 2024
cb71cd1
Updated model parameters
anandhu-eng Aug 16, 2024
2016369
Merge branch 'mlcommons:master' into master
arjunsuresh Aug 16, 2024
608ad33
Merge branch 'master' into cm_readme_inference_update
arjunsuresh Aug 16, 2024
1579967
updation of information
anandhu-eng Aug 19, 2024
5ba36a9
updated non cm based benchmark
anandhu-eng Aug 19, 2024
4805612
Merge changes from GateOverflow
anandhu-eng Aug 19, 2024
38f8067
Merge pull request #14 from anandhu-eng/cm_readme_inference_update
arjunsuresh Aug 19, 2024
a461646
added info about hf password
anandhu-eng Aug 20, 2024
dd47e45
added links to model and access tokens
anandhu-eng Aug 20, 2024
a1d66d4
Updated reference results structuree tree
anandhu-eng Aug 20, 2024
c5ae6ed
submission docs cleanup
anandhu-eng Aug 20, 2024
9dc81e8
Merge branch 'master' into cm_readme_inference_update
arjunsuresh Aug 20, 2024
66a9f10
Merge pull request #15 from anandhu-eng/cm_readme_inference_update
arjunsuresh Aug 20, 2024
4940585
Merge branch 'master' into docs
arjunsuresh Aug 20, 2024
f4ba37d
Merge branch 'mlcommons:master' into master
arjunsuresh Aug 22, 2024
bc80f65
Some cleanups for benchmark info
arjunsuresh Aug 22, 2024
65e63db
Some cleanups for benchmark info
arjunsuresh Aug 22, 2024
ba9820d
Some cleanups for benchmark info
arjunsuresh Aug 22, 2024
9ea1d14
added generic stubs deepsparse
anandhu-eng Aug 22, 2024
5b6eb52
Merge branch 'master' into cm_readme_inference_update
anandhu-eng Aug 22, 2024
63888bc
Some cleanups for benchmark info
arjunsuresh Aug 22, 2024
b956c6d
Some cleanups for benchmark info
arjunsuresh Aug 22, 2024
2c49334
Some cleanups for benchmark info
arjunsuresh Aug 22, 2024
13db0f8
Some cleanups for benchmark info (FID and CLIP data added)
arjunsuresh Aug 22, 2024
4eefc94
typo fix for bert deepsparse framework
anandhu-eng Aug 23, 2024
f0dbe10
Merge branch 'master' into cm_readme_inference_update
arjunsuresh Aug 23, 2024
6017bcc
Merge pull request #16 from anandhu-eng/cm_readme_inference_update
arjunsuresh Aug 23, 2024
e6abadd
added min system requirements for models
anandhu-eng Aug 23, 2024
8db76b4
Merge branch 'master' into cm_readme_inference_update
anandhu-eng Aug 23, 2024
37674fa
Merge pull request #17 from anandhu-eng/cm_readme_inference_update
arjunsuresh Aug 23, 2024
d994a86
fixed code version
anandhu-eng Sep 3, 2024
fd8945c
changes for displaying reference and intel implementation tip
anandhu-eng Sep 3, 2024
8815065
added reference to installation page
anandhu-eng Sep 3, 2024
5c73d16
Merge pull request #18 from anandhu-eng/cm_readme_inference_update
arjunsuresh Sep 3, 2024
8085e8b
updated neural magic documentation
anandhu-eng Sep 3, 2024
d078534
Merge branch 'master' into cm_readme_inference_update
arjunsuresh Sep 3, 2024
edbaf90
Merge pull request #19 from anandhu-eng/cm_readme_inference_update
arjunsuresh Sep 3, 2024
99285f6
Merge pull request #20 from GATEOverflow/docs
arjunsuresh Sep 3, 2024
9dbd46f
Merge pull request #21 from GATEOverflow/master
arjunsuresh Sep 3, 2024
32cdf40
Merge branch 'master' into docs
arjunsuresh Sep 3, 2024
9a27105
Added links to the install page, redirect benchmarks page
arjunsuresh Sep 4, 2024
294f85e
Merge branch 'mlcommons:master' into docs
arjunsuresh Sep 5, 2024
069c2dd
Merge branch 'master' into docs
arjunsuresh Sep 5, 2024
b30e51a
Merge pull request #22 from GATEOverflow/docs
arjunsuresh Sep 5, 2024
8d76337
added tips about batch size and dataset for nvidia llama2
anandhu-eng Sep 10, 2024
4ac509f
Merge branch 'cm_readme_inference_update' of https://github.com/anand…
anandhu-eng Sep 10, 2024
fd58737
Merge branch 'master' into cm_readme_inference_update
anandhu-eng Sep 10, 2024
e199221
fix conditions logic
anandhu-eng Sep 10, 2024
b144936
Merge branch 'cm_readme_inference_update' of https://github.com/anand…
anandhu-eng Sep 10, 2024
439b150
modified tips and additional run cmds
anandhu-eng Sep 10, 2024
b8188c2
sentence corrections
anandhu-eng Sep 10, 2024
3369b3c
Merge pull request #23 from anandhu-eng/cm_readme_inference_update
arjunsuresh Sep 10, 2024
f0b9e7f
Minor fix for the documentation
arjunsuresh Sep 10, 2024
aba2ce8
fixed bug in deepsparse generic model stubs + styling
anandhu-eng Sep 17, 2024
67bf51a
Merge branch 'master' into cm_readme_inference_update
anandhu-eng Sep 17, 2024
33cad44
added more information to stubs
anandhu-eng Sep 17, 2024
8cea28a
Added SCC24 readme, support reproducibility in the docs
arjunsuresh Sep 18, 2024
ae8f9e6
Made clear the custom CM repo URL format
arjunsuresh Sep 18, 2024
a5c1627
Support conditional implementation, setup and run tips
arjunsuresh Sep 18, 2024
3e24bb9
Support rocm for sdxl
arjunsuresh Sep 19, 2024
8d6392d
Fix _short tag support
arjunsuresh Sep 19, 2024
0511c95
Fix install URL
arjunsuresh Sep 19, 2024
e8b2adc
Expose bfloat16 and float16 options for sdxl
arjunsuresh Sep 19, 2024
d7080cd
Expose download model to host option for sdxl
arjunsuresh Sep 19, 2024
c588fa4
Merge branch 'master' into cm_readme_inference_update
anandhu-eng Sep 20, 2024
c454ac0
Merge pull request #24 from anandhu-eng/cm_readme_inference_update
arjunsuresh Sep 20, 2024
9009382
IndySCC24 documentation added
arjunsuresh Sep 20, 2024
00c650f
Improve the SCC24 docs
arjunsuresh Sep 20, 2024
4c92e2a
Improve the support of short variation
arjunsuresh Sep 20, 2024
60d3a8a
Improved the indyscc24 documentation
arjunsuresh Sep 20, 2024
b2f95b2
Updated scc run commands
anandhu-eng Sep 23, 2024
84ba650
removed test_query_count option for scc
anandhu-eng Sep 23, 2024
213c605
Merge pull request #25 from anandhu-eng/scc
arjunsuresh Sep 23, 2024
6c23816
Remove scc24 in the main docs
arjunsuresh Sep 23, 2024
469b091
Remove scc24 in the main docs
arjunsuresh Sep 23, 2024
21d16ed
Fix docs: indendation issue on the submission page
arjunsuresh Sep 23, 2024
5d4a302
generalised code for skipping test query count
anandhu-eng Sep 24, 2024
fb152b6
Merge pull request #26 from anandhu-eng/branch_from+go
arjunsuresh Sep 24, 2024
21e7259
Fixes for SCC24 docs
arjunsuresh Sep 24, 2024
93649dd
Fix scenario text in main.py
arjunsuresh Sep 24, 2024
0cc5d7b
Fix links for scc24
arjunsuresh Sep 24, 2024
70f9a81
Fix links for scc24
arjunsuresh Sep 24, 2024
6f56438
Improve the general docs
arjunsuresh Sep 24, 2024
a46ebee
Fix links for scc24
arjunsuresh Sep 24, 2024
913ffd4
Use float16 in scc24 doc
arjunsuresh Sep 24, 2024
b21cf39
Improve scc24 docs
arjunsuresh Sep 24, 2024
2271866
Improve scc24 docs
arjunsuresh Sep 24, 2024
3c072e0
Use float16 in scc24 doc
arjunsuresh Sep 24, 2024
7b776b7
fixed command bug
anandhu-eng Sep 24, 2024
7b62b53
Merge pull request #27 from anandhu-eng/bugfix
arjunsuresh Sep 24, 2024
a2f6125
Merge branch 'master' into master
arjunsuresh Sep 24, 2024
594ab62
Merge branch 'master' into master
arjunsuresh Sep 24, 2024
c607870
Fix typo in docs
arjunsuresh Sep 25, 2024
2c04157
Merge branch 'master' into master
arjunsuresh Sep 25, 2024
04a67dc
Fix typo in docs
arjunsuresh Sep 26, 2024
a6e873a
Remove unnecessary indendation in docs
arjunsuresh Sep 26, 2024
8ab6225
initial commit for tip - native run CUDA
anandhu-eng Sep 30, 2024
54d8585
Updated tip
anandhu-eng Sep 30, 2024
e55e87b
Merge pull request #28 from anandhu-eng/issue#307
arjunsuresh Oct 1, 2024
402ef7b
Merge branch 'master' into master
arjunsuresh Oct 1, 2024
b1ad974
Merge branch 'master' into master
arjunsuresh Oct 1, 2024
af2780c
Merge branch 'mlcommons:master' into master
arjunsuresh Oct 2, 2024
ed593ba
added docker_cm_repo_branch to more run option - docker
anandhu-eng Oct 6, 2024
a11d1b7
Merge pull request #29 from anandhu-eng/repobranchdocker
arjunsuresh Oct 8, 2024
6918b85
Update docs for IndySCC24
arjunsuresh Oct 9, 2024
1dafdfc
Merge branch 'mlcommons:master' into master
arjunsuresh Oct 9, 2024
fa0eeca
Support custom repo branch and owner for final report generation
arjunsuresh Oct 11, 2024
148650d
enabled amd implementation for llama2
anandhu-eng Oct 19, 2024
7eee072
updations for amd - docs
anandhu-eng Oct 21, 2024
2bf7aac
Merge pull request #30 from anandhu-eng/amdenable
arjunsuresh Oct 21, 2024
30c0c0b
Fix scenarios in docs page
arjunsuresh Oct 22, 2024
8967ecf
formatted the files to pass the gh action
arjunsuresh Oct 22, 2024
fe99768
scenarios -> fixed_scenarios in docs
arjunsuresh Oct 22, 2024
09388ae
Merge branch 'master' into docs
arjunsuresh Nov 7, 2024
4d84eb7
Merge 09388ae987ef2a6d7cf45f2f295159d2d0768f60 into d3c01ed3de6618a8d…
arjunsuresh Nov 7, 2024
2f603e5
[Automated Commit] Format Codebase
arjunsuresh Nov 7, 2024
8f906be
Update indyscc24-bert.md
arjunsuresh Nov 7, 2024
7094946
Update scc24.md
arjunsuresh Nov 7, 2024
cd1aa78
updated tip for reference implementation (#1912)
anandhu-eng Nov 9, 2024
7c9cdab
Merge cd1aa7824c8010324b9b63e00103af9ced101526 into dffd29273e98ffcbb…
arjunsuresh Nov 9, 2024
6955639
[Automated Commit] Format Codebase
arjunsuresh Nov 9, 2024
387aa77
fix for run suffix (#1913)
anandhu-eng Nov 10, 2024
52a56e7
Merge 387aa77245f89b638f8e179db7ea7813c9ea7def into dffd29273e98ffcbb…
arjunsuresh Nov 10, 2024
f46b609
[Automated Commit] Format Codebase
arjunsuresh Nov 10, 2024
90b577f
Updation for adding submission flow diagram
anandhu-eng Nov 14, 2024
bf19a97
Added submission flow diagram
anandhu-eng Nov 14, 2024
4ee2ab8
Merge pull request #1922 from anandhu-eng/patch-5
arjunsuresh Nov 14, 2024
fe07608
Merge branch 'master' into docs
pgmpablo157321 Nov 14, 2024
6f4e17b
Update scc24.md
arjunsuresh Nov 18, 2024
e66b13d
Merge branch 'master' into docs
arjunsuresh Nov 19, 2024
35db901
Merge branch 'master' into docs
mrasquinha-g Nov 19, 2024
035beef
Merge branch 'master' into docs
mrasquinha-g Nov 19, 2024
8e4d59e
Merge branch 'master' into docs
arjunsuresh Nov 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ All the needed files are automatically pushed to the GitHub repository if you ma
```bash
cm run script --tags=generate,inference,submission \
--clean \
--preprocess_submission=yes \
--run-checker \
--tar=yes \
--env.CM_TAR_OUTFILE=submission.tar.gz \
Expand Down
2 changes: 1 addition & 1 deletion docs/benchmarks/text_to_image/reproducibility/scc24.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ or supporting multi-node execution) useful for the community and [MLCommons](htt

### Generate actual submission tree


```bash
cm run script --tags=generate,inference,submission \
--clean \
--preprocess_submission=yes \
--run-checker \
--tar=yes \
--env.CM_TAR_OUTFILE=submission.tar.gz \
Expand Down
Binary file added docs/img/submission-flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion docs/submission/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@
hide:
- toc
---
[![Streamline your MLPerf results using CM Framework](https://img.youtube.com/vi/eI1Hoecc3ho/0.jpg)](https://youtu.be/eI1Hoecc3ho)

<p align="center">
<img src="../img/submission-flow.png" alt="Submission Generation Flow">
</p>

<p align="center"><em>Figure: MLPerf Inference Submission Generation Flow</em></p>

<!--![Submission Generation Flow](../img/submission-flow.png)-->

Click [here](https://youtu.be/eI1Hoecc3ho) to view the recording of the workshop: Streamlining your MLPerf Inference results using CM.

=== "CM based benchmark"
If you have followed the `cm run` commands under the individual model pages in the [benchmarks](../index.md) directory, all the valid results will get aggregated to the `cm cache` folder. The following command could be used to browse the structure of inference results folder generated by CM.
Expand Down
40 changes: 37 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def mlperf_inference_implementation_readme(
if not categories:
if model.lower() == "bert-99.9":
categories = ["Datacenter"]

elif (
"dlrm" in model.lower()
or "llama2" in model.lower()
Expand All @@ -148,7 +149,7 @@ def mlperf_inference_implementation_readme(
scenarios = [
scenario for scenario in scenarios if scenario in fixed_scenarios]

content += f'{pre_space}=== "{category.lower()}"\n\n'
content += f"{pre_space}=== \"{category.lower()}\"\n\n"

cur_space = pre_space + " "
scenarios_string = ", ".join(scenarios)
Expand All @@ -173,6 +174,7 @@ def mlperf_inference_implementation_readme(

# minimum system requirements
content += get_min_system_requirements(

cur_space2, model, implementation, device
)

Expand Down Expand Up @@ -235,13 +237,20 @@ def mlperf_inference_implementation_readme(
extra_docker_input_string,
)

common_info = get_common_info(
spaces + 16,
implementation
)

if (
execution_env == "Native"
): # Native implementation steps through virtual environment
content += f"{cur_space3}####### Setup a virtual environment for Python\n"
content += get_venv_command(spaces + 16)
content += f"{cur_space3}####### Performance Estimation for Offline Scenario\n"

content += common_info

content += setup_run_cmd.replace(
"--docker ", "")

Expand All @@ -256,6 +265,9 @@ def mlperf_inference_implementation_readme(
device,
setup_tips,
)

content += common_info

content += docker_info

content += setup_run_cmd
Expand Down Expand Up @@ -373,7 +385,8 @@ def mlperf_inference_implementation_readme(
extra_input_string,
)
content += run_cmd
content += run_suffix

content += run_suffix

readme_prefix = get_readme_prefix(
spaces, model, implementation, extra_variation_tags
Expand Down Expand Up @@ -473,6 +486,24 @@ def get_venv_command(spaces):
{pre_space}export CM_SCRIPT_EXTRA_CMD=\"--adr.python.name=mlperf\"
{pre_space}```\n"""

# contains run command information which is common to both docker and
# native runs
def get_common_info(spaces, implementation):
info = ""
pre_space = ""
for i in range(1, spaces):
pre_space = pre_space + " "
pre_space += " "
# pre_space = " "
info += f"\n{pre_space}!!! tip\n\n"
info += f"{pre_space} - Batch size could be adjusted using `--batch_size=#`, where `#` is the desired batch size. This option works only if the implementation in use is supporting the given batch size.\n\n"
if implementation.lower() == "reference":
info += f"{pre_space} - Add `--adr.mlperf-implementation.tags=_branch.master,_repo.<CUSTOM_INFERENCE_REPO_LINK>` if you are modifying the official MLPerf Inference implementation in a custom fork.\n\n"
info += f"{pre_space} - Add `--adr.inference-src.tags=_repo.<CUSTOM_INFERENCE_REPO_LINK>` if you are modifying the model config accuracy script in the submission checker within a custom fork.\n\n"
info += f"{pre_space} - Add `--adr.inference-src.version=custom` if you are using the modified MLPerf Inference code or accuracy script on submission checker within a custom fork.\n\n"

return info

def get_docker_info(spaces, model, implementation,
device, setup_tips=True):
info = ""
Expand All @@ -487,7 +518,6 @@ def get_docker_info(spaces, model, implementation,
if model == "sdxl":
info += f"{pre_space} - `--env.CM_MLPERF_MODEL_SDXL_DOWNLOAD_TO_HOST=yes` option can be used to download the model on the host so that it can be reused across different container lanuches. \n\n"

info += f"{pre_space} - Batch size could be adjusted using `--batch_size=#`, where `#` is the desired batch size. This option works only if the implementation in use is supporting the given batch size.\n\n"
if implementation.lower() == "nvidia":
info += f"{pre_space} - Default batch size is assigned based on [GPU memory](https://github.com/mlcommons/cm4mlops/blob/dd0c35856969c68945524d5c80414c615f5fe42c/script/app-mlperf-inference-nvidia/_cm.yaml#L1129) or the [specified GPU](https://github.com/mlcommons/cm4mlops/blob/dd0c35856969c68945524d5c80414c615f5fe42c/script/app-mlperf-inference-nvidia/_cm.yaml#L1370). Please click more option for *docker launch* or *run command* to see how to specify the GPU name.\n\n"
info += f"{pre_space} - When run with `--all_models=yes`, all the benchmark models of NVIDIA implementation can be executed within the same container.\n\n"
Expand All @@ -499,6 +529,10 @@ def get_docker_info(spaces, model, implementation,
info += f"\n{pre_space}!!! tip\n\n"
info += f"{pre_space} - `--env.CM_MLPERF_MODEL_SDXL_DOWNLOAD_TO_HOST=yes` option can be used to download the model on the host so that it can be reused across different container lanuches. \n\n"

# return empty string if nothing is filled inside the tip
if info == f"\n{pre_space}!!! tip\n\n":
return ""

return info

def get_readme_prefix(spaces, model, implementation, extra_variation_tags):
Expand Down
2 changes: 2 additions & 0 deletions tools/submission/generate_final_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ def MakeWorksheet(df, index, filter_dict, sheet_name, outjsondata=[]):
df = df[value(df[key])]
if df.size == 0:
return

json_df = df.to_json(orient="records")
outjsondata += json.loads(json_df)

Expand Down Expand Up @@ -328,6 +329,7 @@ def reformatlink(data, key):
for key in keystomatch):
# print(result)
# print(outjsondata[i+1])

if "Watts" in result["Units"] or "joules" in result["Units"]:
result["Performance_Result"] = outjsondata[i + 1]["Result"]
result["Performance_Units"] = outjsondata[i + 1]["Units"]
Expand Down