Skip to main content

Runlytics

A fast, lazy, modern experiment dashboard with a drop-in SummaryWriter. Pure standard library; numpy, Pillow and matplotlib are optional.

pip install .                 # or: pip install ".[fast]"  /  ".[media]"
python examples/demo.py
runlytics --logdir demo_runs  # http://localhost:6006
from runlytics import SummaryWriter

with SummaryWriter("runs/exp1") as w:
    w.add_scalar("loss/train", 0.5, step,
                 description="Cross-entropy on the training batch. Lower is better.")
    w.add_histogram("weights/fc1", tensor, step)

The "i" button

Every chart has an i button. Pass description="..." (Markdown allowed) to any add_* call and that text is shown there, so nobody has to open the code to learn what a chart means. Charts without a description show a generic explanation of the chart type.

Features

Scalars, custom scalars, histograms, images, graphs, text, audio, video, embeddings, PR curves, HParams and mesh views, with smoothing, log axes, outlier clipping, zoom, CSV/PNG export, relative and wall-time axes and live reload.

Why it is fast

  • Lazy: startup only lists and stats events.out.* file names; a run is parsed only when selected.
  • Incremental: live runs are tailed by byte offset; partial trailing records are handled.
  • Bounded: LRU memory budget (--max_memory_mb), compact array storage, per-generation result caches.
  • Lean transfer: LTTB downsampling, gzip + ETag, one request per tag for all runs.
  • UI: charts are built only when scrolled into view; virtualized run list; no frameworks.
  • Writer: async queue; CRC and I/O happen off your training thread.

Running as a background service

Runlytics does no work while nobody is looking: after --idle_scan_secs (default 60) without a request it stops rescanning directories, and after --idle_release_secs (default 300) it frees every parsed run and cache. The next browser request resumes transparently. Event files that are not selected are never opened.

Existing event files written by other tools are read as-is (any events.out.* file), so old logs open directly.

CLI

--logdir, --logdir_spec name:path,..., --host, --bind_all, --port, --reload_interval, --path_prefix, --purge_orphaned_data, --samples_per_plugin scalars=1500,histograms=50, --max_memory_mb, --idle_scan_secs, --idle_release_secs, --window_title, --open.

Layout

runlytics/
  core/       binary format: CRC, records, wire, tensors, events
  charting/   line (LTTB), histogram, image, audio builders
  store/      lazy scanner, incremental run parser, cached queries
  server/     HTTP app, handler, routes/
  writer/     SummaryWriter, async file writer, mixins
  cli/        argument parsing and entry point
  utils/      small helpers
  web/        dependency-free UI (css/, js/)

See CONTRIBUTING.md, CHANGELOG.md, and TODO.md.

Log directory

--logdir is resolved from the directory you start runlytics in: relative paths are tried relative to it first, then as written. Omit --logdir (or pass it without a value) to use the current directory.

Development

runlytics --dev ... is meant for working on the dashboard itself: bundled web files are re-read from disk on every request (edit, then refresh; no restart) and each request is logged to stderr. It is intentionally not listed in --help.

Metadata

Release files for runlytics 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for runlytics 0.1.1
File Size Uploaded Provenance Actions
runlytics-0.1.1.tar.gz 72.1 kB Without provenance Details for runlytics-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for runlytics 0.1.1
File Interpreter ABI Platform Actions
runlytics-0.1.1-py3-none-any.whl Python 3 none any Details for runlytics-0.1.1-py3-none-any.whl

Total release size: 158.8 kB

Release files / runlytics-0.1.1.tar.gz

Download URL runlytics-0.1.1.tar.gz
Size 72.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ed320de95bedefe6bbb29b78b7c7ef2ee365dbc402327ee47818115bb3759f36
BLAKE2b-256 checksum
How to use checksums
68482bab46300ca6af215d700fa718e7ed49e485b9e9f16f82d8eab5816c163b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / runlytics-0.1.1-py3-none-any.whl

Download URL runlytics-0.1.1-py3-none-any.whl
Size 86.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ba509f01f299437d3dbde2f5fe462419171044a1a9cea5b59a6d913dfea3fc4
BLAKE2b-256 checksum
How to use checksums
5362c5ef1b9d102b697bed07b1c26fb2d6a37f79b6942a11011124efc1ac40fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for runlytics 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page