Resource classes

A resource class describes one pool of worker machines on a BYOC cluster: how many nodes, and the CPUs, GPUs and memory on each. Members pick classes when they train. Add one class per kind of hardware, for example nvidia-l4-east and nvidia-a100-west on the same cluster. The cluster’s agent sets up each class, so there is nothing to install per class.

Prerequisites

Create suggested classes

The quickest way to get classes is to let Arena suggest them. Once the agent has reported its nodes, Arena suggests one class for each GPU model and GPU count it found. Each suggestion has the CPUs, memory and node count of those nodes, and a node selector on nvidia.com/gpu.product (plus nvidia.com/gpu.count when one GPU model comes in several counts).

Select the cluster on the Bring your own compute tab. Suggested classes lists the suggestions, with the node selector each would use. Click Create on each one you want.

arena cluster connect and arena cluster register list the suggestions and ask Create these classes?. Pass --yes to create them without asking.

A created suggestion is an ordinary class: edit, turn off or delete it like any other. Arena leaves out a shape an existing class already selects. Memory is rounded down so a class never asks for more than the node has. If Suggested classes asks you to upgrade the agent, run arena cluster upgrade: older agents don’t report node CPU and memory.

Add a class

  1. Open the profile menu, click Settings, then the Bring your own compute tab.

  2. Select the cluster and click Add resource class. A disabled cluster has no button; Restore it first.

  3. Fill in the form and click Add.

Field

What to enter

Name

Shown to everyone in the experiment wizard, so name the hardware: GPU model, site or rack.

Enabled

On by default. A class that isn’t enabled stays in the table but can’t be picked for new runs.

Description

Optional notes, such as the GPU SKU.

Enterprise cluster

The cluster that runs the class. Already set when you add from a cluster.

Number of nodes

How many worker nodes the agent runs for this class. At least 1.

CPUs, GPUs, Memory

Per worker node, under Compute resource (per worker node). Match the machines.

GPU type

Required when GPUs is above 0, for example L4 or A100.

VRAM per GPU (GB)

Required when GPUs is above 0. Arena uses it to check that a model fits.

Worker node placement

Kubernetes node labels that pick which machines the class runs on. Required for GPU classes.

From the CLI

Apart from the suggested classes, the CLI adds classes only to clusters it provisioned from a spec file:

  • arena cluster provision ... --register-and-install adds a class for each GPU worker group in the spec, named <cluster>-<worker name>.

  • On Nebius, arena cluster register-classes adds a class for each GPU preset you pick from your Nebius project, on a cluster that is already registered:

    arena cluster register-classes --spec lab-cluster.yaml --preset gpu-h100-sxm:1gpu-16vcpu-200gb
    

    Repeat --preset platform:preset for more, or pass --all for every preset. --register-node-group also creates the Nebius node group for each one. Flags are in the command reference.

For Custom and AWS clusters, add any class that isn’t a suggestion in the web app. Editing, turning off and deleting classes are web-only too.

Pin a class to the right GPUs

Kubernetes only sees a GPU count. On a cluster with mixed hardware, an A100 class can land on an L4 node unless you say otherwise. Worker node placement fixes that: add a Label key and Label value that your GPU nodes already carry, and the class’s workers only run on nodes with that label. Arena doesn’t create or apply labels.

If the cluster runs the NVIDIA GPU Operator, each node has an nvidia.com/gpu.product label. List them with:

kubectl get nodes -L nvidia.com/gpu.product

Then use, for example, key nvidia.com/gpu.product and value NVIDIA-A100-80GB-PCIe.

If no node carries a class’s labels, its jobs stay pending. The cluster’s Health section names such classes under Classes with no matching nodes.

Change or remove a class

The class table on the cluster lists Name, GPU, CPU, VRAM, Memory, Nodes and On. On a narrow window some columns fold into the name. Use the filter to find a class by name or GPU type, and sort by any column.

  • Flip On to take a class out of new runs, or put it back. The row stays.

  • Open the row’s actions menu and click Edit resource class to change any field.

  • Delete removes the class from Arena for good. Clean up anything left on your machines yourself.

Next to a class name, Update means the image stored on that class differs from the current training image. The image is saved when the class is created. Reinstall reinstalls the agent and leaves the badge in place. Jobs still run the current training image.

A GPU class missing a field is flagged: GPU type not set in the GPU column, and Not set in the VRAM column. When the GPU column is folded away, GPU type not set shows under the name and the VRAM column still says Not set. VRAM not set under the name shows only in the narrowest layout, which has no VRAM column. Edit the class to fill them in.

How classes appear in the wizard

Under Training resources in the experiment wizard, each BYOC GPU type is a row ending in (BYOC), such as A100 80GB (BYOC). A class shows up there when:

  • its cluster is registered and not disabled or archived,

  • the class is enabled, and

  • it has at least one GPU per worker node.

CPU-only classes are never offered for training.

The GPU counts you can pick come from the class’s size. A class with Number of nodes 2 and 4 GPUs per node offers 4 or 8 GPUs. Arena runs on the fewest nodes that give the count you pick. For a language model, a count without enough GPU memory shows –. See Choose compute for the rest of the picker.

If no (BYOC) row appears, check that the organization is on Enterprise, the cluster isn’t disabled, and the class is enabled and has GPUs. If the row is there but runs stay Pending, check that the cluster shows Connected and that Classes with no matching nodes doesn’t name the class.