ReportStopComplete
Description
Receives the message indicating whether a training process is successfully suspended from the client.
Prototype
rpc ReportStopComplete(StopCompleteRequest) returns (Status){}
Input Parameters
Parameter |
Type (Defined by Protobuf) |
Description |
|---|---|---|
StopCompleteRequest |
message StopCompleteRequest{ string jobId = 1; Status status = 2; repeated FaultRank faultRankIds = 3; } |
StopCompleteRequest.jobId: Job ID StopCompleteRequest.status.code: return code. OK indicates that training is suspended successfully. Other values indicate that training fails to be suspended. StopCompleteRequest.status.info: return information. StopCompleteRequest.faultRankIds: global fault rank list of faulty processors. FaultRank is a key-value pair that contains fault information, consisting of rankId (global rank ID) and faultType (fault type). faultType = 0 indicates an on-chip memory fault. faultType = 1 indicates other faults. |
Return Value
Return Value |
Type (Defined by Protobuf) |
Description |
|---|---|---|
Status |
message Status{ int32 code = 1; string info = 2; } |
Status.code: return code
Status.info: return information |