report_recover_status(code: int, msg: str, fault_ranks: dict, strategy: str) -> int
Description
The client reports the job recovery status to the server.
Input Parameters
Parameter |
Type |
Description |
|---|---|---|
code |
Integer |
Status code |
msg |
String |
Return information |
fault_ranks |
Dictionary |
Rank of the faulty process |
strategy |
String |
Recovery policy |
Return Value
Type |
Description |
|---|---|
Integer |
Returns 0 if the operation is successful; returns a non-0 value if the operation fails. For details, see Return Codes. |
Parent topic: Resumable Training APIs