Softwr

Machine Learning · head to head

DVC vs GitLab CI/CD

DVC logo

DVC

Machine Learning

Git-style versioning for data sets and models, with the files kept in object storage

From
Free
Free plan
Yes
GitLab CI/CD logo

GitLab CI/CD

Developer Tools

Automatically build, test, deploy, and monitor your applications with GitLab CI/CD

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Where GitLab CI/CD falls short: compute minute quotas for Premium and Ultimate tiers not disclosed in documentation.

How do DVC and GitLab CI/CD differ?

DVC and GitLab CI/CD differ on pricing model (Open-source against Freemium), platforms and category (Machine Learning against Developer Tools). Only the attributes on which DVC and GitLab CI/CD actually diverge.

Attributes where DVC and GitLab CI/CD differ
AttributeDVCGitLab CI/CD
Pricing modelOpen-sourceFreemium
PlatformsLinux, macOS, WindowsWeb
CategoryMachine LearningDeveloper Tools
Founded20182011

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 8 appear only for DVC. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in DVC

  • Pointer-file versioning
  • Remote storage backends
  • Pipeline definitions
  • Stage caching
  • Experiment tracking
  • Metrics and plots comparison
  • Data registry pattern
  • Content-addressed cache

Only in GitLab CI/CD

Nothing recorded that DVC does not also cover.

What is each one used for?

GitLab CI/CD is most often brought in for reducing open source project infrastructure costs with public project discounts. The jobs each tool is most often brought in to do.

DVC

  • Making a model reproducible by tying the exact data set version, code commit and parameters together in one Git historynot GitLab CI/CD
  • Keeping large training data out of Git while still having a repository that describes it preciselynot GitLab CI/CD
  • Skipping expensive preprocessing stages that have not changed, when iterating on a later stage of a pipelinenot GitLab CI/CD
  • Teams that need reproducibility but cannot get approval or budget to stand up a platform for itnot GitLab CI/CD

GitLab CI/CD

  • Reducing open source project infrastructure costs with public project discountsnot DVC
  • Enforcing monthly CI/CD spending limits and quota notificationsnot DVC
  • Allocating compute minutes to open source contributors affordablynot DVC
  • Forecasting CI/CD spending patterns across multiple projectsnot DVC
  • Providing private runners for cost control without owning infrastructurenot DVC

Where do DVC and GitLab CI/CD fall short?

GitLab CI/CD's most cited limit: compute minute quotas for Premium and Ultimate tiers not disclosed in documentation. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

DVC

  • DVC knows only about files that were added through DVC, so one person copying data in by hand leaves a pipeline that reproduces to a different answer with no error and nothing to indicate which result is the real one
  • Every tracked revision writes a new pointer into Git and a new copy into the remote cache, so a data set revised daily accumulates full copies in object storage and the storage bill grows with the length of the history rather than the size of the data
  • Merge conflicts in dvc.lock and dvc.yaml are routine on parallel branches and are unreadable to anyone who has not learned the format, which in practice means the person who introduced DVC resolves all of them
  • Checking out a large data set materialises it in the working directory, so a laptop working against a repository with several hundred gigabytes tracked needs disk for the workspace and the cache together, and the reflink or hardlink optimisations that avoid doubling that are filesystem-dependent
  • It has no access control of its own and inherits whatever the remote grants, so a repository everyone can read plus a bucket everyone can read means everyone can reconstruct every historical version of every data set, which is frequently not what was intended

GitLab CI/CD

  • Compute minute quotas for Premium and Ultimate tiers not disclosed in documentation
  • Additional compute minutes beyond quota incur charges; exact pricing not specified
  • Free tier namespaces on GitLab.com receive 400 compute minutes a month, and extra minutes must be bought separately
  • Compute minutes are multiplied by a cost factor, up to 12 for the largest Linux runners, so big runners use the quota much faster
  • macOS and Windows GitLab-hosted runners are listed as Beta, with macOS runners carrying cost factors of 6 and 12

How much do DVC and GitLab CI/CD cost?

DVC is free to use; GitLab CI/CD is free to use. Plan by plan below, from each vendor's own pricing page.

DVC

Free
  • Open SourceFree
    • Data versioning
    • Pipeline management
    • Experiment tracking
  • DVC StudioFree
    • Web UI
    • Team collaboration
    • Visualizations

GitLab CI/CD

Free
  • FreeFree
    • 400 compute minutes per month for free tier namespaces
    • Linux x86-64 runners at 1x cost factor
  • PremiumOn request
    • Higher monthly compute minute quotas than free tier
    • Additional compute minutes available for purchase
  • UltimateOn request
    • Highest monthly compute minute allocations
    • Additional compute minutes available for purchase

Which should you pick?

Choose DVC if

  • You need pointer-file versioning.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want remote storage backends.

Choose GitLab CI/CD if

  • You want to start without paying.

Questions people ask

Is DVC or GitLab CI/CD better?
It depends on the job. DVC fits making a model reproducible by tying the exact data set version, code commit and parameters together in one Git history; GitLab CI/CD fits reducing open source project infrastructure costs with public project discounts. DVC starts at Free and GitLab CI/CD at Free.
Which is cheaper, DVC or GitLab CI/CD?
DVC starts at Free and GitLab CI/CD at Free.
Does DVC or GitLab CI/CD run on more platforms?
DVC runs on Linux, macOS, Windows. GitLab CI/CD runs on Web.
Can I use DVC for free?
Both have a free tier, so you can try either at no cost before committing.
What is DVC best used for?
DVC is most often used for making a model reproducible by tying the exact data set version, code commit and parameters together in one git history, keeping large training data out of git while still having a repository that describes it precisely, skipping expensive preprocessing stages that have not changed, when iterating on a later stage of a pipeline, teams that need reproducibility but cannot get approval or budget to stand up a platform for it. Of those, making a model reproducible by tying the exact data set version, code commit and parameters together in one git history and keeping large training data out of git while still having a repository that describes it precisely are not what GitLab CI/CD is typically brought in for.
What can DVC do that GitLab CI/CD cannot?
DVC covers Pointer-file versioning, Remote storage backends, Pipeline definitions, Stage caching.

Answered from the vendors’ own pages

DVC: Does DVC put my data in Git?

No. Git gets a small pointer file containing a hash. The data goes to a cache on disk and to a remote you configure, such as an S3 bucket.

GitLab CI/CD: How many GitLab CI compute minutes does the free tier include?

The free tier of GitLab CI includes 400 compute minutes per month for free tier namespaces on GitLab.com.

Source
DVC: Do I need to run a server?

No, and that is most of its appeal. It is a command line tool plus storage you already have. DVC Studio, the hosted web interface, is optional and separately paid.

GitLab CI/CD: What is the cost factor for different GitLab CI runner types?

Linux x86-64 small runners cost 1x; medium runners cost 2x; large runners cost 3x. macOS and Windows runners have cost factors of 6-12x and are in beta status.

Source
DVC: How is it different from Git LFS?

Git LFS versions large files and stops there. DVC also defines pipelines, tracks which stage produced which output, records metrics and lets you compare experiments, and it works with ordinary object storage rather than an LFS server.

GitLab CI/CD: Do public open-source projects get discounts on GitLab CI compute minutes?

Public open-source projects receive a 0.5x discount on compute minutes. Public forks of GitLab open-source projects receive a 0.008x discount.

Source
DVC: Is it free?

The tool is Apache 2.0 and free. You pay for the object storage that holds the data, and optionally for DVC Studio.

DVC: Can several people work on the same data set?

Yes, through the shared remote, but only if all of them use DVC for every change. The tool cannot enforce a discipline it does not own, and a single manual copy silently breaks the guarantee.

Share

Related pages

Other head to heads