tft_set_step_args

Function

Parameter set of the training framework.

For MindSpeed-LLM, the setting function has been adapted by MindIO TFT, and this API does not need to be called.

Format

mindio_ttp.framework_ttp.tft_set_step_args(args)

Parameters

Parameter

Mandatory/Optional

Description

Value

args

Mandatory

Parameter set to be saved for the training framework. The parameter set is returned when MindIO TFT calls the registered callback function in the stop, clean, repair, or rollback phase. And the framework implements the corresponding function based on the parameter set.

Determined by the training framework. MindIO TFT does not access or modify the parameter set. It is returned by the registered service callback in the stop, clean, repair, or rollback phase. The service callback verifies the value range.

Return Value

No return value. If an error occurs, an error log is recorded and an exception is thrown.