PYTORCH ProcessGroupNCCL Environment Variables¶
For more information on the environment variables, see ProcessGroupNCCL Environment Variables.
Variable |
Description |
---|---|
|
Control how we perform Async Error Handling with NCCL when an exception is observed in watchdog. If set to 0, no handling of asynchronous NCCL errors. If set to 1, aborting NCCL communicator and tearing down process upon error. If set to 2, only abort NCCL communicator and if set to 3, tearing down process without aborting NCCL communicator. By default, it is set to 3. |
|
Control whether to use high priority stream for the NCCL communicator. |
|
Control whether or not wait() is blocking or non-blocking. |
|
Control whether dumping debug info on watchdog timeout or exception is detected. This variable must be set together with TORCH_NCCL_TRACE_BUFFER_SIZE larger than 0. |
|
Control whether Desync Debug is enabled. This is helpful in figuring out the culprit rank of collective desync. |
|
If set to |
|
If set to |
|
Control the watchdog heartbeat timeout period after which the monitoring thread will abort the process. |
|
The maximum number of events we store in the flight recorder’s ring buffer. One event could be the start or end of a collective, for example. Set to 0 to disable the tracebuffer and debugging info dump. |
|
Whether to collect cpp stack traces for flight recorder. Default value is False. |
|
Control the interval inside the monitoring thread to check the coordinated signal from other ranks, e.g. to dump the debugging information. Default value is 1000 ms. |
|
Control how much extra time we will wait for dumping the debugging info before we exit and throws timeout exception. |
|
The file into which the debugging info would be dumped. |
|
The pipe file to trigger debugging dump manually, write anything into the pipe would trigger the dump. |
|
Control whether to enable NAN check for the input, Error would be thrown if NAN is detected. |