report_stop_complete(code: int, msg: str, fault_ranks: dict) -> int
The client reports to the server that the task process is stopped. Generally, after the client receives the training stop signal from the server, the client stops the training process, and then reports to the server that the task process is stopped.
Parameter |
Type |
Description |
|---|---|---|
code |
Integer |
Status code |
msg |
String |
Return information |
fault_ranks |
Dictionary |
Rank of the faulty process |
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: Elastic Agent (APIs Related to Resumable Training)