Skip to main content

Logging

Histogram logging lets you track how distributions of values (such as weight distributions, activation values, or gradient norms) change over training steps. To log a histogram, instantiate the pluto.Histogram class and pass it to pluto.log:

Examples

Logging Weight Distributions

Logging Gradient Distributions

Viewing

Histograms render in the Distributions widget, which also hosts categorical bar charts. To add one to a dashboard, open Add Widget, choose the Distributions tab, and search for your histogram log name (e.g. distributions/weights). Adding a Distributions widget from the Add Widget modal

View modes

Each widget renders in one of three modes. Step β€” a bar chart of the current step’s frequencies. Use the step slider below the widget to scrub through training; when several widgets share a section, their sliders can be linked via the lock icon so they move together. Histogram in Step mode β€” the distribution at a single step Ridgeline β€” one density curve (joyplot) per step, stacked so you can watch the distribution evolve over training. Histogram in Ridgeline mode β€” one density curve per step Heatmap β€” a density grid with frequency as color, the numeric bin on the X axis and step on the Y axis. Histogram in Heatmap mode β€” frequency as color

Steps on X

In Ridgeline and Heatmap modes, a Steps on X toggle in the settings popover transposes the chart so steps run along the X axis. Ridgeline with Steps on X The same transpose applies in Heatmap mode: Heatmap with Steps on X

Settings

Open the settings popover (the sliders icon, shown on hover) to adjust:
  • X min / X max β€” pin the X axis to manual bounds instead of the per-run Auto range.
  • Y max β€” manual Y bound (Step mode only).
  • Ignore outliers β€” clamp the axis and frequency scale so one extreme step doesn’t flatten the rest (on by default).