MLOps Academy · Lesson

Cache and Skip Unchanged Steps

Re-run only what actually changed for speed.

Why Re-Run Everything?

If you only tweak the eval script, re-running ingest and train wastes time. DVC caches stage results so unchanged work is skipped. ⏱️

DVC Hashes Your Inputs

For each stage, DVC computes a hash of its dependencies and command. The hash is a fingerprint that changes the moment any input changes.

All lessons in this course

  1. Stages: Ingest, Prep, Train, Eval
  2. Define a Pipeline with DVC Stages
  3. Cache and Skip Unchanged Steps
  4. Parameterize Runs with params.yaml
← Back to MLOps Academy