Changelog¶
0.35.0¶
Saved queries you can manage in one place, the Python code brought to PEP 8
at 79 columns, and two fixes from an audit. No new dependencies; run folders,
queries.json and the public Python API are unchanged.
- Manage saved queries. The query bar's ▾ menu has Manage
queries…: rename, edit and remove saved queries in one dialog, drag
them into the order the menu shows, and start from examples of useful
expressions, a page at a time (Use puts one in the bar, Add to
mine saves it), with a link to the query language docs. Every query is checked on Save, and one that
does not parse is refused with its name.
POST /api/queriestakes{"replace": [...]}for this. - Queries can start with
not.not eval/acc existswas refused unless written aswhere not eval/acc exists. - Sign-in stays on the server. After signing in to a shared viewer, a
link whose path began with a tab or newline (
/%09/evil.example) could send the browser to another site. Such targets now go to/. - Shortlist: a checkpoint guessed to be from before a run's first complete step no longer shows on that step's row (it is offered as the nearest checkpoint instead), and checkpoint manifests are only read from inside the served folder.
- New artifact version from a folder: a folder that holds artifact versions of its own (a project folder, say) is now refused as soon as its path is typed, instead of after Review.
- PEP 8 at 79 columns. Ruff now checks lines of 79 characters and the
pep8-naming rules, and every Python file was reformatted to fit: long
comments and docstrings rewrapped, docstring summaries kept to one line.
Internal exception classes now end in
Error(for exampleHypothesisConflictError); none of them is part of the public API.
0.34.0¶
Suggestions in the query bar, several charts to a report at once, and the
Select page renamed Shortlist, which the Runs selection bar can now open
with only the ticked runs. No breaking changes and no new dependencies: run
folders, the Python API and #/select links are unchanged.
- Several charts to a report at once. The Charts page's All scalars grid has Select items, as on the Media page: tick small charts (or Select all shown, which takes every chart the filter leaves, on all pages and in folded sections), then Add N to report adds them together in the order ticked, each drawn live with a PNG copy for exports, or Download N as .zip saves them as PNGs.
- The Select page is now Shortlist. "Select" read like an action next to
the run checkboxes, so the page that chooses which run at which step to
take forward is named for what it produces. Its first tab, the steps no
other step beats, is now Candidates. Links to
#/selectand saved views keep working. - Open Shortlist and Timeline with the ticked runs. The Runs selection bar, the ⋮ menu of a run's details and the Showing N selected runs banner now offer Shortlist and Timeline next to Charts, Media and Sweeps, so the best step can be chosen among a few runs instead of the whole query. The banner, which already showed on Timeline, now has a Timeline button too.
- Suggestions in the query bar. As you type, the bar lists what can come
next at the caret: field names (run fields, config keys, custom fields and
scalars), then operators, then the values runs actually hold (statuses,
tags, projects, config values), keywords such as
group byandorder by,aggnames, and a scalar's.min,.maxand other statistics after its name and a dot. Tab inserts the highlighted suggestion, ↑/↓ choose one (then Enter inserts it), Enter otherwise runs the query as before, and Esc closes the list. The fields come from one request when the bar gains focus (/api/query-fields, cached by the server), so typing makes no requests, and live run updates never close the list, change it or move the caret.
0.33.1¶
Framework integrations and notebooks, safer shared editing, and a selectable frequency band in the audio player. No breaking changes, and no new dependencies: run folders and the Python API are unchanged apart from additions.
- PyTorch Lightning logger.
nuboard.integrations.lightning.NuBoardLoggerlogsself.logmetrics and the hyperparameters, writes from rank 0 only, resumes the same run for atestafter afit, and withlog_model=Truerecords the best checkpoint as an artifact. See Frameworks and notebooks. - Hugging Face Trainer callback.
nuboard.integrations.huggingface.NuBoardCallbacklogs the trainer's metrics undertrain/,eval/andtest/, records the arguments and the model's config, makes each search trial a run of its own, and resumes the run for anevaluate()aftertrain(). - Jupyter. Runs and projects show a summary when they end a cell, and
nb.show(run)opens the viewer inside the notebook, on loopback, updating live. Neither imports IPython. - Reports and hypothesis cards no longer overwrite edits made elsewhere. A report save checks the file is still the one the editor read; if not, autosave pauses and a quiet Changed elsewhere marker takes the place of Saved, with no reload and nothing moving on the page, until you click it to merge, keep both, keep yours or keep theirs. Hypothesis cards merge changes field by field, ask only when the same field changed, and never for moving or resizing a card. See Editing from several places.
Run.update_configadds settings to a run's config afterinit, andRun.finishedtells whether a run has been finished.- Fix: resuming a run kept only the new session's scalars in its summary. The runs table and queries now see scalars that only earlier sessions logged.
- Play only a frequency band. In the Media page's audio player, turn on
the band button (or press
B) and drag over the spectrogram, or Alt-drag (Option-drag on a Mac), to hear only part of the spectrum: the drag sets a band (leaving the time selection as it was) that playback goes through, with 48 dB/octave filters at its edges. The spectrogram greys out the rest, the edges can be typed in Hz or dragged on the spectrogram, a button plays everything again while keeping the band, and the players of one key share it. The files are not changed. See Audio. - A tidier audio toolbar. The audio player and waveform figures share one design: play and time on the left, the view's controls (speed, zoom, fit, download, full screen) in one group on the right. The selection's and the frequency band's controls, with icon buttons and a lighter ×, appear in the toolbar between them (in a row of their own on narrow players), and the note form opens there too, so the player never changes size when you select, add a band or write a note. A dot on the play button shows that it plays the selection (a ring: looped). Narrow players keep only the icons. See Audio.
- A click outside the selection clears it. In the audio player and in waveform figures, a single click outside the selection clears it and moves the playhead there, as in audio editors. A click on a waveform figure after a selection now always moves the playhead.
- A leaner docs home page. One tabbed quick start (plain Python, Lightning, Hugging Face, Jupyter), a "Works with" row under the hero, one-line feature cards and a short closing; about a third shorter. It also has a Select tab next to Timeline, and its audio screenshot shows the new toolbar. The README lists the integrations too.
- Charts opens on a scalar your newest runs logged. With nothing
selected, the focused chart used to open on
losswhenever any shown run had it, so after a switch totrain/lossit showed only older runs. It now opens on a scalar the newest run logged (a loss that most shown runs logged when there is one), and when some shown runs don't log the focused scalar, the chart's header says how many and names them on hover. - Bokeh tables and widgets in HTML exports. Exported reports and views now inline BokehJS's widgets and tables files along with the core file, as the viewer does, so Bokeh figures with data tables or widgets render in the export too. BokehJS still comes from cdn.bokeh.org at export time.
0.32.1¶
Small viewer fixes: clearer labels on the Select page, one style for the floating selection bars, and straight row lines in the Timing tab. No breaking changes: run folders and the Python API are unchanged.
- Select: best badges name the scalar as its column does. A shortlisted step that is best on one scalar reads "Best …/Training/SisdrLoss", in the case the scalar was logged with, instead of the capitalized last segment. A step best on several shows one badge, "Best on 2 scalars" (or "all"), with the names on hover, so a row no longer runs off the table.
- Select: Artifacts, not Checkpoints. The Shortlist column, the Compare
section, the Picks column and the pick dialog list the artifact versions
a run logged, and now say so. Hovering "none" explains that a checkpoint
saved only to disk shows up once it is logged with
run.add_artifact(..., step=step). - One floating selection bar. The bars that float at the bottom of the window while runs, steps or media are selected share one style: the count, the actions and the main action last. On Select, the bar is no longer inverted, and Clear is the same × as on Runs.
- Timing: straight row lines. In the Timers table, the line under the timer name no longer sits a few pixels above the rest of the row.
0.32.0¶
A new Select page for choosing which run, at which step, to take forward when runs win on different scalars, saved queries in the query bar, and baselines in the small charts' tooltips. No breaking changes: run folders and the Python API keep working as before.
- Select page. Choose the scalars that matter and which way is better for
each. Every run at every step where all of them were logged is scored, and
the shortlist keeps the steps no other step beats on every scalar. A
trade-off plot shows any two of them, with hover on every step, zoom, pan,
full screen and adding it to a report, as in the other charts; Compare puts a few steps side by
side with each run's curves, a summary of the scalars each one is best and
worst on, the config keys that differ and the checkpoints at that step; Pick this step saves the choice with a note
in the project's
picks.json. Runs that never log a chosen scalar are listed as not ranked instead of being judged on fewer numbers. See Choosing a step. New endpoints:GET /api/steps,GETandPOST /api/picks. The demo'svit-ablationsproject has checkpoints, a pick, and a calibration error that drifts back up late in training, so there is a real trade-off to look at. run.add_artifact(..., step=...)records the step a checkpoint was made at, in its manifest (step). The Select page lists the version next to that step; a version without one is placed at the last step logged before it was made.- Saved queries. The ▾ button at the end of the query bar lists saved
queries and the queries this browser applied last; click one to apply it.
Save this query… names the query in the bar and writes it to
queries.jsonin the served folder, shared by every browser and safe to commit. New endpoints:GETandPOST /api/queries. - The folder chip shows the end of a long path, such as
…/experiments/demo-runs, instead of cutting off the folder name, and its icon no longer shrinks. The same goes for the root folder in the Runs page's workspace list. - Long metric names keep their end. Wherever a scalar name, config key
or path is too long to fit, it now loses its start instead of its end
(
…/per_class/acc_cat), so names that share a long prefix stay distinguishable: chart titles, the focus chart's picker and inspector, Best on the Charts page, the scalar picker's list, Sweeps, Artifacts, the parameter picker, run paths and the report path. The full name shows on hover. Run names and other labels are still cut at the end. - Baselines in the small charts' tooltips. Hovering a chart under All scalars now lists its baseline (and range, if set) under the runs' values, as the inspector does for the chart in focus. It follows the Baseline toggle.
0.31.1¶
Safer sharing: a local viewer without a token can no longer be published by a
tunnel that rewrites the host name, wrong tokens are limited, the sign-in
cookie is Secure over HTTPS, and nuboard up warns when the viewer is open
to other computers. No breaking changes: run folders and the Python API are
unchanged, and a viewer on 127.0.0.1 behaves as before for requests from
the machine itself and SSH port forwarding.
- A warning when the viewer is shared.
nuboard upon an address that is not local (--host 0.0.0.0or similar) now prints a warning after the startup lines: the viewer speaks plain HTTP, so the token and the data travel unencrypted, and it says what others can change (reports, hypothesis boards, directions, artifact versions with--edit-artifacts, and notes, tags, fields, pins, collections and saved views, which are always editable). With some--read-only-…flags it lists only what can still change.--no-share-warninghides it; the--no-tokenwarning is always printed. A local viewer prints nothing new. - A local viewer without a token can no longer be published by a tunnel.
nuboard upon127.0.0.1asks for no token and accepts onlylocalhosthost names, but a tunnel or proxy that rewrites the host name tolocalhost(ngrok--host-header=rewrite, nginxproxy_set_header Host localhost) made it reachable from the internet with no token. Such a viewer now answers 403 to any request carrying a header that proxies and tunnels add (Forwarded,X-Forwarded-For,X-Forwarded-Host,X-Real-IP,CF-Connecting-IP,True-Client-IP). Requests from the machine itself and SSH port forwarding work as before, and so does a viewer with a token or one started with--no-token. - Wrong tokens are limited. After 20 wrong tokens in a minute (sign-in
form,
?token=link orAuthorizationheader), signing in answers 429 until the minute passes. Browsers already signed in carry on. - The sign-in cookie is
Secureover HTTPS, directly or behind a proxy that sendsX-Forwarded-Proto: https.
0.31.0¶
Fixes from a code audit: resumed runs and their media in an open viewer,
flush() and values changed right after add_scalar, several runs per
distributed job, SIGTERM, Windows file locks, and a faster viewer with many
runs or live charts. No breaking changes: run folders written by earlier
versions read as before, data.parquet gains one metadata key, and the
Python API only gains optional arguments.
- A resumed run updates in an open viewer. A finished run that was
resumed while
nuboard upwas running kept showing its old, compacted data until the viewer restarted. The viewer now notices that the logs grew (or thatdata.parquetwas rewritten) and reads the new data. - Media stay correct after a resume. Images, audio and other media were addressed by their position in the list, which a resume could shift, so the browser could show a cached item under the wrong step. Each item now has an id that never changes. Text and media also follow the rule scalars already follow: where a resumed session logs a key again, the earlier session's items from that step on are no longer listed twice. The Python reader still returns every logged item.
- One scalar menu instead of a row of tabs on the focused chart. With
many long scalar names, the tabs above the chart were cut off, and the
All N button could slide under New data · Update. The header now
holds a single searchable menu showing the full scalar name, ‹ › buttons
to step to the previous or next scalar, and a
30 / 54counter, so the header stays tidy and nothing overlaps. Live updates leave it alone: an open menu keeps its search text and focus, and nothing in the header or the plot moves when new data arrives or the Update button comes and goes. run.flush()waits until the data is written. It could return while the background thread was still writing the last batch, so reading the run right after a flush could miss data.- A failed write no longer renames scalars. After one batch failed (a
full disk, a network filesystem hiccup), the scalars first seen in it showed
up as numbers such as
17for the rest of the run. Their names are now written again with the next batch. - Logged values are taken at the call.
add_scalarread tensors and arrays up to a second later, on the background thread, so changing one in place right after the call (acc.add_(x), a reused buffer) or editing a nested dict logged the later value. Tensors are now cloned on their device without waiting for the GPU, arrays are copied, and nested dicts are flattened at the call;add_scalarstill takes a few microseconds. - The media count in
run.jsonno longer drifts low when media are logged while a heartbeat is being written. - Several runs in one distributed job get their own folders. A second
initin the same SLURM or torchrun job (train, then evaluate) got the same id as the first: it failed with "already exists", or other ranks wrote into the first run. The first run of a job keeps the id it gets today. - SIGTERM finishes runs as killed. A job stopped by a SLURM time limit,
preemption or
killstayed "running" until it showed as lost, and lost its last second of data. It is now finished askilledwith its data written. - Multi-GPU runs are compacted at finish, once the other ranks' logs ended, so the viewer opens them as fast as single-process runs.
NUBOARD_STANDALONE=1makessrun -n Ntasks independent runs instead of the N ranks of one run.- Windows: an open viewer no longer blocks compaction or
nuboard rm. The viewer kept each run'sdata.parquetopen, so finishing a resumed run could not replace it, andnuboard rmfailed on runs with open files. The viewer now opens the file only while it reads it, compaction retries while the old file is in use, andrmsets aside runs it cannot delete yet and removes them later. - A faster viewer with many runs. The run list no longer rescans the
whole folder on every live update (the server has just done it), a running
run's heartbeat alone no longer makes every open tab reload the list, and
the list's run count and collections are computed once instead of once per
run. With 5,000 runs a live reload of
/api/runstakes about 65 ms instead of 440 ms. - Live charts fetch less. A live update refetches, on each small chart, only the runs that changed and merges them into what is shown, instead of every run on every chart. Charts of a compacted run keep their decoded zoom levels in memory (256 MB at most), so zooming and live updates no longer read them from disk again.
- Media are sent as they are stored. Images, audio and video skip gzip
(they are compressed already), and a seek in an audio or video player reads
only the bytes it asks for instead of the whole file.
RunReader.read_mediatakes an optionalstartandsizefor the same. - Open tabs catch up after a reconnect. After the viewer restarted, or a laptop slept, open tabs showed old data until the next change; they now reload the runs and charts once when they reconnect.
- Compacting a running run no longer skips data. With
nuboard compact --include-running, frames written while the logs were being read could be counted as compacted without being indata.parquet; if the run then died, the viewer never showed them. - Runs of the same name are told apart by the end of their id in chart
legends (
baseline (1a2b3c4d)), not by the whole id. Project.scalars(group_by=...)with mixed value types (0.001in some runs,"auto"in another) returns the values as strings instead of raising. Itsrun_idandnamecolumns are built without one Python string per point, so large tables load faster.- The Columns menu lists config keys of every run, not only of the first 2,000.
- Forking a resumed run takes its history the way the viewer shows it,
with bands, and reads a compacted parent from
data.parquet. - Wording: the remaining "metric" labels on the Hypotheses board say "scalar", and every filter box says "Filter". The product name in the UI comes from one place, and the docs describe when multi-GPU runs are compacted, name both media packs, and say the tests run on Windows too.
- A write cut short no longer loses the rest of the run. If the disk filled up in the middle of a write, the partly written bytes stayed in the log, and everything logged after them was unreadable. The failed write is now cut back off the file, and logging carries on cleanly. A media item that cannot be stored is skipped alone, instead of with every scalar logged in the same second.
- An idle running run no longer reloads every open run list on each heartbeat.
- Media load faster on runs with many items: each item is looked up
directly instead of by sorting the run's whole media list. Python:
RunReader.media_item(uid), andmedia()andtexts()takelatest=Trueto list items the way the viewer does. - Open tabs notice a viewer restart also when the restarted viewer happens to reach the same catalog version.
RunReader.scalars()returns arrays you can change, also for a compacted run (they were read-only there).copy=Falsereturns the reader's own arrays without copying.- A SIGTERM during
finish()lets it complete before the process ends, so a job stopped just as it was finishing is recorded as finished, not lost. - Finishing a multi-GPU run is faster: the check that the other ranks have ended reads only their own logs, so the run is decoded once, for compaction.
- The Files view reads only what it shows. Opening a large file of a
run's
files/folder (a checkpoint, a long log) read all of it into the viewer's memory to send its first 2 MB. Now only those 2 MB are read. - A merge stopped part way no longer blocks the next one. A merge killed
while copying a run or artifact version left a partial copy in the hidden
.merge-tmp/folder, and every later merge of it failed withFileExistsError. Each copy now has a staging folder of its own, so the merge can simply be run again, and two merges into the same folder at once never touch each other's copies. A copy that fails (a full disk) is removed at once, and one left by a merge killed outright once nothing in it changed for 6 hours. - A copy that just finished is never taken as abandoned. Merges and artifact versions clear staging folders in which nothing changed for 6 hours, but a copy keeps its source's modification times, so a fresh copy of old files could look abandoned and be deleted before it was moved into place. The check now also looks at when the copy itself was written.
- Docs: known limitations now say that hypothesis cards and reports are saved whole, so the last save wins.
- A TensorBoard import stopped part way is redone. Importing the same folder again skipped the run as already imported, leaving it crashed with part of its data. It is now imported again in full.
nuboard lsreports a bad query in one line, asnuboard rmdoes, instead of with a Python traceback, and before reading any run.- Internal: the viewer's routes moved from one 2,500-line
server/app.pyinto one module per area underserver/routes/. No route, parameter or response changed.
0.30.0¶
The viewer asks before saving over notes or properties someone else changed while you were editing them. No breaking changes: the HTTP API gains an optional field, and run folders are unchanged.
- Edits made by someone else meanwhile are no longer overwritten
silently. If a run's notes or a property were saved after you started
editing them, saving asks what to keep instead of replacing them. For
notes: both (yours under theirs, to tidy up), yours, or theirs; for
properties in the Properties tab, a table cell or several selected runs:
yours or theirs, and runs nobody changed are saved right away. Only what
you edit is compared, so other changes never get in the way. The
/api/runs/annotateendpoint takes an optionalexpectfor this; saves without it work as before (#53). - Docs: known limitations list what editing from several places does not cover.
0.29.2¶
Hotfixes for saving in the viewer. No breaking changes.
- Saving run properties works from any folder. With the viewer started on
a project's
runs/folder or on a single run folder (for examplenuboard up .from inside one), saving a property failed withFileNotFoundError: .../.fields.json.<rand>.tmpand the property never appeared. Saving views, pins, reports and sweeps failed the same way. The viewer now finds the project folder from its runs, so these files go to<project>/whatever folder it was started on. Folders that already worked keep using the same files (#49). - Typing a property of a running run is no longer wiped. The run panel reset every property box to its saved value on each live update (every heartbeat, about 10 s), so text being typed vanished and could not be saved. The boxes now take new saved values only when they change, and never replace a value being edited.
- Simultaneous edits of a run are no longer lost. Two saves to the same
run at once (two tabs, or a property and a note) could drop one of them; in
a test, one of two simultaneous edits was lost 48 times in 50. Saves of
annotations.jsonnow take turns, and a change made by another process between the read and the write is kept.Run.set_fieldin Python saves the same way (#50). - A broken
annotations.jsonis never overwritten. A file that is not valid JSON used to be replaced by one holding only the new edit, erasing the run's stars, tags, notes and properties. The save is now refused with a message saying why, and the file is left as it was. Such a file, or one that is not valid UTF-8 or not a JSON object, no longer breaks the run list. A file locked by another program on Windows gives a "try again" message instead of a server error, and a star, tag or notes save that fails now says so instead of looking saved. - Docs: the limits of editing from several places, in Using the viewer.
0.29.1¶
Two viewer fixes on the Artifacts page and for primary buttons, and docs brought up to date with 0.29.0. No breaking changes.
- Artifacts: download a version's files. Each file in a version's Files list has a Download button, as in a run's Files tab. It saves the file from where the version keeps it (its copy, or the referenced folder), and only files the version's manifest lists can be downloaded.
- Primary buttons are readable in both themes. 0.28.0 gave their labels the regular text color, which put dark text on the light theme's blue and light text on the dark theme's blue (Review and Add version in the new artifact version form, among others). Labels are now white in the light theme and near-black in the dark theme.
- Docs: current screenshots and numbers. Every screenshot shows the current viewer, the TensorBoard benchmark and the measured performance table were rerun with this version, and the Quickstart lists all four demo projects.
0.29.0¶
One way to do each thing across the viewer, and command-line flags with one name each. The command-line renames below break scripts that use the old names; the Python API, run folders and saved links are unchanged.
- One searchable scalar picker. Wherever a scalar is picked for Min / Max / Last (Runs, Sweeps, Media, Hypotheses), the menu is now the search list Charts' All N opens: type to narrow, ↑ ↓ and Enter to pick, opened on the current scalar.
- Command line: one name per flag. These renames break scripts that use the old names, which are not kept:
nuboard compact --forceis now--include-running, as inrmandmerge(where--forcemeans something else).nuboard up --lock-directionsis now--read-only-directions.nuboard artifact add --refis now--reference, like the "copy, or reference" question it asks.nuboard up --read-only-reportsnow locks only reports; the new--read-only-hypotheseslocks hypothesis boards.- Command line: smaller fixes.
nuboard compact's folder is optional, as forup,lsandrm;mergetakes-pfor--project;ls -q,up --host,up --port,demo --portanddemo --openhave help text; and the help showsrm --run IDandimport-tensorboard --tag TAG. - Any artifact type in the CLI and the viewer, as
log_artifactalready allowed.artifact add --type tokenizerand the viewer's form keep the type as given;dataset,model,checkpoint,reportandotherare still suggested, and the form suggests them as you type (shown as Dataset, Checkpoint, ...), together with the types other artifacts use. - Artifacts: + New replaces New version, matching the other pages.
- Media run chips filter like the Charts legend. With more than 12 runs,
the chips fold to the first 10 with +N more, and a filter box (name, id,
tag, note or a setting such as
lr=3e-4) with Only these shows just the runs that match. - Compare picks the two runs to diff with the run picker. With three to
eight runs, the Diff … against … menus on Files and file tabs become
run pickers that show the end of each run's id, its status, start time and
tags, so runs with the same name can be told apart. Links keep
pair=. - One X axis control in Charts. The X axis group gets a fifth choice,
Scalar…, which opens the searchable scalar list and then shows the
picked scalar's name; the separate "X by scalar…" menu is gone. Links keep
x=metric:<name>. - One rule for every filter box. The Runs filter, the run pickers, the
scalar pickers, Charts' Filter scalars and legend filter, and Media's
Filter keys now all take words that must all match,
/regex/, and!wordto leave things out (acc !per_class,#sweep !crashed), like the Compare settings filter already did. Charts and Media still read each word as a regular expression. The Runs filter also matches a run's status, and Media's By regex ignores case. See Filter boxes. - Media: text diffs. A text card's Show changes button compares its text with the step before or with another run's text at the same step, line by line with the changed words highlighted.
- One control for "which scalar, summarized how". Runs, Sweeps, Media and Hypotheses (the board and a card's own number) use the same scalar picker and Min / Max / Last pills, with the same tooltips; the direction arrow stays on Runs and Sweeps, where it ranks the runs. The Charts summary card now reads Best with a ↓ / ↑ button instead of Min / Max, so Min and Max always mean a run's lowest and highest value. URL keys and remembered choices are unchanged.
- Charts redraw faster with "Ignore outliers" on. The y-axis range is worked out with one sort of the points instead of four, in a typed array, so zooming and resetting a chart of many runs blocks the page for much less time (about 19x faster for 50 runs of 2,000 points). The range is the same.
- Docs: rank 0 only, like TensorBoard. The distributed-training guide and
the limitations page say that Charts shows rank 0, and that other ranks are
read with
RunReaderor seen on the Timing tab. The Ranges tooltip no longer promises a min–max across ranks.
0.28.0¶
Small fixes and conveniences in the viewer. No breaking changes.
- Hypotheses: New hypothesis takes several runs. The form lists the runs you add with an × to take each off, like a card's Runs, and choosing a run no longer creates the card before you press Create. Runs on a card show the end of their id, so runs with the same name can be told apart.
- Hypotheses: Timeline metric names use the room they have and are only shortened, keeping their end, when the window is too narrow. The number column widens for a card's own metric.
- Space plays audio once you click it: in the audio player (waveform and spectrogram) and in waveform figures, in the viewer and in exported reports, Space plays and pauses after a click on the plot, not only in full screen. A focused button outside full screen keeps its own Space.
- Primary buttons have the same text color everywhere; New version on an empty Artifacts page no longer looks faded.
- Hypotheses: Not on the board adds a run to the new hypothesis with one click, like Add a run…, instead of opening buttons under it.
- Media: select and download many items. Select for report is now Select items, highlighted while it is on; its bar adds Select all shown (the item of every card your filters leave) and Download N as .zip, built in the browser with a progress bar and Cancel, and stopping past 1 GB. "All runs on one chart" overlays can be ticked too: they go in a report live, and in the zip as PNG.
- Media: download formats. A card's download button lists the formats it saves as, with a word on each: the file as logged, a table also as CSV, and a PR curve or distribution also as a PNG of the chart. A waveform figure's menu reads WAV and ZIP with signals (before: Audio (.wav), Data (.zip)).
- Artifacts: copy buttons. A file's SHA-256 shows whole when there is
room (a narrow window cuts its end) and has a button that copies it, as does
the
run.use_artifact(...)line of a version.
0.27.0¶
A round of refinements to the Hypotheses page, and a copyright line in
nuboard version. Boards gain two optional fields (panel_metrics,
card_width) and hypotheses one (width); older boards read as before. No
breaking changes.
- Hypotheses: Save / Cancel for a run's conclusion and an arrow's Why, with Ctrl/Cmd+Enter and Esc. Unsaved drafts are kept while you look at other runs, and leaving the page with one asks first.
- Hypotheses: choose a run's metrics. The side panel lists the card's
metric first, without system metrics and timers, by default; the pencil
next to Metrics picks them for the whole board (
panel_metricsinboard.json), and rows reorder by drag or Alt+↑/↓. - Hypotheses: the Timeline names its number in a header row, and under the value for cards with their own metric. Long metric names keep their end.
- Hypotheses: card sizes S, M, L and XL, for the board (
card_width) and per card (width). Columns of the tree follow their widest card. - Hypotheses: telling runs apart. Every run picker (Add a run, First run, Comes from, Add a dashed link) is now a filterable list showing each run's status, start time, tags and id ending. Not on the board shows the five newest runs with a filter and Show all, and a run there starts a hypothesis or opens its charts.
- Hypotheses: run header with status, start time, tags and a button that copies the run id.
- Hypotheses: Min / Max / Last pill for the board's Number in the toolbar, like a card's. The direction arrow is gone from this page: Last ranks by the metric's direction in the project, set on Runs or Sweeps.
- Hypotheses: "Changed from" keeps config keys whole and wraps long values inside their column.
- Copyright in
nuboard version: it now printsNuBoard x.y.z Copyright © 2026 Esteban Gómez (MIT License), with the years becoming a range such as2026–2027from next year on. Consoles that can't show©oróget(c)andGomezinstead of an error.
0.26.0¶
Two ways to compare media side by side on the Media page, and a pill for a hypothesis card's number. No breaking changes.
- By regex on Media: next to By key and By run, a regex groups the keys
in which it finds the same text (or its first group), with one row per run.
[^/]+$puts…/Input/…/sample_3,…/Processed/…/sample_3and…/Target/…/sample_3next to each other, for every sample. See By regex. - Pinned items on Media: the pin button on a card keeps it in a Pinned section on top, whatever the filter and the arrangement, so any items can be compared side by side. Pins are kept in the URL. See Pinned items.
- Min / Max / Last pill on hypothesis cards: in the hypothesis panel, Number on this card picks Min, Max or Last with the same pill as Runs and Media instead of a menu, on its own row under the metric menu.
0.25.1¶
A small viewer fix: ticking a run on Runs no longer pushes the table down. No breaking changes.
- Floating selection bar on Runs: the actions for ticked runs now sit in one row in a bar that floats at the bottom of the window, instead of a blue bar above the table that moved it down. Star, Archive, Mark reviewed, Tags, Properties and Collection are icons, named when you hover them; Charts, Sweeps, Media and Compare (or Details, with one run ticked) keep their labels, and the × clears the selection.
0.25.0¶
A log x axis for Charts, a frequency axis switch for spectrograms, and
Min / Max / Last everywhere "Best" was, with one saved direction per
scalar (which way is better) that every page reads. The end-to-end tests are
steadier, and nuboard up no longer moves to another port right after a
restart (#39,
#27). No breaking changes:
old links and hypothesis boards that used "best" map to Min or Max.
- Log x on Charts: a switch next to the x axis picker draws step (or any increasing x) on a log scale. Zoom, pan, pinned points and HTML exports work in log space, the server spreads points evenly over each decade, and points at x ≤ 0 are left out with a note. Off for wall time.
- Spectrogram frequency axis: Media has a Frequency axis switch while Spectrogram is on; toggling it does not recompute the FFT. Reports and exports show the axis too.
- Min / Max / Last instead of Best: Runs, Sweeps, the Charts summary card, Media (At scalar min/max) and hypothesis cards pick each run's lowest, highest or last value, starting from a guess from the name and remembering your choice per page. Tooltips list the largest value first.
- Which way is better, as a direction: an arrow next to the scalar, as
papers mark it (↓ lower is better, ↑ higher). Sweeps and the Runs result
column rank by it, tables color their changes by it, and hypothesis cards
mark each card's top run (▲) by it. A faint, dashed arrow is a guess from
the name. A click changes only your view (
dirin the URL); Save for everyone keeps it in<project>/directions.json, the one place it is stored, and Reset goes back. Saves are refused when someone changed the direction meanwhile, are locked across processes, and open viewers update within seconds of any change. Projects shown together that disagree show ↕ and color nothing. A table column's direction is kept apart from a scalar of the same name.nuboard up --lock-directionsmakes them read-only, andnuboard mergecombines them, reporting conflicts. - Tables no longer guess better or worse: changes are gray ▲ / ▼ until a column has a direction (the ± button in its header).
- Sweeps says what it ranks: "Each run's lowest value, lowest ranked first", with "(its worst)" when Max is paired with ↓ (or Min with ↑), which ranks by stability: the smallest spike or dip first.
- Steadier end-to-end tests: tests that need a live run use their own demo server and the rest a still one, waits cover redraws, and a failing test is retried once.
nuboard upkeeps its port after a restart: a port whose server just stopped is reused instead of moving to the next free one.- Docs: the Quickstart and Guides buttons on the home page are rounded and raised, with a hover lift; a new "Which way is better" section explains directions.
0.24.1¶
A docs release: the About page shows NuBoard's main features in tabs, a new guide covers sharing results from a cloud machine, and the Python API pages have more pictures. No code changes (#37).
- Feature tabs on the About page: the single screenshot is now six tabs (Overview, Ranges, Timing, Audio, Timeline and Hypotheses), each with a screenshot in light and dark and a short description in a box of fixed height, so switching tabs never moves the image. Nothing rotates on its own.
- Sharing from a cloud machine: a new guide compares SSH port forwarding, a token on the network and HTTPS behind a reverse proxy, with the pros and cons of each for accessibility and security. The viewer guide and the command line reference link to it.
- More pictures in the Python API pages:
add_scalarlogseval/losswithlowandhighand shows its band,add_scalar_baselineandtimershow what their examples produce, and theadd_audioexample logs a plucked arpeggio with harmonics and vibrato instead of a chirp, for a richer spectrogram.
0.24.0¶
Artifact versions can be made from a run's files in the viewer, and an artifact's files are read by their path inside the version. Artifacts can no longer contain other versions, and the Artifacts page no longer hangs on a bad version. No breaking changes; the viewer now asks before adding files identical to the latest version.
- Reading an artifact's files: an
Artifactreads like a mapping from each listed file's path inside the version to the file, soart["best.pt"],"best.pt" in art,list(art)andlen(art)work for copies and references alike. Only the files the manifest lists are keys, which matters for a reference to one file, whosefilesfolder may hold others. - Artifact versions can no longer contain other versions: a source inside
a project's
artifacts/folder, or one that contains it or another project's versions, is refused. Before, referencing the project folder made each new version list the previous versions' manifests. - The viewer asks before adding identical files again: adding or
promoting files that are the same as the artifact's latest version shows
"the same as v1" with Add anyway (
allow_duplicatein the API) instead of adding a duplicate version. - The Artifacts page cannot hang on loading: a version with a missing,
unreadable or malformed manifest is listed with the problem instead of
breaking the list, and a list that fails or takes over 20 seconds shows an
error with Retry. A copy that is interrupted removes its staging
folder, and staging folders abandoned for 6 hours are removed when a
version of that artifact is added or the viewer starts with
--edit-artifacts. - Artifact versions from a run's files: with
nuboard up --edit-artifacts, the Files tab has New artifact version next to Download, and an artifact icon on folder rows. It opens the same form as New version on the Artifacts page, with the source filled in and a choice of Copy (the default) or Reference. A reference to files inside the project is stored relative to the project (reference_base: "project"), so it survives copying, rsyncing and merging; a running run can only be copied. The run is recorded as the producer and the run folder is never changed. Without the flag the buttons are hidden.nuboard artifact addwith a path inside a run does the same,promote_run_pathdoes it from Python, andnuboard rmkeeps a run that a referenced version needs unless--force. - Run details tabs have icons, and only the first five show in the row: the rest, and the Charts, Sweeps and Media shortcuts, are in a ⋮ menu, so the settings filter stays on the same line on a laptop screen.
- Timing tab: the dot marking the shown step on each per-step line is round (it was stretched with the line), and a timer's full chart marks the shown step and follows the cursor with a dot.
0.23.0¶
Timers measure where training time goes, with a new Timing tab in the run details, and the Charts alerts follow the legend. No breaking changes.
- Timers (#32):
run.timer(name)times parts of the training code (an epoch, validation, a callback) as a context manager or withstart()andstop(), which can be in different methods: the same name returns the same timer.accumulate=Truesums spans (such as every batch) into one point perflush();sync=Truewaits for CUDA; only rank 0 logs unlessall_ranks=True. Misuse warns once and never stops training, and a timer logging many points per second suggestsaccumulate.nb.Timer.disabled()measures without logging. Timers are scalars undertiming/;init(timing_prefix=..., system_prefix=...)renames the run's own prefixes (recorded inrun.json), and a scalar logged by hand under one of them gets a one-time warning. - Timing tab in the run details: calls, mean, p95, total and share per timer with a per-step line and a full chart, nested timers, time spent waiting for other ranks and not under any timer, findings (spikes, a slow rank), and a timeline of one step with a lane per rank. On the Charts page the timing and system sections come last, folded, and timers are drawn as durations.
- Charts alerts follow the legend (#33): the alerts strip under the focused chart lists only the runs switched on in the legend (with grouping, the runs of the visible groups). Alerts of runs switched off are counted in a "+N in hidden runs" note, which switches them back on when clicked.
0.22.0¶
A new Hypotheses page keeps the story behind your runs, and times can be shown in a time zone you pick. No breaking changes.
Times can be shown in a time zone you pick, and each run records the zone of the machine(s) it ran on.
- Time zone chip in the header (the clock button), optional: it reads Local time by
default, showing times as before in your browser's zone. Pick Machine
time to show each run on the clock of the machine that recorded it (axes
shared by runs from different zones switch to UTC and say so), or UTC, a named zone such as
America/Santiago(daylight saving followed at each moment) or a fixed offset such asUTC-03:00. It changes only how times are written: data, queries, links and saved views are unchanged. All views use it at once (run table, run details, chart tooltips and wall-time axes, the Timeline, artifact and file dates, exported reports), and hover read-outs end with the zone's short name. The choice is kept per browser. See Time zones. - Each session records its machine's zone:
sessionsentries inrun.jsongainutc_offset,utc_offset_endandhost, so a run resumed on a machine in another zone shows each session's offset in Run details (machine_zone, plusmachine_zone.s1, … for resumed sessions). Not a breaking change: the keys are additive, and older runs show the first session's offset worked out from the run id, orunknown.
A new Hypotheses page keeps the story behind your runs.
-
Hypotheses page (#28): keep track of what each run was testing and which run led to the next idea. A project can have several boards; each draws its hypotheses as a tree of cards (with verdicts, run outcomes, notes, linked reports and the reason on each arrow) or as a timeline. Runs and reports that are gone show as "not found" instead of breaking the board. Boards are plain JSON in
<project>/hypotheses/<board>/, safe to commit; see Hypotheses and the file format. The demo'svit-ablationsproject has one.--read-only-reportsnow also makes boards read-only. -
Runs selection bar: Compare (or Details for one run) moved into the blue bar with the other actions on the ticked runs; Plot selected is gone (the bar's Charts does the same); Tags…, Set property… and Add to collection… are now Tags, Properties and Collection.
0.21.0¶
init no longer hangs a multi-GPU job when only rank 0 calls it, and a new
Benchmarks page compares nuboard with TensorBoard. One breaking change:
init(gpus=...) is now system_devices.
- Breaking:
init(gpus=...)is renamedsystem_devices, next tosystem_metricsandsystem_interval, so it reads as the devices system metrics track, not the devices you train on. Replacegpus=withsystem_devices=; the old name is gone. initno longer hangs a multi-GPU job when only rank 0 calls it, as is usual with TensorBoard (if rank == 0: run = nb.init(...)). Rank 0 used to broadcast its run id throughtorch.distributedand wait for every rank to receive it. It now never waits for other ranks: they find the run through a shared job id (SLURM_JOB_ID, or torchrun's--rdzv-id), and without one they log nothing, which loses only other machines' system metrics (#24).- Benchmarks page in the docs: nuboard against tensorboardX and
torch.utils.tensorboard, as interactive charts (exact values and ratios on hover), with the script that reproduces it (benchmarks/vs_tensorboard.py). - Full screen replaces Expand in Files. A text file taller than its 520 px box opens full screen, as charts do: it fills the screen and scrolls inside however long it is, and Exit full screen or Esc brings it back. The page around it no longer grows with the file, so a huge log can't stretch it. A file that fits its box has no button.
- Only changes and the Diff … against … run menus are also in a full screen diff, so a long file compared between runs can be cut down to the lines that differ without leaving it.
0.20.1¶
The Files tab no longer jumps back to the top while a run is live.
- The Files tab keeps its scroll on live runs. A running run's
heartbeat no longer reloads the open file, so a long file such as a
config.yamlstays where you scrolled instead of jumping to the top. A text file the run is still writing is read again as it reports in and grows in place, following new lines only when you are at its end (#21). - Expand next to a text file in Files or a pinned tab shows it at full height instead of in a 520 px box; the choice is remembered (#21).
- The demo's live run saves a
config.yamland writes a growingfiles/progress.log.
0.20.0¶
The first release on PyPI: pip install nuboard (or uv pip install nuboard).
nuboard rmdeletes runs chosen by a query (-q 'status = crashed') or by id or name (--run, repeatable). It lists the runs with their sizes and deletes nothing until you confirm;--dry-runand--yeswork as inmerge. Running runs are skipped unless--include-running, artifact versions the runs produced are kept, and with neither a query nor--runit refuses, so it never deletes every run by accident (#18).- Command line reference. A new page lists every command with its options and defaults (#18).
- Known limitations have their own page.
- Viewer pages can't be framed by another website, so a page you visit
cannot overlay the viewer to trick clicks, and the sign-in form no longer
follows a
nextlink with a backslash to another site. pip install nuboardincludes the viewer. NumPy, PyArrow, Starlette and uvicorn are now regular dependencies, sonuboard upworks without[viewer];nuboard[viewer]still installs. Logging still uses only the standard library and imports none of them.- Package metadata for PyPI: project links and classifiers. The docs are published at https://eagomez2.github.io/nuboard/, and GitHub workflows run the tests and publish the docs.
0.19.2¶
-
nuboard merge SRC DESTmerges a project logged on two machines into one folder. It shows the full plan first (runs to copy, identical items, conflicts, renamed or renumbered items) and writes nothing until you confirm. It copies what DEST lacks and never overwrites or deletes: clashing artifact versions are renumbered and copied runs repointed, collections and hide rules are combined, and a report or view that differs is copied next to DEST's.--dry-run,--yes,--json,-v,--projectand--include-running(#16). See Working on several machines. -
TensorBoard import: videos and meshes.
import-tensorboardnow importsadd_videoclips (animated GIFs) as videos andadd_meshsummaries as point clouds with their colors, instead of an image and a skipped plugin. - Small charts show values on hover. Hovering a chart in the All scalars grid shows each run's value at the cursor, best first, up to eight and "+N more" (#3).
- A pinned step shows on every chart. While the main chart is pinned, every small chart draws a dashed line at that step with a dot on each curve, and hovering one shows its values there (#3).
- Full scalar names under small charts, wrapping instead of cut off; Full names in the display row turns them off (#3).
- Timeline hover cards in reports. A Timeline snapshot in a report shows the Timeline page's hover card on each bar (name, id, status, project, start, duration, alerts) in the preview and in exported HTML, instead of a slow browser tooltip; in NuBoard, clicking a bar opens the run (#3).
-
More room for reports. A report with text opens in Preview (the view you pick is remembered). The report list and the Workspace list on the Runs page fold into a thin bar with their button or
[, remembered per browser (#3). -
Datasets as Sweeps parameters. The artifact versions each run used are parameters named
inputs.<artifact>(v1,v2), so runs can be compared by data version without copying it into the config (#14). - Readable list and dict values in Sweeps. Axis labels, scatter labels and
the Best runs table show only what differs between values (
[0]=0.08,flip, mixup,[1].dim=512), with the full value on hover and, on click, pretty-printed with a Copy button (#14). - Split a list into element axes. A list of plain values with one length
in every run can be split in the picker into
key[0],key[1], ..., kept in the URL assplit=(#14). - The demo shows them. Half of the
llm-pretrainsweep trains on the olderfineweb-edu:v1(a little worse), andvit-ablationsruns have list-valuedtransformsandcrop_scalesettings. Delete an existing demo folder to get the new data.
0.19.1¶
- Sweeps parameter picker. Parameters opens a searchable list of every differing key, grouped by prefix, with its type, number of values and correlation with the objective. Chosen keys are chips you can drag to reorder and remove with ×. Clear all and Reset to defaults are in the list.
- Better default parameters. With nothing picked, Sweeps shows up to six keys, the most correlated with the objective first, leaving out seeds, paths, id-like keys, long text and keys with many values. The last choice is remembered per project.
- Hide rules for Sweeps. A project can hide keys from the picker with a
filter such as
!seed !.path, saved in<project>/sweeps.json. -
Categories with many values keep their 11 most common values on the axis and gather the rest in (other).
-
nuboard demono longer piles up runs. Run again on a folder that already holds the demo, it opens it instead of adding 31 more runs each time, so it starts in about the same time on every run. Delete the folder for a fresh demo. -
Open selected runs in Charts and Sweeps. The Runs selection bar has Charts and Sweeps next to Media. Charts, Sweeps, Media and Timeline show a Showing N selected runs banner while limited to a selection, with buttons to the other pages (which keep it) and Show all; Clear selection also drops it from the URL (#7). A run opened for inspection (or the runs being compared) has the same Charts, Sweeps and Media buttons after its tabs.
-
Report picker. The Report field of Add to a report (every bookmark button, and Add N to report on Media) lists the project's reports as soon as it is focused, newest first, with their titles and file names. Typing narrows it by title or name with the matches highlighted, ↑/↓ and Enter pick, the last used report is highlighted (and taken when nothing is typed), and a new name is offered as New report "name". It lists the newest 50 and counts the rest, which typing reaches (#12).
- Audio in reports. Insert → Audio (or dropping an audio file on the
text box) uploads a WAV, FLAC, MP3, Ogg, M4A or WebM file, checked from its
bytes and capped at 50 MB (
--max-audio-mb), and writes[caption](files/<hash>.wav). It plays with the waveform player in the preview, is copied by the .zip export and embedded in the HTML export with the player chosen there (#12). - Report toolbar icons. Link, lists, checklist, quote, code block, rule, table, undo and redo are drawn as theme icons instead of emoji and symbols, so they follow the light and dark themes and the pressed color (#12).
-
Media item is grayed out in Insert when no run of the report's project logged media, saying so. Runs now record
media_countinrun.jsonwith each write they already make; runs from older versions are checked once for a media pack when indexed (#12). -
Reproducibility. A new guide explains what a run records, how to replay it, and what is not covered.
initnow: - removes any user, password or token from the recorded git remote URL;
- records the repository of your code:
code_dir=if given, else the running script's folder, else the working directory (git.source), with a warning when the script and the working directory are in different repositories; - records
git.pushed(whether a remote-tracking branch has the commit) andgit.untracked(how many untracked files, never their names), shown and highlighted in All settings; - keeps the commit of packages installed from git in
requirements.txt, without credentials; - records the folder and git state of packages installed from a local
folder (
pip install -e ../lib): a clean, pushed checkout becomes an installablegit+URL@commitline, uncommitted changes are saved asfiles/git-<package>.patch(#13); - never lets a repository's config run a program during capture
(
core.fsmonitoroff, diffs with--no-textconv), and skips patches over 10 MB, recordinggit.patch_bytesinstead (#13); - records what it can in a repository with no commits, on a detached
HEAD, from a deleted working directory or with broken package metadata, and never fails the run over it (#11). - Report editor: formatting toolbar and Insert menu. Buttons for bold,
italic, underline (
<u>), strikethrough, headings, lists, checklists, quotes, code, links, rules and tables write plain Markdown, with Ctrl/⌘+B, I, U, Shift+X and K, undo and redo, and show as pressed when the cursor is inside their formatting (pressing again removes it). Insert adds an Image (pick, drop or paste, with alt text and a caption), a Text file (inline as Markdown, a table or code, or attached as a collapsible block with a download link), a Table, or goes to Charts and Media. Dropping or pasting an image into the text box uploads it too (#4). - Uploads are checked and stored in the project. They go in
reports/files/, named by content hash, and are part of the .zip and HTML exports. The server checks the bytes (PNG, JPEG, GIF, WebP or a plain SVG; UTF-8 text with no NUL bytes), caps sizes at 20 MB for images and 5 MB for text (--max-image-mb,--max-text-mb), and serves report files with a fixed type,nosniffand a strict CSP; text files always download.nuboard up --read-only-reportsturns off every change to reports. - Report images from other websites are not loaded; they show as a link.
- Filter the settings of compared runs. A filter box in All settings
narrows its rows by key: plain text,
/regex/(or the .* toggle),!exclusionsand several terms at once, optionally matching values too. It works with Only changes, shows "12 of 340 keys", highlights the matches and is kept in the URL./focuses it andEscclears it (#9). - Sweeps sees every config key. A key that differs between runs gets a
parameter chip however deep it sits in a large config. Sweeps read its
parameters from the run list, which keeps only the first 64 config values of
each run, so later keys (such as
generator.config.weighted_sir_db.edge.min) were missed. It now asks the newGET /api/sweep-keys?runs=...endpoint, which returns every differing key with each run's value; the run list stays small. - The demo shows it.
speech-denoiseruns now carry a long training-mix generator config, and differ ingenerator.config.weighted_sir_db.edge.min, its 73rd value: open Sweeps on that project to see the chip.
0.19.0¶
- Download a waveform figure's audio and signals. Waveform figures
(
nb.WaveformFigure) have a Download menu next to Fit, on the Media page, in the large view, in report embeds and in exported HTML: Audio (.wav) saves the audio exactly as logged, and Data (.zip) a bundle ofaudio.wav, one float32.npyper signal and ametadata.jsonwith the sample rate, signal names, range, regions, caption, notes, run, key and step. The raw item, which no other tool could open, is no longer offered. - The report .zip export writes the same bundle for a waveform figure,
instead of a
.wavand a-signals.csvthat lost the regions and range and grew to millions of rows for long clips. nb.WaveformFigure.load(path)rebuilds a figure from a bundle; logging it again stores an identical figure.run.waveform(key, step)in the analysis API returns(audio, sample_rate, signals, meta)without downloading.- Other media downloaded from their card get a file name extension from their
type (
.png,.wav,.json, ...).
0.18.0¶
- Interactive charts in reports and exported HTML. A chart saved from the Charts page lists every series' value at the step under the pointer, best first, as the Inspector does, in the viewer and in the exported HTML file; a click pins the values. In the exported file, PR curves show the nearest threshold with its precision, recall and TP/FP/TN/FN counts on hover, and distributions the bin under the pointer for each run, as in the viewer.
- The all-runs chart in reports. The "All runs on one chart" overlay on the Media page can be added to a report, where it is drawn live from the logged items (hover, legend, Open in Media), and exported to HTML with its hover read-outs. It also downloads as a PNG with its legend.
- Timeline snapshots are SVG. A Timeline added to a report is saved as an SVG drawing, sharp at any size, with a hover title on every bar (name, id, status, start, duration, alerts) in the viewer and in exported HTML.
- Best-step mode on the Media page always shows the choice last made: an answer for an earlier choice (Lowest before Highest, another scalar, a live refresh) could arrive later and show the other end. The line under the cards now says Lowest or Highest, and notes when the nearest logged item is from a different step than the best value.
- Open the all-runs chart large. The "All runs on one chart" overlay of PR curves and distributions on the Media page has a magnifier button that opens it in the large view, as single cards do; Esc closes it. It can also be downloaded as a PNG, with its legend, or added to a report as a snapshot with an Open in Media button.
- Run ids on the Timeline. Each row shows the end of the run id after the name, so runs with the same name can be told apart, and hovering a bar shows the full id.
- The AP next to a PR curve says what it is on hover (average precision, the area under the curve), and the docs say how it is computed.
- Space plays and pauses audio in full screen. Waveform figures and the audio player toggle playback with Space while in full screen, and only there: outside full screen, while typing (such as a note) or with Ctrl, Alt, Cmd or Shift, Space does what it did before, and Esc still leaves full screen. The audio player used to take Space whenever it had focus; it no longer does outside full screen.
- Artifacts with many files stay fast in the viewer. The Artifacts page no longer loads every version's file list: each version comes with its file count and size, and its files load 1,000 at a time when you open it, with Show more and a path filter. Before, one version with a million files slowed the whole page. The New version form warns from 10,000 files and suggests referencing shards or an index file instead.
- New:
nuboard artifact unlinkandnuboard artifact restore. They unlink a version (or with--all, every version) and restore one, as the viewer does: nothing is deleted.nuboard artifact ls --unlinkedlists unlinked versions too. - Docs: Recommendations for registering data: shards over millions of files, when to hash, versions as snapshots. The guide no longer says references are checked by modification time: they are checked by size.
- New:
init(gpus=...)picks the GPUs that system metrics track, by the device names your script uses:gpus="cuda:0", a list such as["cuda:0", "cuda:1"], atorch.device,"mps"or"all". A name that cannot be tracked raisesValueError. See Choosing GPUs. - Changed: GPU metrics respect
CUDA_VISIBLE_DEVICES. Only the GPUs the process can use are tracked, named by the index the script sees, so withCUDA_VISIBLE_DEVICES=2the machine's third GPU logs assystem/gpu0/.... Without the variable nothing changes.run.json'senv.gpuslists the same GPUs, now withdevice,indexanduuid. - Breaking:
all_ranksis removed frominit,add_scalarandadd_text. In distributed training only rank 0 logs, and the calls are no-ops on other ranks. The viewer only plots rank 0, so values from other ranks could not be seen anyway. System metrics are still sampled by local rank 0 of each machine. Drop the argument from your calls; runs logged before keep their per-rank files and still load.
0.17.1¶
- Fixed: a pinned point now follows the chart when you zoom or pan. In Charts, the dots of a pinned point kept their place on screen while the axes changed under them, and disappeared once the data for the new range loaded. They now stay on the points they mark.
0.17.0¶
- Breaking:
init(name=...)is nowinit(run_name=...), so it reads as the pair it forms withrun_id.run_nameis a free label shown in the viewer; it is no longer sanitized, since it is not part of any path. - New run ids. The default
run_idis<YYYYMMDDTHHMM>-<hash>, such as20261001T1833-48ad8bb2: a local timestamp plus 8 random hex digits, redrawn if the folder already exists. The run name is no longer part of the id. You can still pass your ownrun_id; existing runs keep their ids. TensorBoard imports use the same shape, with a hash of the source folder. - Charts: a Ranges switch hides the shaded bands (group mean ± std or min–max, logged low/high bounds, rank ranges) when they clutter the chart. It is saved with charts added to reports. Smooth and the display switches moved to their own row under the grouping and x-axis controls.
- Charts: Ctrl/⌘ + mouse wheel (or a trackpad pinch) zooms the focus chart around the cursor, also past the ends of the data, with y fitted to the view; Alt + wheel zooms both axes; Shift + drag pans in any direction and Shift + wheel along x. The view stays put while finer data for it loads, and the data comes with a margin on each side so smoothing does not restart at the edge. Dragging still zooms to a range and double-click still resets.
- Charts: the inspector's latest values leave out hidden series, and take the last value in the zoomed range.
- Timeline: Day / Week / Month / Year / All windows with ‹ › to step through time, Ctrl/⌘ + wheel zoom around the cursor, Shift + wheel or Shift + drag to move, and month and year ticks on long ranges.
- Calmer live updates. Charts redraw new points only while you are not zoomed, pinned or hovering, with a Live switch and a New data · Update button otherwise. That button and Reset zoom sit in the chart's fixed-height header, a slow fetch shows a small spinner instead of swapping text, and metric tabs stay on one row, so nothing moves when data arrives. Runs table rows hold still under the pointer. Media, Sweeps, Timeline, Artifacts and Reports no longer change under you: a New results · Refresh button appears instead, and heartbeat-only changes are ignored.
- Audio players label the waveform's amplitude (±1 full scale, per channel), with an Amplitude axis switch on the Media page.
- Waveform figures (signals and region lanes, such as VAD) get a full screen button like the audio player's, in Media and in exported reports.
- Run details follow the run's status, duration and summary live, so a run that finishes shows Finished there too.
- Tables: a highlighted row no longer gets a rounded corner when it is the last row; table frames have square corners.
- Updated the screenshots in the docs.
- Waveform figures.
run.add_figure(key, nb.WaveformFigure(audio, sample_rate, signals))logs audio with signals over its waveform, one value per sample, such as a voice activity probability or a gain mask. The viewer draws it as a plot that is accurate at every zoom (M4 decimation: the first, smallest, largest and last sample of each pixel column, recomputed as you zoom), fast on files an hour long, down to single samples. Hovering shows the exact values at a sample; the clip plays from where you click. It is listed under Figures;add_audioand its spectrogram player are unchanged.regions=adds labelled tracks from training (a list of segments, a class per frame, or multi-hot frames for classes that overlap), drawn in lanes under the plot. Dragging selects a section to loop, zoom to or note; notes are kept apart from the logged regions, in the run'sannotations.json. In a report, an HTML export looks and works the same, offline, with its audio, regions and notes, and a .zip export writes its audio as a WAV and its signals as a CSV. Seeadd_figure. - The demo's
speech-denoiseruns logvad/enhanced, a waveform figure of the enhanced output with a speech probability and target, predicted and overlapping event tracks, with notes on the first one's false alarms; its listening report embeds one.
0.16.0¶
- Jobs. A second process can log into a running run with
nb.init(..., run_id=ID, job="eval"), for example an evaluator that scores checkpoints while training goes on. Its scalars share the run's step axis, and it never changes the run's status, heartbeat or summary: its own state goes injobs/<job>.json, its console infiles/output.<job>.logand its system metrics undersystem/<job>/. The viewer shows each job as a chip next to the run. A job can only join an existing run, the same job cannot run twice at once, and logging a name the main job also logs gives a warning. The last job to end compacts the run. See Evaluating while training, which includes a checkpoint queue recipe. Runs without jobs are unchanged, and older versions still read new runs (without the jobs). - Storage. A disk button in the left rail shows how much space runs, artifacts and other files take, per project and per run. The Artifacts page has the same button for artifact versions. It is measured only when you press Measure or Refresh, pauses after 10 s on large folders to ask before going on, and counts only what is stored in the folder: a referenced artifact counts its manifest, with the size it points to shown apart.
- Sweeps: the scatter plots under the parallel-coordinates chart no longer scale their axis labels with the plot width; text keeps the same size with one column or four.
- The demo's
convtasnetrun has anevaljob that loggedeval/dnsmos.
0.15.8¶
- Access token off localhost.
nuboard up --hostwith an address other than127.0.0.1now protects the whole viewer with a token, like Jupyter: it prints a link with a random token, and opening it signs the browser in. Without the token, pages show a sign-in form and API calls get a 401.--token VALUEorNUBOARD_TOKENsets a fixed token and--no-tokenturns it off. Scripts sendAuthorization: token VALUE. On127.0.0.1nothing changes. If you already serve on0.0.0.0, open the printed link once, or pass--no-tokento keep the old behavior. - Changes sent from a page of another website through your browser are refused, with or without a token.
- Adding artifact versions in the viewer. Started with
--edit-artifacts, the Artifacts page has New version: a form that adds a version by reference to a file or folder (absolute,~,$VARor relative to the served folder), checks the path as you type, and shows a review step before adding. Nothing is copied or uploaded. - Unlinking. With
--edit-artifacts, Unlink version moves a version toartifacts/.unlinked/after a confirmation, without deleting any file. Show unlinked lists them, and Restore puts one back. Runs show such a version as "(unlinked)", and version numbers are never reused. - Without
--edit-artifacts, artifacts are read-only in the viewer, as before.
0.15.7¶
- New
run.add_scalar_baseline(key, value, *, low=None, high=None)sets a reference value for a scalar, such as the score of the unprocessed input:run.add_scalar_baseline("val/pesq", 1.31). It is linked to the scalar by name, saved inrun.jsonright away, and replaced by calling it again; a dict sets several at once. - Charts draw it as a dashed horizontal line, with a light band for
lowandhigh. Runs with the same baseline share one gray line; a baseline only one run has is dashed in its color. Hiding or highlighting a run does the same to its baseline, grouped charts use each group's mean baseline, and the y-axis keeps baselines in view. The inspector lists each baseline and its runs. - A Baseline switch next to Points turns them off. It shows only when a run has a baseline, so other charts look as before. Charts saved to reports and exported to HTML keep the setting.
- The demo's
speech-denoiseruns have PESQ and SI-SDR baselines.
0.15.6¶
add_scalartakes optionallowandhigh, a range around the value such as mean ± std over an epoch:run.add_scalar("val/loss", mean, step=epoch, low=mean - std, high=mean + std). Charts shade the range around each run's line, and the inspector shows it after the value. Scalars logged without them work exactly as before. When runs are grouped (for example several seeds), the band shows the spread across runs as before.- The demo's
llm-pretrainruns logeval/losswith a range.
0.15.5¶
- Console logs show their colors. Color codes (the 16 terminal colors, 256-color and true color, bold, dim, italic, underline, inverse) are drawn instead of removed, with terminal colors that suit the light and dark themes. Raw shows the text as stored. The log file is unchanged.
- In the Files tab and pinned tabs, any text file with color codes or
progress bars (such as
output.logor your own.logfiles) is drawn the same way instead of showing the codes, and two runs' logs are diffed by their visible text, so a change of color alone is not a difference.
0.15.4¶
- Labels start with a capital letter everywhere in the viewer: toggles,
buttons and menus (Best / Last, Show archived, No grouping,
Wall time, Ignore outliers, Log y, Pick step, Waveform,
One row per run, Packed, ...), hints, tooltips and run statuses
(Finished, Running, Crashed). Only the first word is
capitalized. Names that come from your data (scalars, config keys, run
names, tags, captions) are shown as written, and queries still use
lowercase statuses (
status = "finished").
0.15.3¶
- Files tab: the tree is on top, full width, about 12 rows tall with its own
scroll bar and a corner to drag it taller; the preview and diffs use the
full width below it. Long names lose their middle rather than their end,
and the full path shows on hover.
files/starts open, other folders folded. - The row of tabs no longer has a tab for every file in
files/; Console stays. Instead, any file can be pinned as a tab, by path or by a pattern such ascheckpoints/*/best_*.pth, which picks each run's own match (newest first) so differently named files are compared side by side. Pins are shared by everyone through<project>/pins.json.
0.15.2¶
- Run details and Compare have a Files tab that lists every file in the run folder as a tree, with the number of files and their size per folder. NuBoard's own data files are hidden unless asked for. Text files (logs, YAML, JSON, CSV, patches, code) are shown, up to their first 2 MB, and diffed side by side between two runs; images are shown; every file can be downloaded.
- Checkpoints (
.pt,.pth,.ckpt,.bin,.safetensors,.npy,.npz) list their keys as a tree with each tensor's shape, dtype and size, plus the total parameter count. Between runs the keys are diffed (added, removed, changed shape or dtype). PyTorch is not needed, and no code in a checkpoint ever runs: the pickle is read with every class replaced by an inert placeholder. A malformed, cut-off or hostile file shows what could be read and why the rest could not, and never stops the viewer. - Compare: the All settings table has the same borders as the other tables. Changed rows were picking up the file diff's styles.
0.15.1¶
- Ctrl+C stops
nuboard upat once, even with a viewer tab open. Before, the open live-update connection kept the server waiting forever. - The run table never cuts values off: every column is as wide as its widest value, and a table wider than the window scrolls sideways. All config keys that differ between runs are shown, not only the first eight. Notes are the one column still capped; their full text is in the notes editor.
- The Columns menu has a search box, so a column is easy to find among many scalars and config keys.
- Charts: the big chart has an All N picker that searches every scalar,
so any of them can be brought into focus. With more than 12 series, the
legend shows the first 10 and a "+N more" button, plus a filter that
matches run names and config values (
lr=3e-4,layers=24); Only these hides every series that does not match. - Charts: scalar sections fold like Media sections, with Expand all and Collapse all. With more than six sections only the first three start open; what you open or close is remembered.
0.15.0¶
nuboard artifact addadds an artifact version from the command line. Give every value as a flag, or run it in a terminal and it asks for what is missing, one field at a time. Each answer is checked as you enter it (the project and name, that the path exists and holds files, the store, the type, a non-empty description),<goes back a field, metadata can be added, edited and deleted with its type shown, and nothing is written until you confirm the review. Without a terminal or with--no-inputit never asks; every invalid or missing flag is reported at once.--dry-runchecks without writing.nuboard artifact lslists artifact versions, andnuboard artifact showprints one and checks its files.- Artifact versions have a
description(add_artifact(..., description=)), and the manifest records who created each one (created_by: user, host and command). The Artifacts page shows both.
0.14.1¶
- A leading
~is expanded in artifact paths and inNUBOARD_DATA_DIR, sonb.add_artifact("datasets", "fineweb-edu", "~/data/fineweb-edu", reference=True)works as written.
0.14.0¶
- Reference artifacts:
add_artifact(..., reference=True)records where a file or folder is, with each file's size and modification time, and copies nothing, for datasets that live on shared storage.checksum=Truealso hashes every file.use_artifactwarns when a version's files are missing or changed in size since it was made, andArtifact.verify()lists them. - References work across machines: a path inside
$NUBOARD_DATA_DIR, or one written with any environment variable ("${IMAGENET}/train"), is stored with the variable and expanded where the artifact is used, so one version points at the laptop's copy on the laptop and the cluster's on the cluster. - Artifacts across projects:
run.use_artifact("datasets/fineweb-edu:v2")uses an artifact of thedatasetsproject from a run in any other project, andrun.add_artifact("datasets/fineweb-edu", ...)adds one there. The run'sinputsandoutputsrecord the other project (project,project_path). An artifact name can no longer contain/. nb.add_artifact(project, name, path, ...)adds a version without a run, such as a dataset no script produced, andnb.get_artifact(ref)finds one without recording it, such as in a notebook.- Artifacts page: projects that hold only artifacts are listed, a project's
list includes the artifacts its runs used from other projects, references
show where their files are, and the
use_artifactline names the project. Run details show another project's artifact asproject/name:vN. - The demo keeps its datasets in
shared-data/, registered as references in adatasetsproject thatllm-pretrainandvit-ablationsuse. - The Artifacts guide now explains how to organize datasets, checkpoints and projects.
0.13.3¶
- Fixes
NotADirectoryError: ... runs/.DS_Store/run.jsonon macOS: a file where a run, project or artifact folder is expected, such as the.DS_Storethat Finder leaves in folders it has shown, is now skipped. This brokenuboard demoon a folder that already had demo runs, and listing artifacts with a stray file inartifacts/.
0.13.2¶
- Fixes
pnpm installinfrontend/, which failed with "No matching version found for eslint@^10.13.1": the 0.13.0 version bump had also changed eslint's version range inpackage.json. It is back to^10.12.0, as in the lockfile, and a test now checks thatpackage.jsonandpnpm-lock.yamlagree and that every version string matches.
0.13.1¶
- Saved views can be deleted from the Runs page: hover a view in the
workspace list and click ×, then confirm. The view's file in
<project>/views/is removed; runs, collections and reports are not touched. The × of views and collections also shows when the row has keyboard focus.
0.13.0¶
- Breaking:
run.logis removed;run.add_scalaris the one way to log scalars. Replacerun.log(data, step=s)withrun.add_scalar(data, step=s), which takes the same dict and keyword arguments. The docs, examples, tests and benchmarks useadd_scalarthroughout.
0.12.0¶
Logging
run.add_scalarlogs scalars, named as in TensorBoard:run.add_scalar("train/loss", 0.42, step=10)logs one, andrun.add_scalar({"train/loss": 0.42, "train/lr": 3e-4}, step=10)several, which covers TensorBoard'sadd_scalarstoo.run.logkeeps working as the same call (removed in 0.13.0).run.add_videologs clips from(T, H, W, C),(T, C, H, W)or(N, T, C, H, W)arrays and tensors, encoded as looping animated PNGs with no ffmpeg needed, or MP4, WebM, MOV, Ogg and GIF files as they are. The Media page has a Video kind with a frame player, and theppo-ataridemo logs rollout videos.- System scalars:
nb.initsamples CPU, memory and GPU use every 30 seconds intosystem/scalars, fromLOCAL_RANK0 of each machine. GPUs are read withnvidia-smi, and PyTorch's CUDA and MPS allocators are read when the script has imported torch. Turn it off withsystem_metrics=False, pick groups withsystem_metrics=["cpu", "memory", "gpu"], and change the rate withsystem_interval. - Console capture: what the script prints to stdout and stderr, including
the traceback of a crash, is also written to
files/output.logand shown as Console in the run details. Turn it off withcapture_console=False. - PyTorch tensors passed to
add_image,add_audio,add_histogram,add_point_cloudandadd_videoare copied to NumPy before the call returns, so changing the tensor in place afterwards no longer changes what is logged.bfloat16tensors work.
Naming
- Docs, labels and the Python API say "scalar" instead of "metric", as
TensorBoard does: All scalars, X axis scalar, best scalar.
RunReader.scalar_namesreplacesmetric_names, which stays as an alias. - Breaking:
RunHandle.scalars()andProject.scalars()in the analysis API name their first columnkeyinstead ofmetric. - The file format is unchanged, and so are saved views, report charts and query syntax.
Docs
- The Python API section has a page per method, all listed in the menu,
including
add_videoand the newnb.initoptions.
0.11.0¶
Runs table
- Tags can be edited in the viewer. In a run's details, the tag button under
its name removes a tag with × and adds one by typing, with the project's
tags suggested. Tags… in the selection bar adds and removes tags on
every selected run, keeping each run's other tags. Once edited, a run's tags
replace the ones it logged, so those can be removed too;
run.jsonkeeps the logged ones. - Custom fields and properties are now one thing, properties. Set field… is now Set property…: it picks a property, then its value with a control that fits its type (buttons for a choice or yes/no, pills for tags, a date picker), and a new name is defined with its type first. Columns lists every property of the listed projects under Properties, marks values without a definition as untyped, and New property… defines one and shows it as a column. In a run's Properties tab, untyped · define gives such a value a type. The stored format is unchanged.
Docs
- A Python API section describes every call, in the style of PyTorch's
SummaryWriterreference: its signature, parameters, the shapes and dtypes it accepts, what it stores and how big, what the viewer shows, a complete example and a picture of the result. It ends with a table mapping eachSummaryWritermethod to NuBoard. - Get started walks through training a small NumPy network on a spiral
with three learning rates, logging scalars, images, PR curves,
distributions, a point cloud and a table, then reading them in the viewer.
The script is
examples/get_started.py. - The examples in the API pages run as tests, so they stay correct.
0.10.2¶
- The Columns menu of the runs table floats above the page, so a table with only a few runs no longer cuts it off.
0.10.1¶
- HTML export draws audio with the viewer's waveform and spectrogram player, embedded once in the file and working offline, with notes on its lane and the page's light or dark theme. When a report has audio, the export dialog offers Audio player: Waveform (default) or Simple, the browser's own player as before.
0.10.0¶
Media
- Distributions:
run.add_histogram(key, values)stores bin counts and the values' min, max, mean and standard deviation, as TensorBoard's histograms do. They show with the figures: each card draws the chosen step filled with the step before it dashed, hovering shows a bin's share, and over steps shows the median and 68%, 86% and 100% bands across training. A chart above the cards overlays every run. They export to HTML, and thevit-ablationsdemo logs weight, gradient and logit-margin distributions. nuboard import-tensorboardimports histograms (TF1, TF2, PyTorch and tensorboardX), re-binned into 50 even bins.- Point clouds: an axes button draws x, y and z axes with round values.
add_point_cloud(..., axes=True)shows them from the start, and three names label them, as the demo's embeddings do.
0.9.1¶
- The run details panel (click a run name) shows the run's tags under its name, and updates when they are edited.
- Roadmap: dropped the finished TensorBoard import item and the old Runs table item (TanStack Virtual, Bits UI).
0.9.0¶
Media
- Tables:
run.add_table(key, rows)logs per-example results, with audio and image cells (nb.Audio,nb.Image). The viewer compares each cell with the same row at the previous or first step, tinted green or orange with the change next to it, and rows glide to their new place as the step slider moves. Tables sort, filter (snr_in < 0 and noise = babble), show a trend per row and open a row's history and media. They export to HTML, andRunHandle.table()reads them back. Thespeech-denoisedemo logs a table of 40 test files per eval, and its newlistening-notesreport shows it with audio notes. - PR curves:
run.add_pr_curve(key, labels, predictions)counts true and false positives at evenly spaced thresholds, as TensorBoard does, and stores only the counts. Each run's curve shows with the figures, all runs are overlaid on one chart above them, and hovering shows the threshold and counts.nuboard import-tensorboardimports TensorBoard's PR curves, and thevit-ablationsdemo logs three of them. - Point clouds:
run.add_point_cloud(key, points, colors=...)logs an(N, 3)cloud (lidar scans, mesh samples, 3D projections of embeddings). The Media page draws it in a view you can rotate, pan and zoom, colored by the logged colors or by height, with a step slider per run. It works in reports and in HTML exports. Thevit-ablationsdemo logs eval embeddings that separate into classes over training. - Audio notes: select a section in the waveform player and add a note. Notes
can be edited and deleted, are kept in the run's
annotations.json, show in reports, and are listed under the clip in HTML exports, where clicking one plays its section.Run.audio_notesreads them from Python.
0.8.3¶
Runs
- Property values must fit their type: a choice is picked from a menu, tags
are toggled as colored pills, numbers, dates and links are checked, and the
server and
Run.set_fieldrefuse values that do not fit. New options are added on purpose (New option…, + option) instead of by typing. - Removing a property removes its definition and its values; properties set without a definition can be removed too.
- Run tags are colored pills under the run name instead of sitting in the config column.
Media
- The key filter shows how many keys match and says so when none do.
Charts
- Filter metrics (regex) above All metrics.
- Points: a dot on each curve at the logged point under the cursor.
- "robust y" is now ignore outliers, with a tooltip explaining it.
Other
- About at the bottom of the side bar: version, copyright, license and a link to the documentation.
0.8.2¶
- Exported reports show the NuBoard logo only as the browser tab icon; the default footer names NuBoard and its version instead.
- The docs say NuBoard for the app and
nuboardfor the package, command and import.
0.8.1¶
Reports
- Export as HTML asks for a theme (light, dark, or switchable with a button that follows the reader's system theme), the footer text (by default "Exported with NuBoard …") and whether to show the NuBoard logo in the footer and as the tab icon.
- Charts saved from the Charts page are drawn live in the exported file from their data, so they follow its theme instead of showing a snapshot taken in another theme.
Runs
- Add property picks the type from a menu instead of a text box.
0.8.0¶
Reports
- Export as HTML: one self-contained file that opens offline, with images, audio and snapshots inlined, logged text and HTML included, and interactive Plotly and Vega-Lite figures whose libraries are embedded in the file (no CDN).
- Sweeps and Timeline plots can be added to reports as snapshots, with an Open in Sweeps / Open in Timeline button that restores the view.
Sweeps
- Grid for the scatter plots: plots per row and rows per page, with a pager.
- Full screen for the parallel coordinates; a bookmark button adds it, or any scatter, to a report.
Timeline
- Full screen, and a bookmark button that adds the timeline to a report.
Media
- Select for report: tick several cards and add their items to a report in one go.
- A chip per run with All and None, as in the Charts legend: click to hide a run, double-click or Alt-click to show only that run.
- Logged HTML has output / code: the rendered page or its source with line numbers.
Other
- The browser tab and the header say NuBoard.
- Run details tabs are capitalized: Notes, Properties, All settings.
- Fixes: embeds of the previous report no longer flash when switching reports.
0.7.0¶
Media page
- Kind chips show or hide images, audio, figures, HTML and text (double-click one to show only that kind), and a regex filter narrows the keys.
- Each key is a collapsible section with a card per run, and each card has its own step slider, as in TensorBoard. by run turns it around: a section per run with a card per key.
- Step: latest, one step for every card, or best metric, which moves each run to its best step for a metric you pick (lowest or highest).
- Grid: columns per row (fit, 1 to 8) and rows per page (1 to 6, or all), with a pager per section. Up to 48 runs.
- Each item can be opened large, downloaded or added to a report.
- The demo's
vit-ablationsproject has more metrics (one per class), typed properties, a Markdown note and a sample report with images, a figure and a chart.
Reports
- New Reports page: Markdown reports in
<project>/reports/<name>.md, with a split editor and preview, autosave, rename, delete, print and Export .zip (the Markdown plus the embedded files). embeds a logged image, audio clip, figure, HTML page or text. The Media page writes these lines for you.
Charts page
- Grid for the small charts: charts per row (fit, 1 to 6) and rows per section (1 to 6, or all), with a pager per section.
- Full screen for the focused chart and its inspector.
- Add to a report: saves the focused chart as shown (runs, grouping, smoothing, zoom, hidden series). Reports draw it live and keep a PNG snapshot for exports and other Markdown viewers.
Notes and properties
- Run notes are Markdown, edited with a preview in the run's Notes tab, and can embed logged items.
- Typed properties (text, number, choice, tags, bool, date, link), defined per
project in
fields.jsonand set in the run's Properties tab. They are custom fields, so they show up as columns and in queries.
Config files
- NuBoard no longer writes
files/config.json.run.add_file(path)copies any file or folder (YAML, TOML, Hydra outputs, ...) into the run'sfiles/, where the viewer shows and diffs it. The config passed toinitis still inrun.json.
Fixes
- Charts kept their first width: a chart drawn before its container was laid out (or after a window resize) did not fill it.
- Two runs with the same name no longer break the Charts page; their series are labelled with the run id's suffix.
- Long run, metric and key names no longer overflow the Charts inspector, the summary cards (Best, Running, ...) and other panels; they are cut with an ellipsis and shown in full on hover.
0.6.0¶
TensorBoard import
nuboard import-tensorboard LOGDIRimports TensorBoard logs as runs: every folder ofevents.out.tfevents.*files underLOGDIRbecomes a run, named after its path, with its parent path as the group. Scalars, images, audio, text and HParams hyperparameters (stored as the run's config) are imported with their original steps and wall times. Histograms, graphs and other plugins are skipped and counted. Logs from TensorFlow 1 and 2, PyTorch'sSummaryWriterand tensorboardX are supported, and importing the same folder again skips the runs already imported.- The event files are decoded with the standard library, so the importer needs neither TensorFlow nor TensorBoard, and adds no dependency.
- From Python:
nuboard.tensorboard.import_logdir(logdir, project, dir=..., tags=...). add_text,add_image,add_audio,add_figureandadd_htmltake a keyword-onlytime=timestamp, likerun.log.
Fixes
- Queries can use the
groupfield (where group = "fit/run1",group by group); before,groupwas only read as the start ofgroup by.
0.5.0¶
Breaking: media methods are now add_*
run.log_text,log_image,log_audio,log_figure,log_htmlandlog_artifactare renamed toadd_text,add_image,add_audio,add_figure,add_htmlandadd_artifact, with the same arguments.run.log({...})for scalars keeps its name. The on-disk format does not change, so runs logged with older versions open as before.
Code style
- Google-style docstrings throughout the package, checked by ruff's
pydocstylerules. Inline code in docstrings uses single backticks. - A blank line separates every
if,for,while,with,tryandmatchblock from the statements around it.scripts/blank_lines.pyapplies the rule and a test checks it.
License
- NuBoard is released under the MIT License (
LICENSE, linked from the README and the docs).
0.4.3¶
- Charts: All and None buttons next to the legend, and double-click (or Alt-click) on a legend chip to solo that series.
- Save current view, Set field…, Add to collection and deleting a collection now ask in a dialog that follows the NuBoard theme instead of the browser's own prompt.
0.4.2¶
- Custom fields are easier to find and edit: the + in Columns is disabled until a name is typed (before, it silently did nothing), adding a field closes the menu to show the new column, and the menu explains how to edit cells.
- Set field… in the selection bar sets one field on all selected runs.
RunHandle.set_field(name, value)writes a custom field from Python.
0.4.1¶
- Spectrogram options for the waveform player on the Media page: colormap (theme, viridis, magma, gray), frequency scale (linear, log, mel), FFT window (256 to 4096) and a switch to hide the spectrogram. They are remembered per browser and kept in the URL.
0.4.0¶
Audio
run.log_audio(key, audio, step, sample_rate=..., caption=...)logs a file path (WAV, FLAC, MP3, Ogg/Opus, M4A, WebM), encoded bytes, or a NumPy/torch array. Arrays are written as 16-bit WAV with the standard library; sample rate, channels and duration are stored with each clip.- The Media page plays audio with a waveform player (waveform and spectrogram, zoom, minimap, selection and loop, speed, full screen; the players of a key follow each other and only one plays at a time), ported from audioviewer and built on wavesurfer.js, or with the browser's simple player.
- Audio is served with HTTP Range support, so players can seek in long clips.
- The demo has a fourth project,
speech-denoise: three models whose enhanced output gets cleaner over epochs, next to the noisy input and the clean target.
API
- The documented import is now
import nuboard as nb(it wasnm). Nothing in the package changes; only the examples, docs and tests use the new alias.
0.3.1¶
- Compare takes up to eight runs (it was limited to two). All settings shows a column per run and highlights rows where any run differs; file tabs diff any two of the compared runs.
- The run details and compare panel now open above the runs table and scroll into view, instead of appearing below a long table where they were easy to miss.
0.3.0¶
Charts
- X axis by any metric: plot every chart against another metric, such as
train/tokensorepoch, from the new x by metric menu (x=metric:<name>in the URL). Points are matched by step, with the x metric interpolated where it was logged at other steps. Zoom maps back to a step range when the x metric only grows, so finer data still loads on zoom.
Media
- Interactive figures: Plotly, Vega-Lite (Altair) and Bokeh figures render
interactively on the Media page, each in a sandboxed iframe that follows the
theme. Plotly and Vega are bundled and load on demand; Bokeh loads BokehJS
for the figure's exact version from
cdn.bokeh.org. log_figureaccepts Plotly figure dicts ({"data": [...], "layout": ...}) without Plotly installed.
Other
- The demo logs a Vega-Lite per-class accuracy chart and a Plotly confusion matrix in the ViT ablations.
- Built assets are served with
Access-Control-Allow-Origin: *so the sandboxed figure frame can load them.
0.2.0¶
New pages
- Sweeps: parallel coordinates over the parameters that vary between runs, with brushing on every axis, log axes for wide numeric ranges, a scatter per parameter, a best-runs table and a rank correlation per parameter.
- Timeline: every run as a bar over wall-clock time, one row per run or packed to show concurrency, colored by status, project or group, with crash, alert and artifact markers and drag-to-zoom.
- Artifacts: every artifact version with files, hashes and metadata, the runs that produced and used it, and a lineage graph.
Runs table
- Health alert badges next to run names.
- Columns menu: add any metric, config key or custom field as a column.
- Editable custom fields, stored in
annotations.jsonand usable in queries (verdict = keep) and as sweep parameters. - Collections: named sets of runs in
<project>/collections/, listed in the workspace and queryable withcollections has "name".
Health alerts
- Non-finite values, loss and gradient spikes, and throughput drops are
detected per metric and rank, stored in
run.jsonat compaction and computed live for running runs. They appear in the runs table, under charts (with shaded regions) and on the timeline, and throughRunHandle.alerts(). - Crashed and killed runs are now compacted too, so their alerts are stored.
Other
- New API endpoints:
/api/alerts,/api/collections;/api/artifactsnow returns producers, consumers and sizes. - Query fields
alerts,collectionsandfields.<name>. - The demo gained a loss spike, an evaluation run that uses the checkpoint and writes a report artifact, two collections and custom fields.
- The frontend approves its build scripts in
pnpm-workspace.yaml, which pnpm 10 and 11 read (pnpm 11 ignores thepnpmfield inpackage.json). - The documentation was reorganized into Installation, Quickstart, Guides and Reference.
The file format stays at version 1: all changes add keys or files, which older readers ignore.
0.1.0¶
First version: the log format, Python API, reader, Parquet compaction, analysis API, SQLite catalog, query language, and the viewer's Runs, Charts and Media pages.