Skip to content

Experiment tracking that lives in a folder

Log training runs from Python in three calls, keep each run as a plain folder, and browse thousands of them in a fast viewer on your own machine. No account, no server, no database.

Quickstart Guides

Works with Python Jupyter PyTorch Lightning Hugging Face

# pip install nuboard
import nuboard as nb

with nb.init("llm-pretrain", run_name="baseline", config={"lr": 3e-4}) as run:
    for step in range(10_000):
        run.add_scalar({"train/loss": train_step()}, step=step)  # a few µs, never blocks

# then, in a terminal: nuboard up experiments
from nuboard.integrations.lightning import NuBoardLogger

trainer = L.Trainer(logger=NuBoardLogger("mnist", run_name="baseline"))
trainer.fit(model, datamodule)  # self.log(...) and the hyperparameters, from rank 0
from nuboard.integrations.huggingface import NuBoardCallback

trainer = Trainer(model, args, train_dataset=train, eval_dataset=val,
                  callbacks=[NuBoardCallback("glue-mrpc")])
trainer.train()  # train/loss, eval/loss, ... with the arguments as the config
run = nb.init("mnist", config={"lr": 3e-4})
run           # a summary: status, config, the last value of each scalar
nb.show(run)  # the viewer in the cell, updating live while it trains

The integrations add no dependencies. Frameworks and notebooks

All your runs, one fast viewer. Group a sweep into mean ± std bands, smooth, zoom and catch NaNs and spikes while runs train.

The Charts page: a learning-rate sweep grouped by lr, with mean ± std bands over three seeds and health alerts below The Charts page: a learning-rate sweep grouped by lr, with mean ± std bands over three seeds and health alerts below

Log a range, not just a number. Give add_scalar a low and high and each run gets its own shaded band, such as ± std over evaluation batches.

eval/loss for four runs, each drawn with a shaded band from its logged low and high values eval/loss for four runs, each drawn with a shaded band from its logged low and high values

See where the time goes. Wrap training and validation in run.timer: mean and p95 per step, slow outliers, and which rank everyone waited for.

The Timing tab of a run: each timer with its calls, mean per step, p95 and total, and a per-rank timeline of one step The Timing tab of a run: each timer with its calls, mean per step, p95 and total, and a per-rank timeline of one step

Audio with its annotations. Overlay a voice activity probability and label tracks on the waveform, play only a frequency band, zoom and leave notes on any region.

A waveform figure: a denoised speech clip with its speech probability on top and target, predicted and event tracks below A waveform figure: a denoised speech clip with its speech probability on top and target, predicted and event tracks below

What ran before what. Overlapping runs, crashes and the artifact versions each run produced, on one time axis.

The Timeline page: one bar per run of a project, colored by status, with artifact versions marked as diamonds The Timeline page: one bar per run of a project, colored by status, with artifact versions marked as diamonds

Pick the step to ship. When runs win on different scalars, the candidates are only the steps nothing beats on all of them, and the page shows what each choice costs.

The Shortlist page: accuracy against calibration error for every run at every step, with the candidates: the steps no other step beats on both The Shortlist page: accuracy against calibration error for every run at every step, with the candidates: the steps no other step beats on both

Keep the why next to the what. Each card is a question, the runs that tested it and a verdict, linked to the idea that came next.

A hypotheses board: cards with a question, the runs that tested it and a verdict, linked by arrows that say what led to what A hypotheses board: cards with a question, the runs that tested it and a verdict, linked by arrows that say what led to what

  • Three calls to log. Config, git diff, packages, GPUs and rank are recorded for you; logging uses only the standard library.
  • One folder per run. Copy, rsync, zip or delete it; notes and tags move with it.
  • Grouped charts. Mean ± std bands over seeds, smoothing, zoom that loads finer data, live updates.
  • Sweeps. Parallel coordinates and per-parameter scatters show which settings matter.
  • Health alerts. NaN/Inf, loss and gradient spikes, throughput drops, per run and rank.
  • Artifacts and lineage. Versioned datasets and checkpoints, and which runs made and used them.

A local alternative to TensorBoard and hosted trackers. Runs write an append-only log from a background thread, so a crash loses at most the last second, and are compacted to Parquet with zoom levels when they finish. nuboard up opens any folder of runs, filters them with a short query language and keeps every view in the URL. Free software under the MIT License.