Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Production MLOps Workshop: From Laptop to Cloud Native

MLOps Lifecycle Diagram

GitHub Pages License PRs Welcome

Learn to deploy, monitor, and maintain production ML systems through hands-on labs.

The hard truth: Building ML models is just a small portion of the work. The rest is getting them to production and keeping them there.

Research shows that most ML projects struggle to reach production. Only 53% of AI projects make it from prototype to production, while 77% of businesses cite "business adoption" as a major challenge. The gap between ML development and production deployment remains one of the biggest challenges in modern AI.

This workshop teaches you how to bring models from your laptop to a cloud-native environment. You'll learn everything needed to be production-ready - experiment tracking, containerization, Kubernetes deployment, pipeline automation, drift detection, and monitoring.


What makes this different?

  • 🎯 Production-first approach - Real deployment scenarios on OpenShift/Kubernetes
  • πŸ› οΈ Industry-standard tools - MLflow, Kubeflow, Evidently, FastAPI, vLLM
  • πŸ“ˆ Progressive learning - Beginner to Intermediate in structured steps
  • πŸ€– LLMOps included - Modern LLM fine-tuning and deployment practices
  • 🏒 Enterprise-ready - Designed for Red Hat OpenShift AI environment

🎯 What You'll Learn?

This workshop bridges the gap between machine learning development and production deployment. You'll gain practical experience with:

  • Experiment Tracking & Model Management - Track experiments, version models, and manage the ML lifecycle with MLflow
  • Containerization & Orchestration - Package models with Docker/Containerfile and deploy on Kubernetes/OpenShift
  • Pipeline Automation - Build end-to-end ML pipelines with Kubeflow Pipelines
  • Production Monitoring - Detect data drift and monitor model performance with Evidently AI
  • Model Serving - Deploy models as REST APIs with FastAPI and vLLM
  • LLMOps Fundamentals - Fine-tune LLMs with LoRA/QLoRA, version, and deploy to production

πŸš€ Who Is This For?

This workshop is designed for :

  • Data Scientists transitioning to production ML systems
  • ML Engineers looking to formalize MLOps practices
  • DevOps Engineers expanding into ML operations

Prerequisites

  • Basic Python programming (comfortable with Pandas, NumPy, scikit-learn)
  • Fundamental ML knowledge (training/testing splits, model evaluation)
  • Git basics (clone, commit, push/pull)
  • Docker fundamentals (containers, images) - helpful but not required
  • Kubernetes basics - helpful but not required
  • Jupyter Notebook experience - for working with lab notebooks

πŸ“Š Repository Structure

MLOps-Workshop-Exercises/
β”œβ”€β”€ .agents/skills/                    # Agent skill definitions
β”‚   β”œβ”€β”€ ml-pipeline-workflow/
β”‚   └── mlops-engineer/
β”œβ”€β”€ docs/                              # Zensical documentation
β”‚   β”œβ”€β”€ index.md                       # Home page
β”‚   β”œβ”€β”€ mlops-overview.md              # MLOps theory overview
β”‚   β”œβ”€β”€ workshop-overview.md           # Workshop structure
β”‚   β”œβ”€β”€ environment-requirement
|   |    β”œβ”€β”€ environment-requirements.md 
|   |    └──git-cheatsheet.md
β”‚   β”œβ”€β”€ redhat-demo-environment.md
β”‚   β”œβ”€β”€ mlflow-installation.md
β”‚   β”œβ”€β”€ helm-installation.md
β”‚   β”œβ”€β”€ git-cheatsheet.md
β”‚   β”œβ”€β”€ theory/introduction.md
β”‚   β”œβ”€β”€ labs-docs/
β”‚   β”‚   β”œβ”€β”€ bike-demand-forecasting.md
β”‚   β”‚   β”œβ”€β”€ bike-demand-forecasting-pipeline.md
β”‚   β”‚   β”œβ”€β”€ wine-quality-classifier.md
β”‚   β”‚   β”œβ”€β”€ llm-instruction-tuning.md
β”‚   β”‚   β”œβ”€β”€ snippets/abbreviations.md
β”‚   β”‚   β”œβ”€β”€ tasks/                     # Task 1-9 guides
β”‚   β”‚   β”œβ”€β”€ 01_beginner/bike-forecasting/       # 9 step-by-step guides
β”‚   β”‚   β”œβ”€β”€ 02_intermediate/llm-instruction-tuning/  # 6 step-by-step guides
β”‚   β”‚   └── 03_advanced/
β”‚   β”‚       β”œβ”€β”€ kubeflow-advanced/     # 5 step-by-step guides
β”‚   β”‚       └── ml-security-compliance/ # 4 step-by-step guides
β”‚   └── assets/                        # Images, CSS, JS
β”œβ”€β”€ environment_preparations/
β”‚   β”œβ”€β”€ helm_installtion.sh
β”‚   β”œβ”€β”€ mlflow_installation.sh
β”‚   β”œβ”€β”€ mlflow_odh_installation.sh
β”‚   └── mlflow_route.ymal
β”œβ”€β”€ labs/
β”‚   β”œβ”€β”€ 01_beginner/
β”‚   β”‚   β”œβ”€β”€ bike_demand_forecasting/
β”‚   β”‚   β”‚   β”œβ”€β”€ notebooks/                 # 6 Jupyter notebooks
β”‚   β”‚   β”‚   β”‚   └── data/test_model/       # Test datasets
β”‚   β”‚   β”‚   β”œβ”€β”€ models/                    # FastAPI + Containerfile + k8s
β”‚   β”‚   β”‚   └── models_cors/               # CORS-enabled variant
β”‚   β”‚   └── wine_quality_TODO/             # Placeholder for next lab
β”‚   β”œβ”€β”€ 02_intermediate/
β”‚   β”‚   β”œβ”€β”€ bike_demand_forecasting_pipeline/  # Kubeflow pipeline
β”‚   β”‚   β”‚   β”œβ”€β”€ pipeline_bike_sharing.py       # 6 components
β”‚   β”‚   β”‚   β”œβ”€β”€ serve.py                       # FastAPI serving
β”‚   β”‚   β”‚   β”œβ”€β”€ Containerfile                  # ubi9/python-311
β”‚   β”‚   β”‚   β”œβ”€β”€ requirements.txt
β”‚   β”‚   β”‚   β”œβ”€β”€ test_process_dataset.py        # Unit test
β”‚   β”‚   β”‚   β”œβ”€β”€ k8s/deployment.yaml            # Deployment + Service
β”‚   β”‚   β”‚   └── data/                          # raw/, processed/, test_model/
β”‚   β”‚   β”œβ”€β”€ llm_instruction_tuning/
β”‚   β”‚   β”‚   β”œβ”€β”€ Dockerfile
β”‚   β”‚   β”‚   β”œβ”€β”€ environment.yml                # Conda env definition
β”‚   β”‚   β”‚   β”œβ”€β”€ requirements.txt
β”‚   β”‚   β”‚   β”œβ”€β”€ README.md
β”‚   β”‚   β”‚   β”œβ”€β”€ data/                          # Training datasets
β”‚   β”‚   β”‚   β”œβ”€β”€ models/                        # Merged model output
β”‚   β”‚   β”‚   β”œβ”€β”€ notebooks/             # 6 Jupyter notebooks
β”‚   β”‚   β”‚   β”œβ”€β”€ scripts/               # mlflow_register.py, test_client.py, build_and_push.sh
β”‚   β”‚   β”‚   └── k8s/                   # deployment.yaml, service.yaml
β”‚   β”‚   └── archive/bike_demand_forecasting_pipeline/  # Old 4-component version
β”‚   └── 03_advanced/
β”‚       β”œβ”€β”€ kubeflow_advanced/
β”‚       β”‚   β”œβ”€β”€ README.md
β”‚       β”‚   β”œβ”€β”€ requirements.txt
β”‚       β”‚   β”œβ”€β”€ scripts/pipeline_helpers.py
β”‚       β”‚   └── notebooks/            # 5 notebooks
β”‚       └── ml_security_compliance/
β”‚           β”œβ”€β”€ README.md
β”‚           β”œβ”€β”€ requirements.txt
β”‚           β”œβ”€β”€ scripts/audit_logger.py
β”‚           └── notebooks/            # 4 notebooks
β”œβ”€β”€ zensical.toml                     # Zensical site config
β”œβ”€β”€ requirements.txt                  # Root: zensical==0.0.43
β”œβ”€β”€ LICENSE                           # MIT License
β”œβ”€β”€ README.md                         # Project overview
β”œβ”€β”€ ROADMAP.md                        # Enhancement roadmap
β”œβ”€β”€ SECURITY.md                       # Security policy
β”œβ”€β”€ CLAUDE.md                         # AI assistant instructions
└── skills-lock.json                  # Agent skill registry

πŸ› οΈ Technology Stack

This workshop uses industry-standard tools:

Category Tools
Experiment Tracking MLflow
Containerization Docker, Containerfile
Orchestration Kubernetes, OpenShift, Kubeflow Pipelines
Monitoring Evidently AI
Model Serving FastAPI, vLLM
ML Frameworks scikit-learn, Hugging Face Transformers
LLM Training PEFT (LoRA/QLoRA), bitsandbytes
Documentation Zensical Material Theme
Languages Python, YAML

πŸ“– Documentation

Resource Description
Workshop Site Full interactive documentation
MLOps Overview MLOps theory and concepts
Bike Forecasting Lab Beginner lab: 9 step-by-step guides
Wine Quality Classifier Beginner lab (placeholder)
Bike Forecasting Pipeline Intermediate Kubeflow pipeline lab
LLM Instruction Tuning Intermediate LLMOps lab: 6 step-by-step guides
Kubeflow Advanced Advanced KFP lab: 5 step-by-step guides
ML Security & Compliance Advanced security lab: 4 step-by-step guides

🌟 Key Features

βœ… Hands-On Learning - Every concept is reinforced with practical exercises

βœ… Production-Focused - Real-world tools and deployment scenarios

βœ… Progressive Difficulty - Structured path from basics to advanced

βœ… Open Source - Free to use, modify, and contribute

βœ… Industry Tools - Learn the same tools used by top tech companies

βœ… Comprehensive Documentation - Clear guides and troubleshooting tips


πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details. Our community standards are outlined in the Code of Conduct.


πŸ™ Acknowledgments

This workshop leverages the excellent work from:

Special thanks to all contributors who have helped improve this workshop!


πŸ“ž Contact & Support

For questions or issues, please open an issue on GitHub.


Ready to master MLOps? Start Learning β†’

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages