HCCL_EXEC_TIMEOUT

Description

During distributed training or inference, tasks executed by different device processes may be inconsistent, for example, only specific processes save the checkpoint data. This environment variable controls the synchronization wait time during task execution between devices. Within this configured time, each device process waits for other devices to perform communication synchronization.

In normal cases, you need to retain the default configuration. When the default value cannot meet the requirements for communication synchronization between devices, set this environment variable to increase the synchronization wait period between devices.

Example

export HCCL_EXEC_TIMEOUT=1800

Constraints

If you call the HCCL C APIs to initialize a communicator with specific configurations and set the synchronization waiting timeout for inter-device execution via the hcclExecTimeOut parameter in HcclCommConfig, the configuration at the communicator granularity takes precedence.

Applicability

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product (For Atlas A2 training product/Atlas A2 inference product, only the Atlas 800T A2 training server, Atlas 900 A2 PoD cluster basic unit, and Atlas 200T A2 Box16 heterogeneous subrack are supported.)

Atlas training product

Atlas inference product (For Atlas inference product, only Atlas 300I Duo Inference Card is supported.)