Skip to main content
Your training script does not change — the CLI instruments the process it starts and marks the run’s boundaries.

Before you start

  • The probe and the CLI, installed on the node where training runs
  • An organization API key. Create one under API keys in the dashboard.

1. Start the probe

On a managed cluster the probe is already running on every node — skip to step 2. Start it yourself only on a machine you administer.
See the full flag list.

2. Wrap your launch command

warpscale run goes inside srun and outside your launcher, so it sits within the allocation and wraps every rank.
--export=ALL passes your environment into the job. Every node derives the same run id from SLURM_JOB_ID, so a multi-node job arrives as one run.
The command’s exit code passes through unchanged, so this is safe to leave in a job script permanently. train.py stands in for your own script. If you need one to get started, see a complete two-GPU example.

3. Watch the run

Your run appears under Training in the console, at https://<your-organization-host>/runs. Open it to see per-rank detail. For metrics over time, open the Warpscale · Training Features dashboard. Backward rate, memory pressure, and hardware health appear within seconds of the run starting.

Troubleshooting

The CLI refuses to run when it cannot set up telemetry, so the run fails instead of silently going unobserved. Usually the probe is not running on that node, or the container is missing the /var/run/warpscale mount. To let the run proceed unobserved instead, pass --strict-mode=false.
Check that the container mounts both /dev/shm and /var/run/warpscale from the host. Missing either produces exactly this symptom with no error on either side. On the node, ls /dev/shm/ws-cg-* during a run confirms the shim attached.
The nodes derived different run ids. Pass the same --run-id on every node.
The CLI instruments the child process through LD_PRELOAD, and sudo strips it by default. Launch through warpscale run inside the privileged context rather than outside it.