Runs and Comparison¶
This pillar covers how Caliper keeps the history of runs on the machine and compares them, from the metrics and artifacts stores that exist today to a run database, a history browser and side-by-side views of several runs.
The roadmap graph shows how these features depend on features in other pillars. Ideas for this pillar that are not in the registry are on its candidates page.
Shipped¶
- RUN-01 Metrics Stores Grouped by Run. The metrics service logs scalars, histograms, images and hyperparameters under an experiment, a run, a tag and a step, and stores them so that each run's curves can be read back in order.
- RUN-02 Artifacts. The artifacts service is a content-addressed store of checkpoints and exports, deduplicated on disk by their sha256 digest and linked to the run that produced them.
- RUN-14 Managed Runs. The model runner of the app starts a script of the workspace as a managed run, and the commands run.start, run.stop, run.list and run.logs control it, with a review card before every start.
- RUN-15 Run Fork. The command run.fork starts a new run from a checkpoint of a running or paused run with changed parameters, so that the fork keeps the model and optimizer state and records its parent.
- RUN-16 Run Sources of Managed Runs. The catalog source run:<id>/<view> draws the series of a managed run that the app does not show, so that two loss curves, such as a run and its fork, share one panel.
Planned¶
- RUN-03 Run Database. A local database keeps the runs that the metrics and artifacts stores record as a history that outlives each session. Sprint 5.
- RUN-04 History Browser. A browser in the app lists the stored runs and opens any of them. Sprint 5.
- RUN-05 Run Comparison. One page holds two or more runs, each live or recorded, and shows their views side by side. Sprint 5.
- RUN-06 Shared Cursor Across Runs. One cursor moves every run on the page together, aligning runs by step or by time and showing the latest earlier item, with its distance, for a run that has none at the cursor. Sprint 5.
- RUN-07 Linked Cameras and Selections. Runs compared on one page share their cameras and their selections, so that moving or selecting in one run does the same in the others. Sprint 5.
- RUN-08 Difference Views. A difference view shows one run minus another as a heatmap for tensors of the same shape, with loss curves overlaid on one axis and histograms on shared bins. Sprint 5.
- RUN-09 Error Bands. Error bands draw the uncertainty of a series as a shaded range around its line. Sprint 5.
- RUN-11 Learning-Rate Comparison Demo. A demo compares two learning rates and shows which one separates the Fashion-MNIST classes first. Sprint 5.
Ideas¶
- RUN-10 Checkpoint Browser. A checkpoint browser would list stored checkpoints with previews and might resume training from one.
- RUN-12 Import of Other Trackers' Logs. Logs from other experiment trackers, such as TensorBoard, could be imported into the run database.
- RUN-13 Hyperparameter Sweep Views. Views could show the runs of a hyperparameter sweep together.