tft_notify_controller_stop_train

接口功能

提供给MindCluster调用,通知MindIO TFT主动停止训练,并告知MindIO TFT发生故障的卡信息。

接口格式

mindio_ttp.controller_ttp.tft_notify_controller_stop_train(fault_ranks: dict

接口参数

参数

是否必选

说明

取值要求

fault_ranks

必选

发生故障的卡信息。

<int key, int errorType>字典:

  • key为故障卡的rank号
  • errorType为故障类型:
    • 0:UCE故障
    • 1:非UCE故障

返回值