mlcommons/cm4mlops

Legacy CM repository with a collection of portable, reusable and cross-platform CM automations for MLOps and MLPerf to simplify the process of building, benchmarking and optimizing AI systems across diverse models, data sets, software and hardware

Python

20

11,323 commits

updated Mar 13, 2025

See the code

README

Legacy CM4MLOps repository with DevOps, MLOps and MLPerf automations

License Powered by CM.

This repository is powered by the Collective Mind workflow automation framework.

The latest sources are available in this repository.

Two key automations developed using CM are Script and Cache, which streamline machine learning (ML) workflows, including managing Docker runs. Both Script and Cache automations are part of the cm4mlops repository.

The CM scripts, also housed in this repository, consist of hundreds of modular Python-wrapped scripts accompanied by yaml metadata, enabling the creation of robust and flexible ML workflows.

License

Apache 2.0

© 2022-2025 MLCommons. All Rights Reserved.

Grigori Fursin, the cTuning foundation and OctoML donated the CK and CM projects to MLCommons to benefit everyone and encourage collaborative development.

Maintainer(s)

  • MLCommons

Author

Grigori Fursin.

We thank all contributors for their invaluable feedback and support!

Concepts

Check our ACM REP'23 keynote and the white paper.

Test image classification and MLPerf R-GAT inference benchmark via CMX GitHub repo

pip install cmind
cmx pull repo mlcommons@ck --dir=cm4mlops/cm4mlops
cmx run script "python app image-classification onnx" --quiet
cmx run script "run-mlperf inference _performance-only _short" --model=resnet50 --precision=float32 --backend=onnxruntime --scenario=Offline --device=cpu --env.CM_SUDO_USER=no --quiet
cmx run script --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --submitter="MLCommons" --adr.inference-src.tags=_branch.dev --pull_changes=yes --pull_inference_changes=yes  --submitter="MLCommons" --hw_name=ubuntu-latest_x86 --model=rgat --implementation=python --backend=pytorch --device=cpu --scenario=Offline --test_query_count=500 --adr.compiler.tags=gcc --category=datacenter --quiet  --v --target_qps=1

Parent project

Visit the parent Collective Knowledge project for further details.

Citing this project

If you found the CM automations helpful, kindly reference this article: [ ArXiv ]

automation
cross-platform
devops
machine-learning
mlops
mlperf
reusable
workflow
workflow-automation

Contributors

(top 30 of 32)

arjunsuresh

5,795 commits

gfursin

4,198 commits

anandhu-eng

797 commits

ctuning-admin

212 commits

mlcommons/cm4mlops

Legacy CM repository with a collection of portable, reusable and cross-platform CM automations for MLOps and MLPerf to simplify the process of building, benchmarking and optimizing AI systems across diverse models, data sets, software and hardware

Python

20

11,323 commits

updated Mar 13, 2025

See the code

README

Legacy CM4MLOps repository with DevOps, MLOps and MLPerf automations

License Powered by CM.

This repository is powered by the Collective Mind workflow automation framework.

The latest sources are available in this repository.

Two key automations developed using CM are Script and Cache, which streamline machine learning (ML) workflows, including managing Docker runs. Both Script and Cache automations are part of the cm4mlops repository.

The CM scripts, also housed in this repository, consist of hundreds of modular Python-wrapped scripts accompanied by yaml metadata, enabling the creation of robust and flexible ML workflows.

License

Apache 2.0

© 2022-2025 MLCommons. All Rights Reserved.

Grigori Fursin, the cTuning foundation and OctoML donated the CK and CM projects to MLCommons to benefit everyone and encourage collaborative development.

Maintainer(s)

  • MLCommons

Author

Grigori Fursin.

We thank all contributors for their invaluable feedback and support!

Concepts

Check our ACM REP'23 keynote and the white paper.

Test image classification and MLPerf R-GAT inference benchmark via CMX GitHub repo

pip install cmind
cmx pull repo mlcommons@ck --dir=cm4mlops/cm4mlops
cmx run script "python app image-classification onnx" --quiet
cmx run script "run-mlperf inference _performance-only _short" --model=resnet50 --precision=float32 --backend=onnxruntime --scenario=Offline --device=cpu --env.CM_SUDO_USER=no --quiet
cmx run script --tags=run,mlperf,inference,generate-run-cmds,_submission,_short --submitter="MLCommons" --adr.inference-src.tags=_branch.dev --pull_changes=yes --pull_inference_changes=yes  --submitter="MLCommons" --hw_name=ubuntu-latest_x86 --model=rgat --implementation=python --backend=pytorch --device=cpu --scenario=Offline --test_query_count=500 --adr.compiler.tags=gcc --category=datacenter --quiet  --v --target_qps=1

Parent project

Visit the parent Collective Knowledge project for further details.

Citing this project

If you found the CM automations helpful, kindly reference this article: [ ArXiv ]

automation
cross-platform
devops
machine-learning
mlops
mlperf
reusable
workflow
workflow-automation

Contributors

(top 30 of 32)

arjunsuresh

5,795 commits

gfursin

4,198 commits

anandhu-eng

797 commits

ctuning-admin

212 commits

Languages

Python

76.6%

Shell

11.5%

C++

6.6%

C

2.7%

Batchfile

1.9%