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 thepluto.Histogram class and pass it to pluto.log:
| Parameter | Type | Description |
|---|---|---|
data | Union[list, np.ndarray, torch.Tensor] | The values to build the histogram from. |
bins | int | Number of bins for the histogram. Defaults to 64. |
Examples
Logging Weight Distributions
Logging Gradient Distributions
Viewing
Histograms appear as cards alongside your other metrics. Each histogram widget displays the distribution at a given training step.