Dashboard
0%
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 →

Q21IntermediateConcept

How do you manage model weights and artifacts in production?

30-second answerSay your answer out loud first, then reveal.

Practices

ConcernApproach
RegistryMLflow / cloud model registry / an object store with a metadata DB; stages: candidate → staging → production → archived
ProvenanceBase model + version, licence, fine-tuning data version, training config, eval report
Securitysafetensors; scan third-party models; signed artifacts; restricted write access
IntegritySHA-256 checksums verified at download
PerformanceParallel and streaming download; local NVMe cache; shared read-only volumes; pre-loading on node startup
Size managementQuantized variants stored separately (FP8, AWQ, GGUF) with their own eval results
AdaptersLoRA adapters versioned separately, linked to their base model version
LifecycleRetention 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).

Little by little, you're building something great.