-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
130 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,22 @@ | ||
# CM repository to enable more determinstic, portable and reproducible MLOps | ||
# CM MLOps repository | ||
|
||
[](https://github.com/mlcommons/ck/tree/master/cm) | ||
[](https://github.com/mlcommons/ck/tree/master/cm) | ||
|
||
This repository contains [portable scripts](https://github.com/mlcommons/ck/tree/master/cm-mlops/script) | ||
in the [CM format](https://github.com/mlcommons/ck) to unify and interconnect | ||
different MLOps and DevOps tools. | ||
|
||
It is becoming very challenging to co-design, optimize and deploy efficient AI Systems in the real world: | ||
["MLOps Is a Mess But That's to be Expected"](https://www.mihaileric.com/posts/mlops-is-a-mess). | ||
All such components have a unified API, human readable CLI and extensible JSON/YAML meta description | ||
making it possible to reuse them in different projects and chain them together | ||
into powerful, efficient and portable automation workflows, applications and web services | ||
adaptable to continuously changing software and hardware. | ||
|
||
However, [our experience](https://doi.org/10.5281/zenodo.6475385) | ||
suggests that it is possible to [apply DevOps principles to MLOps](https://www.datanami.com/2022/03/30/birds-arent-real-and-neither-is-mlops/) | ||
if we treat all AI, ML and Systems artifacts including models, data sets, frameworks, libraries and scripts as "code" meta packages | ||
with dependencies on other artifacts, operating systems and hardware. | ||
We use and extend this repository in the [open education workgroup](../docs/mlperf-education-workgroup.md) | ||
as a common playground and a common language to help researchers and engineers | ||
learn how to modularize complex software systems (such as AI and ML) | ||
and automate their benchmarking, optimization, co-design and deployment. | ||
|
||
We use this [CM-based repository](https://github.com/mlcommons/cm-mlops) | ||
as a common playground and a common language to learn with the community | ||
how to automate benchmarking, optimization, co-design and deployment | ||
of complex ML Systems and make it more deterministic, portable and reproducible | ||
across continusly changing software and hardware stacks. | ||
|
||
|
||
# How to use | ||
|
||
## Install CM toolkit and dependencies | ||
|
||
Install the CM toolkit as described [here](https://github.com/mlcommons/ck/blob/master/cm/docs/installation.md). | ||
|
||
## Install this CM repository | ||
|
||
Use CM to install this repository on your system: | ||
|
||
```bash | ||
$ cm pull repo mlcommons@ck | ||
``` | ||
|
||
You can see this and other CM-compatible repositories installed on your system as follows: | ||
```bash | ||
$ cm list repo | ||
``` | ||
|
||
You can list reusable automations as follows: | ||
```bash | ||
$ cm find automation | ||
``` | ||
|
||
You can now list available MLOps automation scripts as follows: | ||
```bash | ||
$ cm list script | ||
``` | ||
|
||
You can run any portable and reusable MLOps automation script as follows: | ||
```bash | ||
$ cm run script {CM script alias or UID} | ||
``` | ||
|
||
|
||
*More to come soon ...* | ||
|
||
|
||
## Check CM tutorials | ||
|
||
TBD | ||
|
||
|
||
# Contacts | ||
|
||
* [Grigori Fursin](https://cKnowledge.io/@gfursin) | ||
* [Arjun Suresh](https://www.linkedin.com/in/arjunsuresh) | ||
Read about the CM concept [here](https://github.com/mlcommons/ck) | ||
and follow [this tutorial](../cm/docs/tutorial-scripts.md) | ||
to install CM framework and understand CM concepts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.