Updated on 2024-06-12 GMT+08:00

ma-cli ma-job Command Overview

Run the ma-cli ma-job command to submit training jobs, obtain training job logs, events, used AI engines, and resource specifications, and stop training jobs.

$ ma-cli ma-job -h
Usage: ma-cli ma-job [OPTIONS] COMMAND [ARGS]...

  ModelArts job submission and query jod details.

Options:
  -h, -H, --help  Show this message and exit.

Commands:
  delete      Delete training job by job id.
  get-engine  Get job engines.
  get-event   Get job running event.
  get-flavor  Get job flavors.
  get-job     Get job details.
  get-log     Get job log details.
  get-pool    Get job engines.
  stop        Stop training job by job id.
  submit      Submit training job.
Table 1 Commands supported by training jobs

Command

Description

get-job

Obtain ModelArts training jobs and their details.

get-log

Obtain runtime logs of a ModelArts training job.

get-engine

Obtain ModelArts AI engines for training.

get-event

Obtain ModelArts training job events.

get-flavor

Obtain ModelArts resource specifications for training.

get-pool

Obtain ModelArts resource pools dedicated for training.

stop

Stop a ModelArts training job.

submit

Submit a ModelArts training job.

delete

Delete a training job with a specified job ID.