Diagnosing NCCL errors and hangs in multi-GPU training: a triage guide

The article sorts NCCL failures in multi-GPU training into four symptoms: startup errors, watchdog timeouts, silent hangs, and a single rank crashing the rest. It recommends matching each symptom to its own first diagnostic step rather than changing settings at random. Startup failures such as 'unhandled system error' usually stem from an external library call failing, with shared memory limits in containers a common cause. Watchdog timeouts mean one collective waited beyond the process group limit, often because some rank never joined it, and temporarily disabling GPU peer-to-peer or shared memory transports can help isolate the cause. Engineers are advised to read logs from every rank, since the rank reporting an error is often not the source of the problem.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in