Job Delivery

In the example YAML file, the job is deployed in the default namespace. This section uses the PyTorch framework as an example to describe how to deliver a training job.

  1. Log in to the management node and go to the directory where the YAML file is stored.
  2. Run the following command on the management node to deliver a training job using the YAML file:
    kubectl apply -f XXX.yaml
    Example:
    kubectl apply -f pytorch_multinodes_acjob_910b.yaml
    Command output:
    1
    2
    configmap/reset-config-default-test-pytorch created
    ascendjob.mindxdl.gitee.com/default-test-pytorch created