skillfed

dvclive

Experiments logger for ML projects.

dvclive v3.49.1 569.8K downloads/30d#5,959 on PyPI196
Permissive license Apache-2.0 Active released

What it is and what it does

DVCLive is a Python library that logs machine learning experiment metadata—metrics, parameters, and plots—to plain text files compatible with DVC. Unlike heavier ML logging platforms, it stores everything locally as versioned files that can be tracked by Git or DVC, eliminating the need for external services or servers. It integrates with the DVC ecosystem to enable experiment comparison and visualization through the DVC CLI, VS Code extension, or DVC Studio.

The library is designed for teams already using DVC for data versioning and experiment management. It provides a simple context-manager API for logging during training loops, supports framework integrations, and can save experiment runs as hidden Git commits for reproducibility. The main trade-off is that it assumes you're working within a DVC-managed repository rather than offering a standalone logging solution.

Use it for:

  • Log training metrics and parameters during model development, then compare across multiple experiment runs using dvc exp show.
  • Track validation metrics in a Git-versioned format without setting up external services.
  • Integrate with PyTorch Lightning or Scikit-learn workflows to automatically capture metrics alongside your training code.
  • Visualize experiment results in VS Code using the DVC extension or push to DVC Studio for team collaboration.
  • Store plots and metrics as plain text files that can be reviewed in version control history without external dependencies.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

DVCLive logs machine learning metrics, parameters, and plots to simple file formats that integrate with DVC for experiment tracking and comparison.

Yes, if you are already using DVC or planning to adopt it for experiment management. DVCLive is a natural fit for teams that want lightweight, Git-friendly metric logging without external services. If you are not using DVC and prefer a standalone logger, the nine runtime dependencies and DVC integration requirement make it less attractive. No known security vulnerabilities and active maintenance support the recommendation.

Install

dvclive on PyPI

pip

pip install dvclive

uv

uv add dvclive

poetry

poetry add dvclive

Installing dvclive

Before you install

Low friction install with a pure-Python wheel. Active maintenance (last commit 2026-08-10) and recent release (2026-06-05). Depends on nine runtime packages including dvc, dvc-render, and dvc-studio-client, which may add setup complexity if not already present.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install dvclive

from dvclive import Live

with Live() as live:
    live.log_param("learning_rate", 0.002)
    live.log_metric("accuracy", 0.5)
    live.next_step()

Requires Python 3.9 or later. A DVC repository (git init && dvc init) is expected for full functionality.

Verify before relying

  • Whether nvidia-ml-py is required for all use cases or only when GPU metrics are needed
  • Performance characteristics when logging high-frequency metrics in long-running experiments

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 9 — dvc, dvc-render, dvc-studio-client, funcy, gto, ruamel.yaml, scmrepo, psutil, nvidia-ml-py
Maintenance actively maintained — 70 days since the last release
Last repo commit
First released
Downloads 569,757/month — #5,959 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: dvclive-3.49.1-py3-none-any.whl

Keywords: ai, metrics, collaboration, data-science, data-version-control, developer-tools, git, machine-learning, reproducibility

Development Status :: 4 - BetaProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Tags

ml metrics loggingexperiment trackingdvc integrationmachine learning loggertraining metrics storage
experiment-trackingdvc-ecosystemml-logging

More Artificial Intelligence packages