hotReset
|
Ascend Device Plugin startup YAML
|
Controls graceful fault tolerance.
1: Hot reset is enabled to trigger graceful fault tolerance in addition to job-level or pod-level rescheduling during resumable training.
2: Process-level recovery is enabled to trigger offline recovery.
NOTE: The value 1 cannot be used because the function has become unavailable. Set this parameter to another value.
|
pod-rescheduling
|
metadata.labels of the training job YAML file
|
- on: Enable pod-level rescheduling.
- Other values or not using this field: Disable pod-level rescheduling.
|
fault-scheduling
|
metadata.labels of the training job YAML file
|
Controls rescheduling.
|
process-recover-enable
|
metadata.labels of the training job YAML file
|
|
recover-strategy
|
metadata.annotations of the training job YAML file
|
Available recovery policy.
- retry: process-level online recovery
- recover: process-level rescheduling
- recover-in-place: process-level in-place recovery
- elastic-training: elastic training
- dump: saving dying gasp
- exit: exiting training
|
PROCESS_RECOVER
|
spec.replicaSpecs.{ Master|Scheduler| Worker}.template.spec.containers.env of the training job YAML file
|
Controls process-level rescheduling and process-level online recovery on Elastic Agent/TaskD.
|
ELASTIC_PROCESS_RECOVER_ENABLE
|
spec.replicaSpecs.{ Master|Scheduler| Worker}. template.spec.containers.args in the training startup YAML file
|
Controls process-level rescheduling, process-level online recovery, and dying gasp checkpoint recovery on Elastic Agent.
NOTE: Elastic Agent has reached its end of life and its documentation will be deleted on the 30th of December, 2026. This environment variable will be deleted.
|
ENABLE_RESTART_FAULT_PROCESS
|
spec.replicaSpecs.{ Master|Scheduler| Worker}. template.spec.containers.args in the training startup YAML file
|
Controls process-level in-place recovery on Elastic Agent/TaskD.
- on: enabled
- Other values: disabled
|
--enable-high-availability
|
Startup parameter of pretrain_gpt.py
|
Controls fast fault recovery, which is disabled by default. After this function is enabled, the dying gasp function is also enabled.
|
--enable-hbmfault-repair
|
Startup parameter of pretrain_gpt.py
|
Controls process-level online recovery, which is disabled by default. After this function is enabled, the on-chip memory fault is detected and recovered online. enable-high-availability must be enabled at the same time.
|
--enable-worker-reboot
|
Startup parameter of pretrain_gpt.py
|
Controls process-level rescheduling, which is disabled by default. After this function is enabled, process-level scheduling is performed when a general fault occurs. enable-high-availability must be enabled at the same time.
|
--enable-elastic-training
|
Startup parameter of pretrain_gpt.py
|
Enables or disables elastic training. By default, this function is disabled.
|
max_restarts
|
Shell script, for example, train_start.sh, for starting training
|
Specifies the maximum number of faults that can be triggered in a container. The value is an integer. If the number exceeds the upper limit, the PyTorch training process directly exits. If this parameter is not set, the default value 32767 is used.
|
monitor_interval
|
Shell script, for example, train_start.sh, for starting training
|
Specifies the interval for monitoring the training process status. The value is an integer, in seconds. If this parameter is not set, the default value 5 is used.
|
HIGH_AVAILABILITY
|
Environment variable injected by Ascend Operator to the container
|
Ascend Operator automatically injects this environment variable based on the job type. MindSpeed-LLM 2.3.0 automatically reads this environment variable. You do not need to manually add --enable-high-availability, --enable-hbmfault-repair, --enable-worker-reboot, and --enable-elastic-training to train_start.sh to enable the corresponding functions.
|