Help Center/ ModelArts/ FAQs/ Dedicated Resource Pool/ Why Does a Job in ModelArts Stay in the Pending State?
Updated on 2026-07-02 GMT+08:00

Why Does a Job in ModelArts Stay in the Pending State?

First in first out (FIFO) applies to training jobs. Subsequent jobs can be executed only after the preceding job is complete. This may lead to starvation of small jobs.

Job starvation is as follows: For example, a 64-accelerator training job is queuing, and a 1-accelerator training job follows the 64-accelerator one. The 1-accelerator training job can be executed only after the resources of 64 accelerators are idle. Even if the resources of 30 accelerators are available, the 1-accelerator training job cannot be executed.

  • If the resource pool is a public one, the job is generally pending because resources are occupied other users. Try to take the following measures:
    • If a free flavor was used, change it to a charged one. Few resources are provided for free flavors, leading to a high queuing probability.
    • To minimize queuing, select flavors with the smallest number of cards possible. This reduces the likelihood of queuing significantly. For example, the probability of queuing when selecting a 1-accelerator flavor is much less than that of queuing when selecting an 8-accelerator flavor.
    • Switch to another region.
    • If resources will be used for a long term, purchase a dedicated resource pool.
    • There is a default queue quota for the public resource pool. Exceeding this default queue quota results in an error for training jobs. You can delete unused training jobs or submit a service ticket to modify the quota.
  • If a dedicated resource pool is used, perform the following operations:
    1. Check whether other jobs (including inference jobs, training jobs, and development environment jobs) are running in the dedicated resource pool.

      On the Overview page, you can go to the details page of the running jobs or instances to check whether the dedicated resource pool is used. You can stop them based on your needs to release resources.

    2. Click the dedicated resource pool to go to the details page and view the job list.

      If other jobs are waiting in the queue, the new job must also join the queue.

    3. Check whether resources are fragmented.

      For example, the cluster has two nodes, and there are four idle accelerators on each node. However, your job requires eight accelerators on one node. In this case, the idle resources cannot be allocated to your job.