Local model deployment
Can this model serve our workload on local hardware, and when is that deployment worth it?
Budget memory, test quantization and adapter training, choose an engine, measure one-instance capacity, plan GPU replicas and failure reserve, then compare with a cloud API.
DECISION BRANCH
Answer the decision this topic actually owns.
- ASK FIRST↓
How much VRAM will target precision, context, and concurrency need at peak?
- IF↓
Quality, peak memory, and latency pass the same load test, then compare local and cloud total cost.
- OTHERWISE✓
Reduce concurrency or context, change precision, or continue with the cloud API.
WORKED CASE
Can one 24 GiB GPU handle the internal assistant at peak?
A team considers a 14B model for policy questions. Eight sessions may overlap during the day, source passages vary in length, and a working cloud API provides a quality and latency baseline.
Treat a model file that fits in VRAM as ready to serve, assume 4-bit performs like BF16, and infer peak capacity from one successful request.
Budget weights, KV cache, and serving margin separately. Compare BF16 with a named 4-bit package on the same policy cases, then raise context length and concurrency in steps while recording peak VRAM, queuing, and time to first token.
At target load, severe errors, latency, and failure rate meet agreed thresholds. Measured peak use leaves headroom, cloud fallback works, and a second reviewer can reproduce the comparison.
ENTRY & EXIT SIGNALS
Know when to enter—and when the decision is good enough to leave.
A topic is not an endless knowledge directory. Entry signals tell you whether the problem belongs at this layer. Exit signals decide whether to continue instead of substituting time spent reading for work completed.
- Local serving is proposed for data or cost constraints
- Precision, context length, or concurrency may exceed VRAM
- Peak load and response-time requirements are known
- Weights, KV cache, and measured headroom are recorded separately
- The quantized candidate clears the same holdout quality gate
- Peak load and fallback are compared with a cloud baseline
7 PRACTICES
Build the judgment, make the artifact, then review it with real cases.
BOUNDARY
What this topic page will not do
The budget estimates theoretical payload. Quantization, drivers, serving frameworks, and the actual request mix still require measurement on the target hardware.