Introducing Trackio: A Lightweight Experiment Tracking Library from Hugging Face
Trackio is a free, open-source Python experiment tracking library that works as a drop-in replacement for wandb's init/log/finish API. It shows runs in a local Gradio dashboard and can sync to Hugging Face Spaces for sharing or iframe embedding. On Spaces, metrics go to an ephemeral SQLite database that is converted to Parquet and backed up to a Hugging Face Dataset every 5 minutes. It integrates with transformers Trainer and Accelerate, keeps its core under 1,000 lines, and is in beta without artifact management or complex visualizations.
Related posts
- The 5 Most Under-Rated Tools on Hugging Face
Hugging Face mediumAdeptFive overlooked Hugging Face Hub features (ZeroGPU, multi-process Docker Spaces, the Gradio API client, Hub webhooks and Nomic Atlas) can be combined into a free, automatically updating semantic search pipeline, demonstrated over a subreddit data source. A scheduled Space pulls Reddit posts into a dataset, a webhook triggers a processing Space, and that Space calls a ZeroGPU-hosted nomic-embed-text-v1.5 model through gradio_client to add embeddings and build an Atlas map. Practical details include the @spaces.GPU decorator, supervisord config for running a worker and a log viewer in one container, and webhook handling: respond within 30s using background tasks, and filter by repo scope, main branch and changed files.
- Introducing Daggr: Chain apps programmatically, inspect visually
Hugging Face mediumAdeptDaggr is an open-source Python library from the Gradio team for chaining Gradio Spaces, Hugging Face Inference Providers models and custom Python functions into workflows defined in code, with an automatically generated visual canvas. The canvas lets you inspect intermediate outputs, change inputs and rerun individual steps, while state, cached results and multiple "sheets" persist between sessions. Three node types are covered: GradioNode, which can clone and run a Space locally with remote fallback; FnNode; and InferenceNode. A walkthrough builds an image-to-3D pipeline from background removal, downscaling, FLUX.2-klein and TRELLIS.2. The library is in beta, so APIs may change and data loss is possible during updates.
- Wire It, Run It, Deploy It: AI Workflows in Gradio
Hugging Face mediumAdeptGradio's gr.Workflow turns AI pipelines into a graph of typed nodes (reference inputs, operator steps, subject outputs) served as a drag-and-drop canvas where every node is runnable and intermediate results are visible. Operators can be Python functions, Hugging Face Inference Providers models, other Gradio Spaces, or Hub dataset rows, and fan-out lets one input feed several operators in parallel. Each output automatically becomes a REST endpoint callable via gradio_client or curl, and fn nodes decorated with @spaces.GPU can run local models on ZeroGPU. Example Spaces include an image editor, a media studio chaining FLUX, background removal and TTS, and a dataset profiler.
- Training Orchestrator: Unifying Model Training at Yelp
Yelp Engineering mediumAdeptYelp's Training Orchestrator replaces per-team monolithic Spark training scripts with a declarative, configuration-driven framework. Pipelines are composed of typed steps whose dependencies form a DAG executed in topological order. Pydantic configs validate parameters and step input/output schemas up front, and injected Spark/MLflow context lets the same pipeline run locally, in Jupyter or in production. The payoff is local runs and unit-testable steps, config errors caught in seconds instead of hours into training, automatic MLflow logging of full configs for reproducibility, and swappable settings-plus-function pairs for reuse across batches.
- huggingface_hub v1.0: Five Years of Building the Foundation of Open Machine Learning
Hugging Face easyNovicehuggingface_hub reaches v1.0 after five years, with breaking changes. It replaces requests with httpx for HTTP/2, thread-safe connection reuse and a unified sync/async API. It also makes hf_xet the default transfer backend, ships a redesigned Typer-based `hf` CLI that replaces huggingface-cli, and removes legacy pieces like the Git-based Repository class, HfFolder, InferenceApi and hf_transfer. Most libraries work with both v0.x and v1.x, except transformers (v4 needs v0.x, v5 needs v1.x). v0.x will receive only security fixes. The history covers the 2022 shift from Git to the HTTP Commit API with a shared deduplicated cache, and Xet's chunk-level (64KB) deduplication, now used by 77PB+ across 6M+ repositories.