AI training tracking and visualization tool
Top 18.9% on SourcePulse
SwanLab is an open-source, modern AI training tracking and visualization tool designed for AI researchers. It offers a platform for tracking, logging, comparing, and collaborating on experiments, providing features like training visualization, automatic logging, hyperparameter tracking, and multi-person collaboration, aiming to improve model iteration efficiency and team communication.
How It Works
SwanLab integrates seamlessly into ML pipelines with a simple Python API. It automatically logs metrics, hyperparameters, hardware information (CPU, GPU, NPU, memory), Git repository details, and environment configurations. The tool visualizes this data through an intuitive UI, supporting various metadata types (scalars, images, audio, text, 3D point clouds, biochemical molecules) and chart types (line, media, 3D, molecule). It offers both cloud-hosted and self-hosted options for accessibility and offline use.
Quick Start & Requirements
pip install swanlab
pip install 'swanlab[dashboard]'
.swanlab login
(requires API key from swanlab.cn for cloud use, or --host
for self-hosted).swanlab
and use swanlab.init()
and swanlab.log()
.Highlighted Details
Maintenance & Community
The project is actively maintained with frequent updates, including recent integrations with EvalScope, DiffSynth Studio, EasyR1, and HuggingFace Transformers. Community support is available via GitHub Issues and a WeChat group.
Licensing & Compatibility
The project is licensed under the Apache 2.0 License. This license is permissive and generally compatible with commercial use and closed-source linking.
Limitations & Caveats
While SwanLab supports a wide range of hardware, specific NPU/XPU support might require additional configuration or driver installations. The project is actively evolving, with new features and integrations being added regularly, which could occasionally lead to breaking changes.
1 day ago
1 day