You can install Trackio either from PyPI or from source:
Installation
You can install Trackio either from PyPI or from source:
PyPI
Install the library with pip or uv:
uv
uv is a fast Rust-based Python package and project manager. Refer to Installation for installation instructions.
uv pip install trackio
pip
pip install trackio
Source
You can also install the latest version from source. First clone the repo and then run the installation with pip:
git clone https://github.com/gradio-app/trackio.git
cd trackio/
uv
uv pip install .
pip
pip install .
If you want the development install you can replace the pip install with the following:
uv
uv pip install -e .
pip
pip install -e .
Optional Dependencies
Trackio has optional dependencies for additional features:
GPU Monitoring (NVIDIA) - For logging NVIDIA GPU metrics (utilization, memory, temperature, etc.):
pip install trackio[gpu]
System Monitoring (Apple Silicon) - For logging CPU, memory, and system metrics on Apple M-series Macs:
pip install trackio[apple-gpu]
TensorBoard Import - For importing TensorBoard event files:
pip install trackio[tensorboard]
Source and license
Source: Trackio documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.