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
Copy file name to clipboardExpand all lines: trackio.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Most machine learning researchers use specific experiment tracking libraries to
17
17
18
18
## Why We Switched to Trackio
19
19
20
-
At Hugging Face, our science team has been using Trackio for our research projects, and we've found several key advantages over other tracking solutions:
20
+
At Hugging Face, our science team has started using [Trackio](https://github.com/gradio-app/trackio) for our research projects, and we've found several key advantages over other tracking solutions:
21
21
22
22
**Easy Sharing and Embedding**: Trackio makes it incredibly simple to share training progress with colleagues or embed plots directly in blog posts and documentation using iframes. This is especially valuable when you want to showcase specific training curves or metrics without requiring others to set up accounts or navigate complex dashboards.
23
23
@@ -27,7 +27,7 @@ At Hugging Face, our science team has been using Trackio for our research projec
27
27
28
28
**Flexibility for Experimentation**: Trackio's lightweight design allows us to easily experiment with new tracking features during training runs. For instance, we can decide when to move tensors from GPU to CPU when logging tensors while training, which significantly improves training throughput when you need to track model/intermediate states without impacting performance.
29
29
30
-
That's why the Hugging Face open-source team is excited to introduce: `trackio`, a completely free, open-source Python library...
30
+
So what is `trackio`? It's an [open-source Python library](https://github.com/gradio-app/trackio) that lets you track any metrics and visualize them using a local [Gradio](https://gradio.dev/) dashboard. You can also sync this dashboard to Hugging Face Spaces, which means you can then share the dashboard with other users simply by sharing a URL. Since Spaces can be private or public, this means you can share a dashboard publicly or just within members of your Hugging Face organization.
31
31
32
32
## Installing
33
33
@@ -114,20 +114,27 @@ Or in Python:
114
114
trackio.show(project="my project")
115
115
```
116
116
117
-
To deploy the dashboard to Hugging Face Spaces, pass a `space_id` to `init`:
117
+
### Sharing with 🤗 Spaces
118
+
119
+
To sync your local dashboard to Hugging Face Spaces, simply pass a `space_id` to `init`:
Since Spaces can be private or public, this means you can share a dashboard publicly or just within members of your Hugging Face organization — all for free!
135
+
136
+
When you sync your Trackio dashboard to Hugging Face Spaces, the data is logged to an ephemeral Sqlite database on Spaces. Because this database is reset if your Space restarts, Trackio also converts the Sqlite database to a Parquet dataset and backs it up to a Hugging Face Dataset every 5 minutes. This means you can visualize your
137
+
131
138
### Integrated with 🤗 Transformers and 🤗 Accelerate
132
139
133
140
Trackio integrates natively with Hugging Face libraries like `transformers` and `accelerate`, so you can log metrics with minimal setup.
0 commit comments