Skip to main content

Configure Slurm partitions

Add, edit, and delete partitions on an existing Slurm cluster from the cluster detail page.

Configure Slurm partitions

This guide walks through adding, editing, and deleting partitions on an existing Slurm cluster. Partitions are job queues that map to a pool of compute nodes with a specific instance type and autoscaling range.

Prerequisites

  • A Slurm cluster in ready status

Add a partition

  1. Click Clusters in the left sidebar, then click the Slurm tab.
  2. Click the cluster name to open the detail page.
  3. Click the Partitions tab.
  4. Click Add Partition.
  5. Fill in the partition configuration:
    • Partition Name -- a short identifier (for example, gpu or high-mem)
    • Compute Node -- click Select Compute Node to browse instance types by vCPU, GPU, and price (AWS) or select a profile (non-AWS)
    • Maximum node count -- the upper bound for autoscaling
  6. Click Add Partition to save.

The new partition appears in the Partitions tab. Nodes are provisioned on demand when jobs target this partition.

Edit a partition

  1. On the Partitions tab, click the edit icon on the partition row.
  2. Change the instance type or maximum node count as needed.
  3. Click Save.
tip

Start with a low maximum node count and increase as you understand your workload patterns. Each additional node incurs compute costs when jobs are queued.

Set the default partition

Toggle the Default flag on a partition row. Jobs submitted without an explicit --partition flag route to the default partition. Only one partition can be default at a time.

Delete a partition

  1. Click the delete icon on the partition row.
  2. Confirm the deletion.
warning

Deleting a partition cancels any jobs currently queued or running on that partition. Drain the partition first if you have active workloads.

Autoscaling behaviour

Slurm autoscales each partition independently. When jobs queue, nodes are provisioned up to the maximum count. When the queue drains, idle nodes are terminated after a cooldown period.

For partition field definitions and Slurm configuration details, see the Partitions reference.

Ask AI
Ask a question about Vantage Compute...