The invention provides a method and
system for dispatching heterogeneous GPUs through cross-cluster management
software, and relates to the technical field of GPU resource dispatching.The method comprises the steps that physical topology data,
hardware specification data and historical task records of GPU nodes are obtained through the cross-cluster management
software, an association
degree matrix between GPU units is established, and a topology grouping set is generated; calculating a communication efficiency index based on topology detection analysis, constructing a
topological graph model, and determining an optimal communication path of a multi-card task; generating a
perception scheduling strategy in combination with a multi-objective optimization
algorithm, and selecting an optimal GPU combination from the grouping set; in the task execution process, a scheduling strategy is dynamically adjusted according to the real-time
cluster state and task efficiency data, continuous
adaptation of a physical topological structure and task requirements is kept, and finally efficient collaborative scheduling of cross-cluster heterogeneous GPU resources is achieved. According to the method, the scheduling efficiency of heterogeneous GPU resources in a
distributed computing scene and the overall performance of the
system are improved.