This mode stops only the processes of the faulty node each time a fault occurs and determines whether to exit the faulty node based on the configured policy.
If the fault cannot be rectified, the job-level or pod-level rescheduling mode is used. Compared with pod-level rescheduling, this mode reschedules only faulty processes, reducing waiting time for inter-process synchronization. In addition, the new HCCL link setup solution significantly shortens link setup time. Checkpoint information is transmitted via high-speed network P2P between NPUs, eliminating the overhead of saving and loading checkpoints.
For details about the key configuration steps of process-level rescheduling, see Configuring Process-Level Rescheduling.
PyTorch supports only single-operator mode, Megatron-based models, and training jobs of the acjob type.
Product Type |
Hardware Form |
Training Framework |
|---|---|---|
Atlas A2 training products |
|
|
Atlas A3 training products |
|
|
If a software or hardware fault occurs during training, the training status will become abnormal. Process-level rescheduling destroys the faulty training process or container based on the configured policy, instructs the training processes in other training containers to suspend the current training job, isolates the faulty device, and reschedules and restarts the training container. Once restarted, the training processes in all containers are notified to rebuild collective communication links. After the links are rebuilt, the checkpoint is transferred to the restarted training processes via the parameter plane for parameter restoration. Following this, all processes repeat the current training step to resume training.

The steps in the figure are described as follows:
In process-level rescheduling, the cluster brain determines the recovery policy based on the global fault information and delivers the policy to MindIO. The scheduler needs to support fault pod scheduling instead of rescheduling the entire job. The recovery policy can be rolled back in sequence. In the training container, the framework initializes the MindIO service. After the service is started, the optimizer updates the corresponding status to MindIO. Then, a DP replica group and optimizer replicas are created to ensure redundant backup of model parameters. Exceptions are captured by the decorator. During recovery, operator resources are cleared, and communication re-establishment is triggered after the related node is restarted. Process-level rescheduling recovery is implemented through online repair and status rollback on the parameter plane.
For non-MindSpeed-LLM/MindCluster users, adapt the following functions as listed in Table 2.
Function |
Description |
Adapted Component |
Reference Link |
|---|---|---|---|
Boot while initialization |
The MindIO service is started while a training framework is initialized. |
Distributed training framework |
|
Optimizer update status reporting |
Before optimizer update, the start and end of the update process are reported. |
||
DP replica group creation |
The creation logic of dp_cp/dp_ep replica groups and gloo groups is added. The replica groups are created after native Megatron distributed parallel groups are created. |
||
Optimizer replica |
The functions of the native Megatron optimizer are inherited, with MindIO optimizer replica management logic embedded. |
||
Exception capture decorator |
The decorator is used to decorate the train function to capture fault modes. |
||
Operator resource clearing |
A callback function is used to clear operator resources. |
||
Node restart and communication re-establishment |
A rebuild callback function is registered to rebuild the communicator between the healthy node and the faulty node. |
||
Online parameter plane repair |
A callback function is used to restore replica and recovery ranks. |
||
Status rollback |
A callback function is used to rebuild data iterators and reset framework variables. |
||
Recovery policy decision |
A recovery policy is determined based on the global fault information and delivered to MindIO. Recovery policy rollback is supported. If process-level rescheduling fails, pod- or job-level rescheduling is triggered. |
AI platform |
See here. |
Scheduling of faulty pods |
Faulty pods are scheduled, and scheduling policy rollback is supported. |
See here. |