"npu is busy, check again" Is Displayed in Pod Logs

Symptom

After the kubectl logs -n vcjob default-test-pytorch-master-0 -f command is executed to view pod logs, the error message "npu is busy, check again" is displayed.

Cause Analysis

Solution

  1. Query all running containers.

    docker ps

  2. Check whether NPUs have been mounted to the specified container.

    docker inspect Container ID | grep davinci

  3. If NPUs have been mounted to the specified container, stop the container.

    docker stop Container ID

Add the following fields to the job YAML file. The following is an example.