Skip to content

Trackio logger #21466

@edufschmidt

Description

@edufschmidt

Description & Motivation

I propose adding a dedicated 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIs an improvement or enhancementloggerRelated to the Loggers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions