ml mlop ops
play

ML MLOp Ops CI CI/CD CD for or Ma Machine Le Learn rning - PowerPoint PPT Presentation

ML MLOp Ops CI CI/CD CD for or Ma Machine Le Learn rning SASHA ROSENBAUM Sasha Rosenbaum Sr. Program Manager @DivineOps https://www.deliveryconf.com/ Agenda Machine Learning 101 ML CI/CD Pipeline Overview Potential


  1. ML MLOp Ops CI CI/CD CD for or Ma Machine Le Learn rning SASHA ROSENBAUM

  2. Sasha Rosenbaum Sr. Program Manager @DivineOps

  3. https://www.deliveryconf.com/

  4. Agenda § Machine Learning 101 § ML CI/CD Pipeline Overview § Potential implementation § Demo

  5. Trigger the pipeline!

  6. What is MLOps and WHY should you care?

  7. Machine Learning (ML) Is the science of getting computers to act Without being explicitly programmed

  8. Machine Learning vs DevOps Google searches

  9. Python questions on Stack Overflow

  10. OK, but why should YOU care?

  11. 13

  12. Data Scientists just want to Data Science

  13. Deep Learning Some ML training algorithms are complex

  14. Deep Learning - Backpropagation Some ML training algorithms are complex

  15. Typical data scientist work environment

  16. We’ve got the notebook into source control!

  17. Programming Algorithm Answers Data

  18. Machine Learning Answers Algorithm Data

  19. Machine Learning Answers Model Data

  20. Machine Learning Answers Model Data

  21. Machine Learning Answers Data Model Predictions Data

  22. How do we put the model in production?

  23. What is an ML model?

  24. Linear Regression – Housing Prices The training finds a and b such that Y = a+bX+ϵ

  25. Deep Learning The input and output may be vectors ! 𝑌 , ! 𝑍

  26. Image Classification

  27. ML Model A definition of the mathematical formula with a number of parameters that are learned from the data

  28. Isn’t this just an API endpoint?!

  29. Do models really change that often?

  30. Models must be improved continuously

  31. The dataset matters!

  32. The model predictions depend on what it has “seen”

  33. => Dataset is part of the model version!

  34. TensorFlow Extended Te FB FBLear arne ner Fl Flow Ube Uber’s Michelangelo Mic Microso soft Ae Aether

  35. But I don’t work at a big company with thousands of ML engineers!

  36. How do we iterate?

  37. Machine Learning Lifecycle

  38. Data Scientist DevOps/SRE Quick iteration Quick iteration • • Versioning Versioning • • Reuse Reuse • • Great tools Compliance • • Ease of Observability • • Friends? management Uptime • Unlimited scale Updates • • Eliminating drift •

  39. MLOps Workflow Collaborate Build app Test app Release app Monitor app App developer Data scientist Model reproducibility Model validation Model deployment Model retraining

  40. MLOps Workflow Collaborate Build app Test app Release app Monitor app App developer Code, dataset, and environment versioning Data scientist Model reproducibility Model validation Model deployment Model retraining

  41. MLOps Workflow Collaborate Build app Test app Release app Monitor app App developer Train model Automated ML ML Pipelines Hyperparameter tuning Data scientist Model reproducibility Model validation Model deployment Model retraining

  42. MLOps Workflow Collaborate Build app Test app Release app Monitor app App developer Train model Validate model Model validation & certification Data scientist Model reproducibility Model validation Model deployment Model retraining

  43. MLOps Workflow Collaborate Build app Test app Release app Monitor app App developer Train model Validate model Deploy model Model packaging Simple deployment Data scientist Model reproducibility Model validation Model deployment Model retraining

  44. MLOps Workflow Collaborate Build app Test app Release app Monitor app App developer Train model Validate model Deploy Monitor model model Model management & monitoring Retrain model Data scientist Model performance analysis Model reproducibility Model validation Model deployment Model retraining

  45. Build Your Own MLOps Platform + +

  46. ML Pipeline A reusable, scaleable ML workflow template Kubeflow pipeline A reusable, scalable ML workflow template that runs on containers

  47. Azure ML • Prep data • Train • Test • Deploy • Manage

  48. Demo

  49. Even a simple CI/CD pipeline is better than none!

  50. DevOps Because change is the only constant in life

  51. AI Ethics

  52. Bias is a property of information

  53. We must build AI responsibly

  54. Build AI responsibly!

  55. Thank You! @DivineOps

  56. Questions?

  57. Resources GitHub repo https://www.kubeflow.org/docs/azure/azureendtoend/ Deploy Kubeflow on Azure https://www.kubeflow.org/docs/azure/deploy/install-kubeflow/ Example Kubeflow Azure Pipeline https://www.kubeflow.org/docs/azure/azureendtoend/ Release pipeline https://dev.azure.com/sasrose/kubeflow/_release

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend