You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the Trackio library validator (examples are only the workload; failures are interpreted as possible Trackio regressions):
7
+
8
+
`python scripts/validate_examples.py $ARGUMENTS`
9
+
10
+
If dependencies are missing, install dev dependencies first:
11
+
12
+
`pip install -e .[dev,tensorboard]`
13
+
14
+
Behavior:
15
+
16
+
- Runs a random subset of `examples/` scripts (default `--count 3`) to exercise logging, imports, and CLI
17
+
- Uses isolated `TRACKIO_DIR` per run (one shared DB when `--jobs 1`, separate sandboxes when `--jobs` > 1)
18
+
-**Sequential vs parallel:** default is **parallel** (`--jobs 3`). Use **`--jobs N`** to tune worker count; use `--jobs 1` for sequential mode. CLI checks and UI driving stay sequential afterward so ports and Playwright stay stable
19
+
- After successful example runs, validates **Trackio CLI** (`list` / `get` with JSON) and the **dashboard** via Playwright (tabs, checkboxes, screenshots)
20
+
- Collects **Trackio-related** signals (tracebacks touching `trackio`, CLI failures, dashboard console/page issues, etc.), **deduplicates** them, and prints a **`=== Trackio library health report ===`** section at the end. Exit code is non-zero if anything was collected or an example run failed (unless you stop early without `--continue-on-failure`)
21
+
- Writes `summary.json` under the artifacts directory (includes `trackio_issues` and paths)
22
+
- For remote Spaces data, pass **`--space`** to CLI-backed checks as documented in the Trackio CLI
23
+
24
+
Optional:
25
+
26
+
-`--continue-on-failure` — run the remaining examples after a failure; CLI/UI run only for examples that completed successfully
Copy file name to clipboardExpand all lines: README.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,13 +20,20 @@
20
20
21
21
</div>
22
22
23
-
Welcome to `trackio`: a lightweight, <u>free</u> experiment tracking library built by Hugging Face 🤗. Trackio is local-first, supports very high logging throughputs for many parallel experiments, and provides an easy CLI interface for querying, perfect for LLM-driven experimenting.
23
+
Welcome to `trackio`: a lightweight, <u>free</u> experiment tracking library built by Hugging Face for humans and AI agents 🤗.
24
24
25
-
For human users, Trackio ships with a Gradio-based dashboard so you can view metrics, media, tables, alerts, etc.:
25
+
Why Trackio when other experiment-tracking libraries exist? Trackio has a few qualities that make it particularly useful for agents:
26
+
* It is local-first, because you shouldn't need to make an account to log data
27
+
* Logs are stored in SQLite database (with support for "freezing" logs to Parquet), which not only supports very high throughputs for many parallel experiments, but also
28
+
* provides an easy CLI interface for querying data (including directly on the SQL data), perfect for LLM-driven analysis.
29
+
30
+
So whether you are using agents to run entire research experiments autonomously or whether you are just using LLMs to analyze data, Trackio is for you.
31
+
32
+
For human users, Trackio _also_ ships with a Gradio-inspired dashboard so you can view metrics, media, tables, alerts, etc.:
26
33
27
34

28
35
29
-
Trackio's main features:
36
+
### Trackio's main features:
30
37
31
38
-**API compatible** with `wandb.init`, `wandb.log`, and `wandb.finish`. Drop-in replacement: just
32
39
@@ -35,16 +42,14 @@ Trackio's main features:
35
42
```
36
43
and keep your existing logging code.
37
44
38
-
-**Local-first** design: dashboard runs locally by default. You can also send metrics to a Hugging Face Space with `space_id` for free or to a self-hosted Trackio server you run yourself with `server_url`
39
-
- Persists logs in a Sqlite database locally (or on the remote target you chose: Space, or the machine hosting your self-hosted server)
40
-
- Visualize experiments with a **Svelte 5** dashboard locally, on Hugging Face Spaces, or on your own host when you self-host the server
45
+
-**Local-first** design: dashboard runs locally by default. But note that you can also log metrics to a Hugging Face Space with `space_id` for free, which is useful for collaborative experiments.
41
46
-**LLM-friendly**: Built with autonomous ML experiments in mind, Trackio includes a CLI for programmatic access and a Python API for run management, making it easy for LLMs to log metrics and query experiment data.
42
47
- Use `trackio query project --project <name> --sql "SELECT ..."` for read-only SQL when `trackio list` and `trackio get` are not enough
43
48
- See the storage schema and direct query reference at https://huggingface.co/docs/trackio/storage_schema
44
49
45
50
-**Free**: Everything here, including hosting on Hugging Face, is free!
46
51
47
-
Trackio is designed to be lightweight and _forkable_: **Python** for the backend and API, **Svelte 5** for the dashboard, and **Gradio component** code where UI widgets need to match Gradio behavior—so developers can fork the repository and extend either side.
52
+
Trackio is designed to be lightweight and _forkable_: **Python** for the backend and API, **Svelte 5** for the dashboard, so developers can fork the repository and extend either side.
0 commit comments