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.
If the orchestration expansion position of the algorithm is set to AIV (for details, see HCCL_OP_EXPANSION_MODE), the value range of this environment variable is [0, 1091]. The default value is 1091. If the value is 0 or exceeds the maximum value 1091, the value 1091 is used.
If the orchestration expansion position of the algorithm is set to AIV (for details, see HCCL_OP_EXPANSION_MODE), the value range of this environment variable is [0, 1091]. The default value is 1091. If the value is 0 or exceeds the maximum value 1091, the value 1091 is used.
Note: For the
For example, if HCCL_EXEC_TIMEOUT is set to 600, the actual timeout interval is 600 // 68 × 68 = 8 × 68 = 544s.
Note: For the
For example, if HCCL_EXEC_TIMEOUT is set to 600, the actual timeout interval is 600 // 68 × 68 = 8 × 68 = 544s.
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.
export HCCL_EXEC_TIMEOUT=1800
If you call the HCCL C APIs to initialize a communicator with specific configurations and set the hcclExecTimeOut parameter in HcclCommConfig to the synchronization wait period between devices, the configuration of the communicator is used.