Nightshift
PLUGINUlpi takes the night shift on your ML training runs: Nightshift watches a run's metrics (stdout, JSONL, CSV or TensorBoard), catches NaN, loss spikes, divergence.
by Pavilion-devs · v0.1.1
What it does
Ulpi takes the night shift on your ML training runs: Nightshift watches a run's metrics (stdout, JSONL, CSV or TensorBoard), catches NaN, loss spikes, divergence, out-of-memory crashes and stalls, recovers the run within a playbook you approved (roll back to the last healthy checkpoint with a lower learning rate, or restart with half the batch), and pushes the chart to your phone. Desktop pane, dashboard tab, /nightshift, ulpi nightshift and a morning-report blueprint.
Zero runtime dependencies. Disclosure — the agent can only propose a training run; after your explicit approval (/nightshift approve in chat or the Approve button; there is no CLI approve) it launches the approved command as a long-running background process from a background thread that starts with Ulpi, with a minimal environment (no Ulpi keys unless you name them in env_passthrough, shown on the approval card), and may stop or restart that process group, re-rendering only the approved command with the playbook's parameters (lr, batch size, grad accumulation, checkpoint path) within an intervention budget; it signals only process groups it started (start-time checked, never a run it cannot verify), reads the log, metric and checkpoint paths you or the agent give it, runs nvidia-smi and ps, stores run data in its plugin data folder and alert charts in Ulpi's image cache, makes capped LLM calls on your configured model with a redacted log tail on critical incidents.
Tools it adds
The tools an agent gets once this plugin is installed.
- nightshift_launch
- nightshift_watch
- nightshift_status
- nightshift_run
- nightshift_report
- nightshift_ack
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve