Skip to content
/ ck Public
forked from mlcommons/ck

Collective Mind (CM) is a collection of portable, extensible and ready-to-use automation recipes with a human-friendly interface and minimal dependencies to make it easier to compose, benchmark and optimize complex AI, ML and other applications and systems across diverse and continuously changing models, data sets, software and hardware

License

Notifications You must be signed in to change notification settings

evdcush/ck

 
 

Repository files navigation

PyPI version Python Version License Downloads

CM test CM script automation features test

About

Collective Knowledge (CK) in a community project to develop open-source tools, platforms and automation recipes that can help researchers and engineers automate their repetitive, tedious and time-consuming tasks to build, run, benchmark and optimize AI, ML and other applications and systems across diverse and continuously changing models, data, software and hardware.

CK consists of several ongoing sub-projects:

  • Collective Mind framework (CM) (~1MB) - a very light-weight Python-based framework with minimal dependencies to help the community implement, share and reuse cross-platform automation recipes to build, benchmark and optimize applications on any platform with any software and hardware. Very simply, it extends the cmake concept with reusable automation recipes and workflows written in plain Python or native OS scripts, accessible via a human readable interface with simple tags, and shareable in public and private repositories in a decentralized way. Furthermore, in comparison with cmake, these automation recipes can not only detect missing code but also download artifacts (models, data sets), preprocess them, build missing dependencies, install them and run the final code on diverse platforms in a unified and automated way. You can read more about the CM concept in this presentation.

  • Collective Knowledge Playground - an open-source platform to list CM scripts similar to PYPI, aggregate AI/ML Systems benchmarking results with CM workflows, and organize public optimization challenges and reproducibility initiatives to find the most performance and cost-effective AI/ML Systems.

License

Apache 2.0

Copyright

2022-2024 MLCommons

Motivation behind CK and CM projects

  • ACM REP'23 keynote about MLCommons CM: [ slides ]
  • ACM TechTalk'21 about automating research projects: [ YouTube ] [ slides ]

Documentation

We plan to rewrite and simplify the CM documentation and tutorials based on user feedback in Q2 2024 - please stay tuned for more details.

Get in touch

Collective Mind workflow automation framework and Collective Knowledge Playground are being developed by the MLCommons Task Force on Automation and Reproducibility as a community effort. Volunteers are very welcome to help with this community project!

Acknowledgments

CK and CM are community projects based on the feedback from our users and MLCommons members. We would like to thank all collaborators and contributors for their support, fruitful discussions, and useful feedback!

About

Collective Mind (CM) is a collection of portable, extensible and ready-to-use automation recipes with a human-friendly interface and minimal dependencies to make it easier to compose, benchmark and optimize complex AI, ML and other applications and systems across diverse and continuously changing models, data sets, software and hardware

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 87.3%
  • Shell 3.5%
  • C++ 2.8%
  • HTML 2.4%
  • Dockerfile 1.5%
  • C 1.2%
  • Other 1.3%