Notebooks¶
A notebook widget shows a training run's live views inside Jupyter or VS Code, with a controls panel to pause, step and change parameters while the cell runs.
| Field | Value |
|---|---|
| ID | STR-07 |
| Status | Shipped |
| Scope | Core |
| Pillar | Live Data, Streaming and Recordings |
| Sprint | None |
| Depends On | Protocol 3.1 Controls (STR-03)Network Streaming ( STR-05) |
| Unblocks | Web Viewer and Notebooks on Windows (PLT-09)Loss Landscape Demo ( STR-11) |
| Docs | Notebook Training Runs |
| Branches | None |
| Design | None |
Coverage Ledger¶
- Branch
sprint2-nbfix, 0 commits that main lacks (9 ahead of the merge base). Work on notebook guide fixes for the WebAssembly views, which reached main through a pull request (patch ids and subjects match). - design/roadmap.md, under Streaming and embedding. Built so far: embedding package, network streaming over protocol v3 with data views, caliper.serve(), notebook widgets, 3.1 controls, app and viewer attach by link, hub, browser views.
- design/windows-parity.md, under 5. The web viewer and notebooks. Check the notebook widget in JupyterLab and Visual Studio Code.
- Network Streaming Calls, widget. widget returns the notebook widget that shows a view or the controls.
- Run Control Calls, controls. controls returns the notebook widget with the run state and the Pause, Resume and Step buttons.
- Notebook Training Runs. Watch a training run in a notebook with caliper.serve, widgets, controls and a browser tab.
- Pull request #14. Pull request 14 (merged) delivers sprint 2: wire protocol v3 and 3.1, Caliper LIB serving, data views, browser views, the hub, the app attaching to a stream, interactive controls, Caliper API v0, macOS 14 target and CI for the browser views.
- Pull request #14. Known gaps recorded in pull request 14. The notebook widget is untested in VS Code notebooks, the capture is Metal only, and the cost goal of 3 percent is missed for three views with two viewers (4.6 percent).
- Orchestrators' notes,
sprint2/PR.md. Caliper LIB: caliper.serve, caliper.widget, caliper.controls, caliper.connect, a native sender and a Python fallback. - Orchestrators' notes,
sprint2/PR.md. Interactive controls: caliper.step, param, action and items.