All Products
Search
Document Center

Platform For AI:Configure resource policies

Last Updated:Apr 01, 2026

Resource policies let workspace administrators control how compute resources are allocated and used across PAI modules. With resource policies, you can:

  • Restrict which modules and roles can access a resource quota

  • Cap GPU, CPU, and memory consumption per role

  • Enforce job and instance priorities

  • Auto-shutdown idle DSW instances to reduce costs

  • Block pay-as-you-go spending to prevent unexpected charges

  • Set timeout thresholds for DLC jobs and DSW instances

Non-workspace members are users who submit jobs via RAM (Resource Access Management) permissions but have not been added to the workspace. Resource policies can include separate constraints for these users.

Resource usage

Resource usage settings define which modules and roles can consume a resource quota, and how much they can use. Without configuration, the quota is available to all modules and roles without restriction.

SettingDescription
Resource usage modulesRestricts the quota to specific modules, such as DSW or DLC.
Resource usage rolesRestricts the quota to specific roles.
Resource usage amountSets the maximum GPUs, CPU cores, and memory that different roles can use from this quota when submitting jobs within a given priority range.
Resource specification templateIf set, users must select this template when creating DSW instances or DLC jobs.

How multiple constraints interact

When a user is subject to more than one constraint, the strictest constraint applies. For example, if User A is bound by both an administrator constraint (100 GPUs for priorities 1–7) and a Member A constraint (10 GPUs for priorities 7–9), a priority 7 job submitted by User A is limited to 10 GPUs from this quota.

image

DLC

Configure runtime limits, job priorities, and cost controls for DLC (Distributed Learning Cluster) jobs.

SettingTypeDescription
Maximum runtimeBlockingSets the maximum time a job can run. Jobs that exceed this limit are automatically stopped.
Job priorityBlockingSets the maximum priority level that different roles or members can assign when submitting jobs.
Allow public resourcesBlockingWhen disabled, users cannot create pay-as-you-go DLC jobs in this workspace. Disable this setting to prevent unexpected charges.
Maximum job wait timeNotification onlySets the maximum time a job can spend waiting, queuing, or preparing its environment. A notification is sent when the threshold is exceeded.
To receive Maximum job wait time alerts, configure notification rules for DLC jobs on the Event Notification Configuration page. This setting alone does not send alerts.
image

DSW

Configure auto-shutdown behavior, instance priorities, and cost controls for DSW instances.

Auto-shutdown policy

Auto-shutdown automatically stops instances to save costs when they are no longer actively used.

Sub-settingDescription
Shutdown policyDefines when an instance is shut down, based on its total runtime or resource usage — including idle time, CPU utilization, memory utilization, and GPU utilization.
Exclusion policyIdentifies DSW instances to exempt from auto-shutdown, based on their priority and name.

Other DSW settings

SettingTypeDescription
Instance priorityBlockingSets the maximum priority level that different roles or members can assign when creating instances.
Allow public resourcesBlockingWhen disabled, users cannot create pay-as-you-go DSW instances in this workspace. Disable this setting to prevent unexpected charges.
Maximum instance wait timeBlockingSets the maximum time an instance can spend queuing or preparing its environment. Instances that exceed this threshold are stopped automatically.
image