mamurak / os-mlops

22 stars 18 forks source link

OS MLOps

This repository contains a number of assets for implementing an open source MLOps approach using OpenShift Container Platform and Red Hat OpenShift AI (RHOAI).

RHOAI Pipelines and Serving

RHOAI Demo Pack

To quickly set up a RHOAI environment for fraud detection and object detection demos, follow these steps:

  1. (optional) Set up GPU enablement if GPUs are present in your cluster.
  2. Deploy the OpenShift Data Science operator on your OpenShift cluster. The demo pack has been tested with RHOAI 2.5.0.
  3. Deploy the OpenShift Pipelines operator. The demo pack has been tested with Pipelines versions 1.8 to 1.10.
  4. Deploy the OpenShift Serverless operator. The demo pack has been tested with Serverless version 1.31.0.
  5. Deploy the OpenShift Service Mesh operator. The demo pack has been tested with Service Mesh version 2.4.5-0.
  6. Clone this repository and navigate to manifests.
  7. Run oc apply -f dependencies.yaml. Wait until the DataScienceCluster CR has been deployed.
  8. Run oc apply -k .

Once the manifests have been deployed, your environment contains:

To get started with your demo, instantiate the respective workbenches.

Fraud detection

  1. In the RHOAI dashboard, enter the fraud-detection project.
  2. Create a new workbench with an arbitrary name and these parameters:
    • image: Trino
    • existing cluster storage: development
    • existing data connection: fraud-detection
  3. In the workbench, clone this repository, navigate to notebooks/fraud-detection and follow the instructions.

Object detection

  1. In the RHOAI dashboard, enter the object-detection project.
  2. Create a new workbench with an arbitrary name and these parameters:
    • image: Object detection
    • existing cluster storage: development
    • existing data connection: object-detection
  3. In the workbench, clone this repository, navigate to notebooks/object-detection and follow the instructions.

References