EasyDeepLearn

How do you version model artifacts in production?

medium

Answer

  • (1) Semantic versioning (v1.2.3): major = incompatible schema, minor = new feature, patch = bug fix.
  • (2) Store immutable artifacts in registry (S3 + metadata DB).
  • (3) Tag with (git-commit, data-version, training-run-id).
  • (4) Deployment references version, not 'latest'.
  • (5) Multiple versions can serve simultaneously (traffic split).
  • (6) Retention policy: keep last N + all promoted.
  • (7) Include model signature (input / output schema) for compatibility checks.
Check yourself — multiple choice
  • Random
  • Semver (major/minor/patch) + immutable registry + tag (git+data+run) + deploy references version not latest + multi-version serve + retention + model signature for compat
  • Not needed
  • Just latest

Model versioning: semver + immutable + lineage tags + no 'latest' in prod.

#deployment#reproducibility

Practise MLOps & Data Quality

215 interview questions in this topic.

Related questions