Model Versioning and Lineage Tracking
VERSION NUMBERING SCHEMES
Semantic: major.minor.patch (2.1.3). Major = breaking, minor = features, patch = fixes. Timestamp: 20240115-143052, automatic and sortable. Hash-based: Git SHA or content hash, guarantees uniqueness and reproducibility.
LINEAGE COMPONENTS
Data: Dataset version, preprocessing, features. Code: Git commit, script hash, library versions. Parameters: Hyperparameters, seeds, hardware. Experiment: Which tests validated this model.
IMMUTABLE ARTIFACTS
Every version must be immutable. Once registered, weights and metadata cannot change—updates create new versions. This prevents "worked yesterday" bugs. Use content-addressable storage.
VERSION LIFECYCLE
Registered: Available for testing. Staged: Passed validation. Production: Serving. Archived: Retained for rollback. Deprecated: Scheduled for deletion. Track transitions with timestamps.