GitOps for ML: Converting Notebooks to Reproducible Pipelines
Rob De Wit
About the event
Jupyter Notebooks are an invaluable tool for prototyping in machine learning projects. At a certain point, however, running experiments in them becomes messy. As a result, we tend to lose track of which data, code, and parameters resulted in a given model version.
At that point, you will want to move towards a truly reproducible pipeline. This will help you run experiments in a structured manner and find the best-performing models. At Iterative we build open-source tools that help you do just that.
In this hands-on workshop, we’ll take a prototype in a Jupyter Notebook and transform it into a DVC pipeline. We’ll then use that pipeline locally to run and compare a few experiments. Lastly, we’ll explore how CML will allow us to take our model training online. We’ll use it in conjunction with GitHub Actions to trigger our model training every time we push changes to our repository.
We’ll cover the following steps:
- Brief introduction to DVC: data versioning and reproducibility
- Parameterize a Jupyter Notebook and transform it into a DVC pipeline
- Run, track, and compare experiments with DVC
- Take our model training online with CML
By the end of this workshop, you’ll be able to convert a notebook into a fully reproducible pipeline and run it in externally with a GitHub runner. With these skills you’ll know how to take a Gitops approach to ML projects.
Prerequisites:
- A GitHub account; Git fundamentals are expected knowledge
- Potentially useful: https://iterative.ai/blog/jupyter-notebook-dvc-pipeline
This event is sponsored by Iterative.ai
About the speakers
Rob De Wit
Developer advocate at Iterative AI
Rob De Wit is a developer advocate at Iterative AI, working at the heart of the open source MLOps ecosystem. He has a background in information sciences and practical experience in data analytics and data engineering, which gives him a grounded, practitioner-oriented perspective on the tools and workflows he shares with the community.
Before joining Iterative, Rob worked in FinTech, an environment where data pipelines and models face strict demands on reliability and correctness. Right now he is learning a whole lot about MLOps in public, exploring how machine learning systems are versioned, tested, and operated in practice. Having experienced first-hand the gap between data scientists and engineers, he is particularly interested in bridging that divide, helping both sides speak a common language about reproducibility, collaboration, and production-ready machine learning.