Choosing a Deployment Strategy
6 entriesPutting a deep learning model into production means choosing how it will be packaged, where it will run, how requests will reach it and how new versions will replace old ones. The main decisions are the serving mode (online real-time, batch, streaming or serverless), the target (cloud GPU, CPU, edge device, phone or browser), the packaging and optimisation route (containers, ONNX, TensorRT, quantisation, compilers), the rollout strategy (blue-green, canary, shadow or A/B testing) and the monitoring that tells you when to roll back or retrain. Large language models add their own concerns, such as GPU memory for the KV cache, continuous batching and streaming responses. This page collects guides, documentation, papers and tools for each decision. For generic release strategies see the Deployment Strategies page, and for the surrounding practices see MLOps Platforms and ML Model Monitoring Tools.
Serving Modes & Reference Architectures
6 entriesOnline, batch, streaming and managed endpoints, and how cloud providers describe them.
Rollout Strategies for Models
7 entriesReleasing new model versions safely.
Model Serving Frameworks
8 entriesServers that expose trained models as APIs.
Packaging & Optimising Models for Deployment
10 entriesConverting, compressing and compiling models for faster inference.
Edge, Mobile & Browser Deployment
7 entriesRunning models on devices and in web pages.
Containers, Orchestration & Autoscaling
6 entriesRunning inference services at scale.
Deploying Large Language Models
9 entriesEngines and techniques for serving LLMs efficiently.
Monitoring, Governance & Lifecycle
5 entriesOperating a model after release.
Related Pages
10 entriesNeighbouring pages on this site.
Frequently Asked Questions
Why does deep learning need statistics?
Training objectives such as cross-entropy and squared error are maximum likelihood estimates under assumed noise models, and questions about overfitting, evaluation, uncertainty and data shift are statistical questions. Without them it is hard to tell a real improvement from noise.
What statistics topics should I learn first for deep learning?
Start with random variables and distributions, expectation and variance, maximum likelihood and Bayes' theorem, then the bias-variance tradeoff, cross-validation and the bootstrap. After that, calibration, hypothesis testing for model comparison and distribution shift matter most in practice.
How do I know whether one model is really better than another?
Evaluate on held-out data, report uncertainty (for example confidence intervals from the bootstrap or variation across random seeds), and use an appropriate test when comparing models. The evaluation section lists papers on comparing classifiers and on error bars for language-model evaluations.
What is calibration and why does it matter?
A model is calibrated when its stated probabilities match observed frequencies. Guo et al. found that modern neural networks are often overconfident, and the uncertainty section lists methods such as temperature scaling, deep ensembles and conformal prediction.
Does the bias-variance tradeoff still apply to large neural networks?
The classical U-shaped curve describes many models, but work on double descent shows that test error can fall again as models grow past the point of fitting the training data. The generalisation section lists the main papers.
How is this page different from Probability Theory for AI?
That page covers probability, Bayesian inference and generative models. This page focuses on statistical practice for deep learning: estimation and regularisation, generalisation, evaluation and significance, uncertainty, distribution shift and experiment design.