After the hotSwitch policy is configured for a training job, if a subhealth fault occurs, the training process is paused after the backup node is started, and then the training job is restarted using the backup node.
Product Type |
Hardware Form |
Training Framework |
|---|---|---|
Atlas 800T A2 training server |
|
|
Atlas 800T A3 SuperPoD Server |
|

The details of each step are as follows:
During hot switching, the cluster brain sets annotations for the faulty pod based on the subhealth fault information, starts and schedules the backup pod, and notifies MindIO of the hotSwitch policy. Training resumes after it is switched to the backup pod. In the training container, the framework initializes the MindIO service. After the service is started, the optimizer updates the corresponding status to MindIO. When an exception occurs, the decorator is used to capture fault modes. After a new node is started, training on the normal node is paused. Then, the communicator is rebuilt, the parameter plane of the new node is restored, and the node hot switching is complete after training is complete.
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. |
||
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. |
||
Graceful suspension |
The MindIO function is called at the end of the training iteration to implement active suspension. |
||
Hot switching control |
Annotations are set to manage backup and faulty pods, thereby managing the hot switching process. |
AI platform |
See here. |
Pod creation and deletion |
Pods are created or deleted by identifying specific annotations. |
See here. |