How to get InfiniBand topology of a GPU cluster
After you create a GPU cluster and add VMs to it, you can view the InfiniBand topology of this cluster and its VMs.- Cluster topology
- VM topology
To get the topology for all VMs in a GPU cluster, run the following command:In the
--id parameter, specify the GPU cluster ID.The output example is the following:path parameter shows components of the InfiniBand network layers:
How to create the Slurm topology configuration
To set up topology in Slurm and run jobs for ML workloads, you need the topology.conf file. This file shows the network hierarchy: how nodes are interconnected, what layers they are located at and what switches are used. Thetopology.conf file represents InfiniBand topology. You can create this file based on the information about a given GPU cluster. To create the file, run one of the scripts from the Nebius AI Cloud solution library on GitHub.
InfiniBand and InfiniBand Trade Association are registered trademarks of the InfiniBand Trade Association.