Selecting Ascend AI Processors

Description

Volcano selects the most suitable node for pods after node scoring and binds the node. In this process, a callback function can be registered, and Ascend AI processors can be selected according to the affinity policy.

For example, if a pod requires one Ascend AI processor and the two HCCL rings of the node have one and three Ascend AI processors, respectively, the ring with one Ascend AI processor is selected.

Implementation Details

For details about the code implementation, see UseAnnotation in the open-source code. SelectNPUFromNode enables Ascend AI processor selection from a node based on affinity.