Lightning-AI / Lightning-AI/pytorch-lightning

Trackio logger

Open
#21,466 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature logger
Dominant language
Python
Stars
31.4k
Forks
3.8k
Avg merge
6d 7h
Merged PRs (30d)
6

Description

### Description & Motivation

I propose adding a dedicated [Trackio](https://huggingface.co/docs/trackio) logger for PyTorch Lightning. Trackio is a lightweight experiment tracking library that works well for local prototyping and small-scale experiments. Trackio is very easy to work with and hack, lightweight, and is based on Gradio. It is ideal for users who want minimal setup or cannot rely on external services. Trackio's API is meant as a drop-in replacement to WandB's, but I believe that a dedicated Lightning logger might be justifiable as per my understanding implementation details make it kind of cumbersome to re-use the existing WanDB logger. Ofc I'd be happy to discuss more suitable alternatives.

### Pitch

I would like to add a new TrackioLogger class, modeled after the existing WandB logger, that integrates seamlessly with PyTorch Lightning. The implementation would include proper unit tests and documentation, enabling Lightning users to track experiments with Trackio just as they would with other loggers. This would provide a native, lightweight option for local and flexible experiment tracking.

### Alternatives

The closest alternative is running a local WandB server, but this approach is less flexible, especially if customizations are needed to the visualizations/graphics, harder to hack, and requires additional setup (e.g., a Docker container). Trackio offers similar functionality with less overhead, making it a more convenient solution for quick prototyping and lightweight workflows.

### Additional context

_No response_

cc @lantiga

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing WandB logger and the Trackio documentation linked in the issue to understand the integration surface and API differences. Define the TrackioLogger behavior, add the proposed unit tests and documentation, and confirm that Lightning users can track experiments through the new logger.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.