MindCluster provides two versions of switch affinity scheduling to solve downlink traffic conflicts of spine switches in the spine + leaf network architecture. To reduce networking costs, MindCluster supports switch affinity scheduling in single-layer networking. To maximize the use of the UnifiedBus network with higher bandwidth, MindCluster provides affinity scheduling for logical SuperPoDs. In the switch affinity scenario, a leaf switch has multiple nodes, and the system selects the most appropriate node and allocates it to a training job based on the configured switch affinity rules.
Volcano conducts affinity scheduling and ensures that the traffic during training does not cause downlink traffic conflicts on the spine switch. This feature is supported by Atlas training product and
The Volcano + iMaster NCE-Fabric solution is used. iMaster NCE-Fabric is used to dynamically configure the network connection for training job communication, without using a scheduler to resolve downlink traffic conflicts of spine switches. In addition, nodes on a switch can be used by multiple cross-switch jobs, improving cluster resource utilization. The supported products are
Single-layer (leaf only) networking is supported by Atlas 800I A2 inference server and A200I A2 Box heterogeneous component. In single-layer switch affinity scheduling, the most appropriate node is selected for distributed inference jobs.
SuperPoDs are available for the Atlas 900 A3 SuperPoD. When a training job is delivered, a physical SuperPoD is divided into several logical SuperPoDs by cluster scheduling components based on the splitting policy for affinity scheduling of training products.
Figure 1 describes the scheduling logic of switch affinity scheduling 1.0.
Process description:
Figure 2 describes the scheduling logic of switch affinity scheduling 2.0.
Process description:
Switch affinity scheduling selects different scheduling policies for different job types. The job type is the value of the tor-affinity field in the YAML file of the delivered training job. Different job types have different requirements on the number of job replicas.
Type |
Tag |
Number of Job Replicas |
|---|---|---|
Common job |
normal-schema |
No limit |
Foundation model job |
large-model-schema |
≥ 4 |
Padding job |
large-model-schema |
< 4 |