Il y a quelques années, je travaillais à concevoir un modèle de Machine Learning dans un contexte industriel. Le modèle avait de bonnes performances, le code Python était testé unitairement, dans un pipeline de CI automatisé, la pyramide de tests était équilibrée ...
Tout se passait bien, quand soudain ! Il a fallu rapidement déployer ce modèle, en production, sur une machine en edge, sans internet. Pris par le temps, et comme je ne savais pas comment packager "proprement" mon modèle, ... j'ai fais un zip 🙀
Ce soir, je viens vous présenter mes aventures au pays du packaging en Python, comment j'ai dû m'y prendre rapidement avec un zip la première fois, et comment j'aurais pu m'y prendre mieux avec Wheel et Docker. Au-delà du packaging, on parlera de stratégie de déploiement de modèles, avec des exemples de code ☸️ 🐳 📦
* Speaker : Mehdi Houacine, consultant data @ OCTO Technology
* Evénement : https://www.meetup.com/fr-FR/crafting-datascience/events/286976298/
* Lieu : 34 avenue de l'Opéra, Paris, locaux OCTO Technology
Source des images Unsplash :
* https://images.unsplash.com/photo-1554475901-4538ddfbccc2?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2372&q=80
* https://images.unsplash.com/photo-1524178232363-1fb2b075b655?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2370&q=80
* https://images.unsplash.com/photo-1598983870677-01e066a0b901?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2370&q=80
* https://images.unsplash.com/photo-1613464789351-24b80d158795?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2370&q=80
* https://images.unsplash.com/photo-1600009723480-ae9ee0a74709?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=987&q=80
* https://images.unsplash.com/photo-1548741465-8b453e363e48?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2274&q=80
* https://images.unsplash.com/photo-1531685250784-7569952593d2?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1074&q=80
* https://images.unsplash.com/photo-1531685250784-7569952593d2?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1074&q=80
* https://images.unsplash.com/photo-1614728263952-84ea256f9679?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2808&q=80
* https://images.unsplash.com/photo-1594392175511-30eca83d51c8?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2370&q=80