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
- Stages: Ingest, Prep, Train, Eval
- Define a Pipeline with DVC Stages
- Cache and Skip Unchanged Steps
- Parameterize Runs with params.yaml