1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
51 small wins to finish your pathNext question →
How do you manage model weights and artifacts in production?
30-second answerSay your answer out loud first, then reveal.
Practices
| Concern | Approach |
|---|---|
| Registry | MLflow / cloud model registry / an object store with a metadata DB; stages: candidate → staging → production → archived |
| Provenance | Base model + version, licence, fine-tuning data version, training config, eval report |
| Security | safetensors; scan third-party models; signed artifacts; restricted write access |
| Integrity | SHA-256 checksums verified at download |
| Performance | Parallel and streaming download; local NVMe cache; shared read-only volumes; pre-loading on node startup |
| Size management | Quantized variants stored separately (FP8, AWQ, GGUF) with their own eval results |
| Adapters | LoRA adapters versioned separately, linked to their base model version |
| Lifecycle | Retention policy for old checkpoints; keep the rollback version available |
Supply-chain risk: downloading arbitrary models from public hubs into production without review is like running unvetted code. Pin exact revisions and review licences (commercial-use terms vary).
Related
Little by little, you're building something great.