Skip to content
StackDecode
System Design
19. AI System Design and LLM InfrastructureAnimated

AI Model Versioning

Tracking model versions.

The idea

A registry stores models with data, code and metrics, enabling rollbacks and A/B tests.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

Training runRegistry (v1, v…StagingProductionLineage
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Each run produces a versioned model with its data and code lineage.

step:
1/4
at:
Training run
1/8

The green dot is a request moving through the system.

Step by step

  1. 1Register each trained model
  2. 2Record lineage
  3. 3Promote through stages
  4. 4Roll back if needed

Where it is used

MLOps.

Watch out for

Reproducibility needs data and code versions too.

Related