Prerequisites
Before you begin, confirm your environment meets the following requirements:- SUNK v7.4.0 or later.
- NCCL 2.28.2 or later in your container image.
- At least 2 vCPUs allocated per task.
Enable the plugin
In your cluster’sslurm_values.yaml, set compute.gpusd.enabled to true. See Slurm parameter reference for more information.
- Downloads and installs the GPUSD package on compute nodes at startup.
- Exposes ports
10400-10407on compute pods for metrics collection. - Deploys a VMPodScrape resource to scrape NCCL plugin metrics.
--container or --container-image, an enroot hook automatically mounts the plugin into the container and sets NCCL_PROFILER_PLUGIN in the job environment. Container-based jobs don’t need additional configuration.
For jobs running without a container, add the following environment variable to your batch job script:
Enable debugging information
To confirm the plugin loaded successfully and to capture useful logs during initial validation, enable NCCL debug output. On first run, enableexport NCCL_DEBUG=INFO to print debugging information. If you’ve correctly loaded the plugin, the output includes a line resembling the following:
View metrics in Grafana
The Slurm Job Metrics dashboard in CoreWeave Grafana surfaces Straggler Detection data across several panels:
With the plugin enabled and metrics flowing, you can use these dashboards to identify straggler and slow GPUs during training runs and cordon affected nodes before they impact job completion.