Home

Awesome

Open Source MLOps

This is the Fuzzy Labs guide to the universe of free and open source MLOps tools.

Contents

What is MLOps anyway?

MLOps (machine learning operations) is a discipline that helps people to train, deploy and run machine learning models successfully in production environments. Because this is a new and rapidly-evolving field, there are a lot of tools out there, and new ones appear all the time. If we've missed any, then please do raise a pull request! (but please ensure it meets the definitions of open source below).

What counts as open source?

In deciding what to include in this list we apply 3 criteria.

👮‍ Fits the definition

Rather than invent our own definition, we defer to the Open Source Initiative's definition of open source. The OSI have laid out a set of clear and unambiguous requirements for something to be considered free and open source.

⚖ Open source license

So it follows that any OSI-approved license is acceptable, with examples including the various Apache, GPL, and BSD licenses. But this also means there are licenses that we don't include, such as the increasingly-popular Server Side Public License; to understand why, see the OSI's writeup on the subject.

🔋 Batteries included

We only list tools that are fully-functional and able to stand on their own. Some vendors offer limited open source versions of their tools, but ultimately those vendors want to guide you towards a SaaS offering. Sometimes there's a genuinely open-source client, but a proprietary server, meaning that the tool is not truly stand-alone. Everything in this collection comes complete with "batteries included".

Data annotation

Data annotation (or labelling) tools help us create labelled training data for use in supervised learning. This is one of the most labour-intensive processes in machine learning, and one where good tooling can save a great deal of effort. Because data comes in a huge variety of types and formats, there are also a huge variety of different tools which specialise in certain types of data.

Supported Data TypesNameLicenseDescription
MultipleLabel StudioApache 2.0A Swiss army knife of data labelling.
TextdoccanoMITA popular tool for text annotation to build datasets for NLP tasks such as sentiment analysis and named entity recognition. Easy to setup and support most languages.
ImagelabelmeGPL-3A graphical image annotation tool for object detection, segmentation, and classification. Supports polygon, circle, line, and point annotations.
VideoComputer Vision Annotation Tool (CVAT)MITOne of the most popular video and image annotation tools used by professional data annotation teams. It can be used online so you can start labelling your data without any installations.
AudioPraatGPL-3A speech analysis tool used for doing phonetics by computer. Some of its most prominent features are speech labelling and speech analysis.

For a more in-depth list of data annotation tools, check out Open Source Data Annotation & Labeling Tools by ZenML.

Data validation

The golden rule of machine learning is that a model is only as good as the data used to train it. Data validation is the process of verifying that data is accurate and consistent. As errors in data can severely impact the performance of your model, it is crucial to spot data errors early.

Sometimes your model might achieve good accuracy during training , but performs poorly on real-world data. This could be an indication that there are errors in your data which were not spotted during validation. Even a tiny mismatch in the format of the data provided to your machine learning model can significantly impact its performance.

NameLicenseDescription
Great ExpectationsApache 2.0An easy-to-use tool with over 280 assertions for validating, documenting, and profiling your data to maintain quality. Great Expectations works with a variety of data sources, including SQL databases, and various file formats
Data Validation Tool (DVT)Apache 2.0A Python tool that allows you to build custom query validation, schema validation and much more. It also supports a wide range of databases such as MySql, Snowflake and BigQuery, just to name a few.
data-diffMITAn open-source command-line tool to compare rows across two different databases. An ideal tool to use for data migration.
CerberusISCA powerful yet simple data validation library for Python. Lightweight data validation functionality out-of-the-box and is designed to be easily extensible, allowing for custom validation.
deequApache 2.0A library built on top of Apache Spark for defining "unit tests for data" in large datasets.

Data version control

Just like code, data grows and evolves over time. Data versioning tools help you to keep track of these changes.

You might wonder why you can't just store data in Git (or equivalent). There are a few reasons this doesn't work, but the main one is size: Git is designed for small text files, and typical datasets used in machine learning are just too big. Some tools, like DVC, store the data externally, but also integrate with Git so that data versions can be linked to code versions.

NameLicenseDescription
DVCApache 2.0One of the most popular general-purpose data versioning tools.
Delta LakeApache 2.0Data versioning for data warehouses.
LakeFSApache 2.0Transform your object storage into a Git-like repository.
Git LFSMITNot specialised in machine learning use-cases, but another popular way to version datasets.

Experiment tracking

Machine learning involves a lot of experimentation. We end up training a lot of models, most of which are never intended to go into production, but represent progressive steps towards having something production-worthy. Experiment tracking tools are there to help us keep track of each experiment. What exactly do we need to track? typically this includes the code version, data version, input parameters, training performance metrics, as well as the final model assets.

NameLicenseDescription
SacredMIT
CometLLMMITTrack, visualize, and evaluate your LLM prompts in one convenient UI.
TensorboardApache 2.0
Guild.AIApache 2.0
MLFlowApache 2.0
KedroApache 2.0A Python framework for creating reproducible, maintainable and modular data science code.

Model training

NameLicenseDescription
MLFlowApache 2.0
KubeflowApache 2.0The machine learning toolkit for kubernetes
MetaflowApache 2.0
envdApache 2.0The machine learning development environment for data science and AI/ML engineering teams.

Model validation

Data validation has been around for some time, but what about validating ML? Although ML models are very dependant on the data that you feed them, models must also be validated before being released into the real world.

NameLicenseDescription
TrubricsApache 2.0Validate machine learning with data science and domain expert feedback.

Model registries

Model registries are used to track the lifecycle of trained machine learning models.

NameLicenseDescription
MLFlowApache 2.0The ML Flow model registry allows you to store, annotate, discover, and manage models in a central repository.
modelstoreApache 2.0A Python library for versioning, storing, and tracking ML model artefacts across several different types of storage.

Workflows

NameLicenseDescription
CMLApache 2.0Continuous Machine Learning (CML) is CI/CD for Machine Learning Projects

Feature stores

NameLicenseDescription
FeastApache 2.0A complete open source feature store.
HopsworksAGPL-3.0A feature store, feature engineering, and more.
FeathrApache 2.0Enterprise-grade, high performance feature store

Feature Engineering

NameLicenseDescription
HamiltonBSD-3 CCA way to organize, curate, and scale your feature transform code.

Model deployment and serving

Model serving is the process of taking a trained model and presenting it behind a REST API, and this enables other software components to interact with a model. To make deployment of these model servers as simple as possible, it's commonplace to run them inside Docker containers and deploy them to a container orchestration system such as Kubernetes.

NameLicenseDescription
Seldon CoreApache 2.0Turn your models into microservices to run on Kubernetes
BentoMLApache 2.0
BodyworkAGPL-3.0
KServeApache 2.0
MLEMApache 2.0🐶 Version and deploy your ML models following GitOps principles

Model monitoring

Monitoring means making sure that each deployed model is both functioning, and producing sensible results. We don't just want to check for errors in the traditional sense, but also for things like drift and signs of bias in the predictions and decisions that come from a model.

NameLicenseDescription
EvidentlyApache 2.0
Boxkite MLApache 2.0
Alibi Detect (by Seldon)Apache 2.0
whylogsApache 2.0whylogs allows users to generate data profiles, statistical summaries of data, that can be used as logs for an AI observability platform.
RecListMITRecList is an open source library providing behavioral testing for recommender systems, to be used either offline or online for a better understanding of model "true" generalization abilities. RecList comes with a WWW paper, and several tutorials.

Data Catalogues

Tools for data discovery and data access control. Can be very important to workout and manage what data can be trained on or tested on, and how these rules vary from client to client. Great summary at https://atlan.com/open-source-data-governance-tools/. This space is pretty young with no real convergence on an expected set of features. They vary in focus from data discovery to data accesss management.

NameLicenseDescription
MagdaApache 2.0
AmundsenApache 2.0
Apache AtlasApache 2.0

Full stacks

NameLicenseDescription
Open MLOpsMIT
You Don't Need a Bigger BoatMITAn end-to-end open project, from real-world data to an endpoint serving Transformer-based predictions, supported by videos, scholarly references and a TDS blog series on "Reasonable Scale" ML
Recommendations at "Reasonable Scale"MITAn end-to-end recommendation project leveraging NVIDIA Merlin library to train a deep learning model on top of the Modern Data Stack; the related NVIDIA keynote talk is also publicly available.
ZenMLApache 2.0An extensible, open-source MLOps framework to create production-ready machine learning pipelines.

Governance

NameLicenseDescription
BailoApache 2.0Managing the lifecycle of machine learning to support scalability, impact, collaboration, compliance and sharing.

More resources

Here are some more resources for MLOps, both open-source and proprietary