This feature is in public preview.
europe-north1-a.fab2. Separate fabrics are separate networks and cannot reach each other.
To connect instances over InfiniBand:
- Create a partition.
- Attach instances on the same fabric to that partition.
sf infiniband-partitions is also available as sf ib-partitions and sf ibp.
Enroll in the InfiniBand preview
Enroll your account in the preview before you create a partition. Until you do, thesf infiniband-partitions commands and the --infiniband-partition flag are hidden, and the API
returns a 403 error.
Find a SKU that supports InfiniBand
A SKU supports InfiniBand when its RDMA type isinfiniband. List the
SKUs that support it, with their availability.
Create a partition
Create a partition on the fabric your SKU is on. The partition belongs to the current workspace.sf infiniband-partitions create with no flags. It asks for a name, then lists
each fabric with the names of the SKUs on it. Pick the fabric of the SKU you plan to create
instances on.
In a zone with only one fabric, you can pass --region and --zone instead of --fabric.
A partition name must be unique within its workspace, across all fabrics.
List partitions
List the partitions in the current workspace. Add--all to list across every workspace you can
read.
--fabric to see the partitions on one network.
Get details for one partition
Get a partition by its name, itsibpart_... ID, or its resource path. A name resolves within the
current workspace.
acme,
production, and training above. Anywhere a command or API field takes a partition, it accepts
the name, the ID, or the resource path.
Attach an instance to a partition
Attach an instance by passing--infiniband-partition when you create it. The partition must be on
the same fabric as the instance’s SKU. See Instances for the other creation
flags and the startup script.
sf instances create without --infiniband-partition. On an InfiniBand SKU, it
lists the partitions on the SKU’s fabric, so you can pick one, create one, or choose none.
An instance stays in its partition for its whole life. To move it to another partition, terminate it
and create a new instance.
List the instances in a partition
List the instances attached to a partition. The output has the same columns assf instances list.
Delete a partition
Delete a partition by its name, ID, or resource path. Terminate every instance in the partition first, since deletion fails while any instance is still attached.sf infiniband-partitions instances:
- An instance you don’t have permission to read
- A terminated instance whose node hasn’t released the partition yet
Check InfiniBand from an instance
The current Ubuntu images with CUDA 13.1 or 13.2, such asubuntu-24.04-cuda-13.2, ship the
InfiniBand stack. See Images for the full list. The stack includes:
- Drivers: NVIDIA DOCA-OFED, with IP over InfiniBand
- Tools:
ibverbs-utilsandperftest, for checking a link - GPUDirect RDMA:
nvidia-peermem, loaded at boot with the InfiniBand modules
ibv_devinfo on the instance to confirm it sees an InfiniBand device.
state: PORT_ACTIVE is connected to the fabric.