Recommended Service Configurations
This section provides recommended service configurations for common service scenarios of the
Atlas A3 training product /Atlas A3 inference product
- Training scenario
Environment Variable
Description
Timeout period for establishing a socket connection. The default value is 120, in seconds. In this scenario, you are advised to adjust the connection setup timeout period based on the network scale.export HCCL_CONNECT_TIMEOUT=1200
Expansion mode of the communication operator.
In this scenario, you are advised to retain the default value AI_CPU, indicating that the communication operator is expanded on AICPU.
export HCCL_OP_EXPANSION_MODE="AI_CPU"
- Inference
- Prefill-Decode hybrid deployment
Environment Variable
Description
Expansion mode of the communication operator.
In this scenario, you are advised to set this parameter to AIV, indicating that the communication operator is expanded on the Vector Core.
export HCCL_OP_EXPANSION_MODE="AIV"
Controls whether to enable deterministic computing. Set this field based on the usage scenario. The default value is false, indicating that deterministic computing is disabled.
export HCCL_DETERMINISTIC=false
- Prefill-Decode separated deployment
Environment Variable
Description
When only LLM-DataDist is used as the cluster management component, you are advised to use this environment variable to configure RoCE links for communication within a SuperPoD. In non-LLM-DataDist scenarios, you do not need to set this environment variable.
export HCCL_INTRA_ROCE_ENABLE=1
Expansion mode of the communication operator.
In this scenario, you are advised to set this parameter to AIV, indicating that the communication operator is expanded on the Vector Core.
export HCCL_OP_EXPANSION_MODE="AIV"
Controls whether to enable deterministic computing. Set this field based on the usage scenario. The default value is false, indicating that deterministic computing is disabled.
export HCCL_DETERMINISTIC=false
- Prefill-Decode hybrid deployment
- RL training and inference integration
Atlas A2 training product /Atlas A2 inference product
- Training scenario
Environment Variable
Description
Timeout period for establishing a socket connection. The default value is 120, in seconds. In this scenario, you are advised to adjust the connection setup timeout period based on the network scale.export HCCL_CONNECT_TIMEOUT=1200
Expansion mode of the communication operator.
In this scenario, you are advised to retain the default value HOST, indicating that the communication operator is expanded on the host CPU.
export HCCL_OP_EXPANSION_MODE="HOST"
Controls whether to enable deterministic computing. Set this field based on the usage scenario. The default value is false, indicating that deterministic computing is disabled.
export HCCL_DETERMINISTIC=false
- Inference
Environment Variable
Description
Expansion mode of the communication operator.
In this scenario, you are advised to retain the default value HOST, indicating that the communication operator is expanded on the host CPU.
export HCCL_OP_EXPANSION_MODE="HOST"
Controls whether to enable deterministic computing. Set this field based on the usage scenario. The default value is false, indicating that deterministic computing is disabled.
export HCCL_DETERMINISTIC=false
- RL training and inference integration
Environment Variable
Description
Timeout period for establishing a socket connection. The default value is 120, in seconds. In this scenario, you are advised to adjust the connection setup timeout period based on the network scale.
export HCCL_CONNECT_TIMEOUT=1200
Expansion mode of the communication operator.
In this scenario, you are advised to retain the default value HOST, indicating that the communication operator is expanded on the host CPU.
export HCCL_OP_EXPANSION_MODE="HOST"
Controls whether to enable deterministic computing. Set this field based on the usage scenario. The default value is false, indicating that deterministic computing is disabled.
export HCCL_DETERMINISTIC=false