Preparing a Job YAML File

Prepare for image creation as required, select a YAML file, and modify the YAML file.

Prerequisite

You have prepared for image creation.

YAML Selection

Various YAML examples are provided for cluster scheduling. You can select an appropriate YAML example based on the used component, processor type, and job type, and make necessary modifications according to actual requirements before using it.

Type

Hardware

YAML File Name

How to Obtain

MS Controller

-

controller.yaml

Click here.

MS Coordinator

-

coordinator.yaml

Click here.

MindIE Server

Atlas 800I A2 inference server

Atlas 800I A3 SuperPoD Server

server.yaml

Click here.

Note:

If the Atlas 800I A3 SuperPoD Server is used, modify certain parameters after obtaining the YAML file as follows.

Job YAML Description

Compared with a common AscendJob, the MindIE Motor inference job requires the two additional labels: app and jobID. MindIE Server requires NPUs. Ensure that the number of AscendJobs delivered matches the number of prefill instances and decode instances.

For example, if a MindIE Motor inference job contains one MS Controller instance, one MS Coordinator instance, x prefill instances, and y decode instances, the number of AscendJobs to be deployed is 1 + 1 + x + y.

app and jobID are described as follows. For details about other parameters, see YAML Parameters.

app: role of MindIE Motor in the AscendJob. The value can be mindie-ms-controller, mindie-ms-coordinator, or mindie-ms-server.

jobID: unique ID of the MindIE Motor job in the cluster. You can configure the ID as required.