Step 14 of 38 · Delivery
From prototype to production
A notebook that works is a small part of a system that serves. Plan the rest early and decide who owns it.
The model is a small part of a production ML system. Around it sit data pipelines, feature code, serving, fallbacks, monitoring and retraining. Teams that plan only for the model discover the rest at launch.
Decide early who carries the model across. A handover from research to a separate engineering team is where intent gets lost, so prefer one team that owns the path end to end, or a named pair across the boundary.
Use a readiness review before launch: tests for data and features, offline and online evaluations that agree, a rollback path, a fallback when the model is unavailable or unsure, and a staged rollout. When numbers disagree, suspect differences between training and serving first.
Try this week
- Score your next launch against a production readiness rubric and share the gaps with the team.
- Write down what the product does when the model is down, slow or unsure, and test that path.
Signs you've got it
- Launches follow a staged rollout with a rollback you have exercised.
- The team that built the model is on call for it or sits next to the people who are.
Resources
- paperThe ML Test Score: A Rubric for ML Production Readiness and Technical Debt Reduction (opens in a new tab)Eric Breck and colleagues
- articleContinuous Delivery for Machine Learning (opens in a new tab)Danilo Sato, Arif Wider and Christoph Windheuser
- paperChallenges in Deploying Machine Learning: a Survey of Case Studies (opens in a new tab)Andrei Paleyes, Raoul-Gabriel Urma and Neil Lawrence
- paperSoftware Engineering for Machine Learning: A Case Study (opens in a new tab)Saleema Amershi and colleagues
- paperHidden Technical Debt in Machine Learning Systems (opens in a new tab)D. Sculley and colleagues
Talks to watch
- 44 minContinuous Delivery For Machine Learning: Patterns And Pains (NDC) (YouTube, opens in a new tab)Emily Gorcenski
- 49 minFrom Models to Products: On the Role of Software Engineering for ML (CAIN'24 Keynote) (YouTube, opens in a new tab)Christian Kästner