Upgrade to Pro — share decks privately, control downloads, hide ads and more …

아이펠 양재 해커톤 MLOps

Avatar for Junil Kim Junil Kim
January 11, 2022

아이펠 양재 해커톤 MLOps

Avatar for Junil Kim

Junil Kim

January 11, 2022

Other Decks in Technology

Transcript

  1. MNIST ࠙ܨܳ ਤೠ ࢲ࠺झ ੉ۧѱ рױೞѱ ೡ ࣻ ੓חؘ? •

    https://github.com/Ssuwani/mnist-classi fi cation-service 👈 ৈӝоࢲ पण ೧ࠁӝ http://182.161.136.200:3000/
  2. MNIST ࠙ܨܳ ਤೠ ࢲ࠺झ ࠗೞ పझ౟ܳ ਤೠ Tool, Locustܳ ੉ਊೠ

    ౟ې೗ పझ౟ • https://locust.io/ 👈 ੉Ѣب рױ൤ पण೧ࠁ੗ self.client.post(‘/prediction’ , fi les={“ fi le": img})
  3. MNIST ࠙ܨܳ ਤೠ ࢲ࠺झ ࠗೞ పझ౟ܳ ਤೠ Tool, Locustܳ ੉ਊೠ

    ౟ې೗ పझ౟ • https://locust.io/ 👈 ੉Ѣب рױ൤ पण೧ࠁ੗ self.client.post(‘/prediction’ , fi les={“ fi le": img}) ഻ঁ ؊ ݆਷ ࢎਊ੗о ੽ࣘೞח ࢲ࠺झۄݶ ੉ۧѱ ߓನ೧ب ҡଳ਷ Ѧөਃ??
  4. ௢ߡ֎౭झ ஶప੉ցചػ গ೒ܻா੉࣌੄ ੗ز ٣೒۽੉, झாੌ݂ ١ਸ ઁҕೞח ҙܻदझమ •

    ц੗ӝ ౟ې೗੉ ૐоೞݶ য૵૑? AutoScaler • ౟ې೗ী ٮۄ ੸੺ೠ ݅ఀ੄ ߓನܳ ೡ ࣻ ੓ب۾ ب৬ળ׮ • ࢜۽਍ ߡ੹ਸ ߓನೞҊ रয? ׮নೠ ߓನ ߑߨٜ(܀݂ সؘ੉౟)
  5. Work on Kubernetes Auto Scaler • Horizontal Pod AutoScaler ->

    प೯غח Pod੄ ࣻܳ טܽ׮ • Vertical Pod AutoScaler -> Podী ೡ׼غח ܻࣗझܳ טܽ׮ • Cloud AutoScaler -> प೯غח Node ࣻܳ טܽ׮ (௿ۄ਋٘ ੋ೐ۄ৬ োز)
  6. Work on Kubernetes ܀݂ সؘ੉౟ • ܀݂ সؘ੉౟ • ࠶ܖ/Ӓܽ

    ߓನ • ஠աܻ ӝߨ 👈 ࢜۽਍ ߡ੹ਸ ߓನೞҊ रযਃ!
  7. Work on Kubernetes Why Docker ݅ড AIFFEL Үਭࢤ 100ݺ੄ ѐߊജ҃ਸ

    ૒੽ ࣇ౴೧઻ঠ ೠ׮ݶ.. Fundamental Exploration GoingDeeper
  8. Work on Kubernetes Why Docker 👈 ഑द ೧ழహ ೞदݶࢲ ѐߊജ҃

    ࢸ੿ ٸޙী ൨٘द૑ ঋਵ࣑աਃ?? ݅ড ղо ۽ஸীࢲ ز੘೮؍ ௏٘о ௢ߡ֎౭झীࢲ ز੘ೞ૑ ঋח׮ݶ..? Github Push Kubernetes Hyper Parameter Tuning
  9. CI & CD & CT ௏٘ ۨ߰ীࢲ੄ CT • CI(Continuous

    Integration) ׮ࣻ੄ ѐߊ੗о ੘ࢿ, ࣻ੿ೠ ࣗझ௏٘ܳ ૑ࣘ੸ਵ۽ ా ೤, పझ౟ೞח Ѫ • CD(Continuous Delivery/Deployment)ۆ ѐߊ, ా೤, ߓನ, ܾܻૉ, పझ౟ܳ ੗زച ೞৈ ૑ࣘ੸ਵ۽ ߓನೞח Ѫ • CT(Continuous Training)ۆ Production ױ҅ীࢲ ࢜۽਍ ؘ੉ఠ۽ ೟णೞৈ ࢜۽਍ ݽ ؛ਸ ߓನೞח Ѫ
  10. CI & CD & CT ௏٘ ۨ߰ীࢲ੄ CT • CI(Continuous

    Integration) ׮ࣻ੄ ѐߊ੗о ੘ࢿ, ࣻ੿ೠ ࣗझ௏٘ܳ ૑ࣘ੸ਵ۽ ా ೤, పझ౟ೞח Ѫ • CD(Continuous Delivery/Deployment)ۆ ѐߊ, ా೤, ߓನ, ܾܻૉ, పझ౟ܳ ੗زച ೞৈ ૑ࣘ੸ਵ۽ ߓನೞח Ѫ • CT(Continuous Training)ۆ Production ױ҅ীࢲ ࢜۽਍ ؘ੉ఠ۽ ೟णೞৈ ࢜۽਍ ݽ ؛ਸ ߓನೞח Ѫ
  11. ݠन۞׬ ݽ؛ਸ উ੿੸੉Ҋ ബਯ੸ਵ۽ ߓನ ߂ ਬ૑ ҙܻೞח Ѫਸ ݾ಴۽

    ೞח ੌ۲੄ ҙ೯ ਤఃೖ٣ই - https://en.wikipedia.org/wiki/MLOps
  12. ݠन۞׬ ݽ؛ਸ উ੿੸੉Ҋ ബਯ੸ਵ۽ ߓನ ߂ ਬ૑ ҙܻೞח Ѫਸ ݾ಴۽

    ೞח ੌ۲੄ ҙ೯ ਤఃೖ٣ই - https://en.wikipedia.org/wiki/MLOps
  13. য۰ਛ؍ ੼ • ࢤࣗೠ ѐ֛ٜ • ցޖ ݆਷ ࢶఖ૑ •

    ই૒ ৮߷ೞ૑ ঋ਷ بҳٜ Container Orchestration Google Cloud Service Container Kubernetes Docker GitOps Continues Integration Continues Training Continues Deployment Model Serving Model Serving MLOps
  14. য۰ਛ؍ ੼ • ࢤࣗೠ ѐ֛ٜ • ցޖ ݆਷ ࢶఖ૑ •

    ই૒ ৮߷ೞ૑ ঋ਷ بҳٜ KF Serving
  15. য۰ਛ؍ ੼ • ࢤࣗೠ ѐ֛ٜ • ցޖ ݆਷ ࢶఖ૑ •

    ই૒ ৮߷ೞ૑ ঋ਷ بҳٜ
 (਋ܻীѲ য়൤۰ જ׮?) Contribution ӝഥо ੓ਸ૑ب..? ੷ח पಁ೮૑݅…
  16. ݾ಴ • Experiment Pipeline ҳ୷ • Hyper parameter Tuning •

    Experiment Tracking • Deploy Pipeline ҳ୷ • Best Hyper Parameterܳ ੉ਊೠ ೟ण • ೟णػ ݽ؛ ߓನ
  17. Stack Github Action docker build & push Github Packages kustomize

    set image Argo CD Goole Cloud Storage Bento ML Slack App Kubernetes Github Data Version Control
  18. Experiment Pipeline Github Actions Github Push Docker Build & Push

    Kustomize Set Image Version ArgoCD Github Package Kubernetes Google Storage Data Version Control Load Data Hyper Parameter Tuning Training Job Check Code Conventions 👀 Watching Bot
  19. Experiment Pipeline Github Actions Github Push Docker Build & Push

    Kustomize Set Image Version ArgoCD Github Package Kubernetes Google Storage Data Version Control Load Data Hyper Parameter Tuning Training Job Check Code Conventions 👀 Watching Bot
  20. Flow Experiment Pipeline Github Hyper Parameter Tuning Experiment Tracking ML

    Researcher Experiment Tracking Slack Noti fi cation
  21. Deploy Pipeline Github Actions Kustomize Set Image Version & Hyper

    Parameter ArgoCD Github Kubernetes Google Storage Load Data Service API Save Model Web App Request Response Training Job 🤔 Deploy Model Github Actions Packing Bento ml Docker Build & Push Kustomize Set Image Version Treining-Job Deploy, Service
  22. જও؍ ੼ • ౠ൤ MLOps౱ীѱ GCP ૑ਗ਷ ցޖ ੸੺೮׮. •

    ഒ੗೮׮ݶ ನӝೞӝ ٯ જ਷ ੌٜ੉ ݆ওחؘ যڌѱٚ ೧Ѿ೮׮. • दبೞҊ पಁ೮؍ ҃਋ب ݆ওӝ ٸޙী ૑Әࠁ׮ ѐࢶೡ ࢎ೦ٜ੉ ݆׮.
  23. ইए਍ ੼ • Ai ff el җ੿઺ী ҕࠗ೮؍ ղਊٜ੉ ൞޷೧ઉр׮.


    ( mnist߆ী ӝর੉ উա…) • Feature store, Performence monitoring ١١ MLOps੄ ׮ܲ ࠗ࠙ਸ ҃೷೧ࠁ૑ ޅ ೮׮ • ѐ֛ਸ ঌও׮ݶ औѱ ೧Ѿ೮ਸ ޙઁܳ ೠଵزউ Ҋ޹ೞҌ೮׮.