Book Image

MLOps with Red Hat OpenShift

By : Ross Brigoli, Faisal Masood
Book Image

MLOps with Red Hat OpenShift

By: Ross Brigoli, Faisal Masood

Overview of this book

MLOps with OpenShift offers practical insights for implementing MLOps workflows on the dynamic OpenShift platform. As organizations worldwide seek to harness the power of machine learning operations, this book lays the foundation for your MLOps success. Starting with an exploration of key MLOps concepts, including data preparation, model training, and deployment, you’ll prepare to unleash OpenShift capabilities, kicking off with a primer on containers, pods, operators, and more. With the groundwork in place, you’ll be guided to MLOps workflows, uncovering the applications of popular machine learning frameworks for training and testing models on the platform. As you advance through the chapters, you’ll focus on the open-source data science and machine learning platform, Red Hat OpenShift Data Science, and its partner components, such as Pachyderm and Intel OpenVino, to understand their role in building and managing data pipelines, as well as deploying and monitoring machine learning models. Armed with this comprehensive knowledge, you’ll be able to implement MLOps workflows on the OpenShift platform proficiently.
Table of Contents (13 chapters)
Free Chapter
1
Part 1: Introduction
3
Part 2: Provisioning and Configuration
6
Part 3: Operating ML Workloads

Releasing new versions of the model

Having a model served as a service is not the end of the story. For the model to stay relevant and continue to deliver value to the business, you will need to keep it updated. You will continually release new versions of the model to keep up with the changing environment and to address model drift. Additionally, releasing a new version of the model may fail, and/or the new models may not perform as expected. In such cases, you may want to redeploy a newer version or roll back to the previous version of the model to avoid service disruptions. This is why it is important to not overwrite existing models and this is why they should be versioned.

To version the model, we’ll create a new pipeline:

  1. In the wines workbench, open a new pipeline editor by going to File | New | Data Science Pipeline Editor.
  2. Drag and drop the wine-training-model.ipynb and the upload-model-versioned.ipynb notebook files into the workspace. This will create...