Skip to content

DVC

Briefly

DVC (Data Version Control) — a data versioning and ML pipeline system built on top of Git.

What it does

  • data set versioning;
  • reproducible pipelines;
  • data storage in S3, GCS, and other storage;
  • collaborative data work.

Use Cases

  • dataset management;
  • experiment reproducibility;
  • large data that cannot be stored in Git.

DVC vs Git LFS

DVC Git LFS
Focus ML data and pipelines Files in Git
Suitable Experiments Binary files

Getting Started

pip install dvc
dvc init
dvc add data/dataset.csv   # instead of a file in Git, a .dvc pointer is stored
git add data/dataset.csv.dvc .dvc
dvc push                   # the actual data goes to S3/GCS/other storage

Git stores only pointers, while heavy data is stored in a separate repository.

See Also