Obtaining ModelArts Resource Specifications for Training
Run the ma-cli ma-job get-flavor command to obtain ModelArts resource specifications for training.
$ ma-cli ma-job get-flavor -h
Usage: ma-cli ma-job get-flavor [OPTIONS]
Get job flavor info.
Example:
# Get training job flavors
ma-cli ma-job get-flavor
Options:
-t, --flavor-type [CPU|GPU|Ascend]
Type of training job flavor.
-v, --verbose Show detailed information about training flavors.
-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 |
|---|---|---|---|
| -t / --flavor-type | String | No | Resource flavor. If this parameter is not specified, all resource flavors are returned by default. |
| -v / --verbose | Bool | No | Whether to display detailed information. This function is disabled by default. |
Examples
View the resource flavor and type of a training job.
ma-cli ma-job get-flavor

Last Article: Obtaining ModelArts AI Engines for Training
Next Article: Stopping a ModelArts Training Job
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.