Help Center/ ModelArts/ FAQs/ ModelArts Standard Notebook/ What Are the Sizes of the /cache Directories for Resources with Varying Specifications on ModelArts Notebook Instances?
Updated on 2025-08-28 GMT+08:00

What Are the Sizes of the /cache Directories for Resources with Varying Specifications on ModelArts Notebook Instances?

When creating a notebook instance, you can select resources based on the data volume. ModelArts mounts disks to /cache. You can use this directory to store temporary files. The /cache directory shares resources with the code directory. The directory size varies depending on resource specifications.

  • Old resource pool: Local disks are used. For details about the size of the /cache directory, see Table 1. The mapping format is as follows:
    • Currently, the /cache directory cannot be configured for CPUs.
    • If you use a single GP or Ascend processor, the /cache directory size is limited to 500 GB.
    • If you use more than one processing unit (PU), the /cache directory size depends on the number of PUs. The size is the number of PUs times 500 GB, with a maximum of 3 TB.
  • New resource pool: A cluster is created and EVS disk mounting is enabled. When you create a dedicated resource pool, the set disk capacity is the total available for allocation. Each PU gets a share of this disk space based on the total number of PUs in the pool.

    The /cache directory size for an instance is calculated as: Number of PUs used by the instance × /Cache directory size per PU.

Table 1 /cache directory sizes for different notebook specifications

Specification

/cache Directory Size

GP x 0.25

500 GB x 0.25

GP x 0.5

500 GB x 0.5

GP x 1

500 GB

GP x 2

500 GB x 2

GP x 4

500 GB x 4

GP x 8

3 TB

Huawei Cloud AI processor x 1

500 GB

Huawei Cloud AI processor x 2

500 GB x 2

Huawei Cloud AI processor x 4

500 GB x 4

Huawei Cloud AI processor x 8

3 TB

CPU

N/A