Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.

On this page

Show all

Obtaining ModelArts Resource Specifications for Training

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

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.
Table 1 Parameters

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

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback