CML automates ML workflows in GitHub, GitLab, or Bitbucket CI, posting markdown reports with metrics and plots and provisioning cloud or self-hosted runners.
Overview
Continuous Machine Learning (CML) is a command-line tool that brings CI/CD practices to machine learning repositories. It fits into existing Git provider pipelines to train models, evaluate runs, compare experiments over history, and surface results where teams already review code.
Workflows can publish CML reports as pull request comments or GitHub checks, embedding metrics, tables, images, and links. It works alongside DVC for data that lives outside Git and supports TensorBoard links in reports. Pre-built container images bundle CML, DVC, Python, and related tooling for runners.
The cml runner launch command can spin up cloud instances on AWS, Azure, GCP, or Kubernetes for GPU or heavy jobs, or configure on-premise machines as listeners. Functions also cover creating branches and pull requests from pipeline output.
Teams can install CML via setup actions, Docker images, npm package, or standalone binaries. No separate MLOps database is required beyond Git and optional cloud storage credentials.
Key features
- Markdown experiment reports in PRs
- GitHub, GitLab, Bitbucket support
- cml comment and check publishers
- Cloud runner provisioning
- Official CML Docker images
- DVC metrics and plots in reports
- TensorBoard link helper
- Self-hosted and on-prem runners
Use cases
- Auto-report metrics on every pull request
- Compare model metrics to main branch
- Run training on ephemeral GPU VMs
- Share plots from training scripts
- Git-based ML experiment tracking