tft_exception_handler
Function
Decorator, which decorates the train method of MindSpeed-LLM, captures training state exceptions, and reports and processes the exceptions. This API is for reference only for other training frameworks.
Format
mindio_ttp.framework_ttp.tft_exception_handler(func: Callable)
Parameters
Parameter |
Mandatory/Optional |
Description |
Value |
|---|---|---|---|
func |
Mandatory |
The function is used as a parameter. |
Train method of the framework. |
Return Value
func returned by the decorator.
Parent topic: API Reference