# Lightweight Experiment Tracking With Hugging Face Trackio

**URL:** <https://onehack.st/t/lightweight-experiment-tracking-with-hugging-face-trackio/310448>\
**Category:** Tools & Scripts\
**Tags:** programming, ai\
**Created:** [September 4, 2025, 9:00pm UTC](https://onehack.st/t/lightweight-experiment-tracking-with-hugging-face-trackio/310448 "2025-09-04T21:00:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlayBoy83](https://onehack.st/user_avatar/onehack.st/playboy83/32/164314_2.png) [@PlayBoy83](https://onehack.st/u/PlayBoy83)\
**Post date:** [September 4, 2025, 9:00pm UTC](https://onehack.st/t/lightweight-experiment-tracking-with-hugging-face-trackio/310448/1 "2025-09-04T21:00:42Z")

</div>

Lightweight Experiment Tracking with Hugging Face Trackio

**Hugging Face** has released **Trackio** , a new **open-source Python library** designed to make **experiment tracking** simpler, more transparent, and accessible. Built as a **drop-in replacement** for _Weights & Biases (wandb)_, it enables researchers and developers to track, log, and share ML experiments without relying on proprietary services .

Trackio is deliberately kept **lightweight—under 1,000 lines of code** —making it both **hackable** and **extensible**. It runs with a **local-first design** , storing logs in **SQLite** by default, while automatically syncing to **Parquet datasets** on [Hugging Face](https://huggingface.co/blog/trackio) every five minutes when connected .

* * *

### ⚡ Key Features

- **API compatibility** with _wandb_ → seamless migration for existing projects.

- **Local dashboards** by default → with optional hosting on [Hugging Face Spaces](https://huggingface.co/spaces).

- **Transparency-focused logging** → direct **GPU energy usage tracking** via _nvidia-smi_, with results ready to include in **model cards**.

* * *

### 🔍 Why It Matters

Experiment tracking is essential in **ML workflows** , but existing tools can raise barriers with **complexity** or **vendor lock-in**. Trackio’s **minimal setup** (including integrations with [transformers](https://huggingface.co/docs/transformers) and [accelerate](https://huggingface.co/docs/accelerate)) aims to **lower entry barriers** while promoting **reproducibility** and **sustainability**.

Researchers have highlighted its potential for **environmental accountability** , as energy usage reporting could establish a **baseline standard** for tracking ML’s ecological impact .

* * *

### 🚀 Availability & Development

- Trackio is available on [GitHub](https://github.com/gradio-app/trackio) and [PyPI](https://pypi.org/project/trackio/).

- Feature requests and contributions are encouraged via the [GitHub issue tracker](https://github.com/gradio-app/trackio/issues).

- While currently **missing some advanced features** (e.g., artifact management, advanced visualization), it is positioned as a **community-driven project** that will expand over time .

**In short:** Trackio introduces a **rarely seen combination** of **simplicity, openness, and transparency** in ML experiment tracking—potentially reshaping how researchers log, share, and standardize machine learning workflows.

Enjoy!
