Help Center/
ModelArts/
DevEnviron/
ModelArts CLI Command Reference/
Using the ma-cli ma-job Command to Submit a ModelArts Training Job/
Stopping a ModelArts Training Job
Updated on 2023-05-16 GMT+08:00
Stopping a ModelArts Training Job
Run the ma-cli ma-job stop command to stop a training job with a specified job ID.
$ ma-cli ma-job stop -h Usage: ma-cli ma-job stop [OPTIONS] Stop training job by job id. Example: Stop training job by job id ma-cli ma-job stop --job-id ${job_id} Options: -i, --job-id TEXT Get training job event by job id. [required] -y, --yes Confirm stop operation. -C, --config-file TEXT Configure file path for authorization. -D, --debug Debug Mode. Shows full stack trace when error occurs. -P, --profile TEXT CLI connection profile to use. The default profile is "DEFAULT". -H, -h, --help Show this message and exit.
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
-i / --job-id |
String |
Yes |
Training job ID |
-y / --yes |
Bool |
No |
Whether to forcibly stop a specified training job |
Examples
Stop a running training job.
ma-cli ma-job stop --job-id efd3e2f8xxx
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot