The invention discloses a heterogeneous AI computing power
resource scheduling method and
system, and the method comprises the steps: constructing a heterogeneous AI computing power
resource pool, wherein the heterogeneous AI computing power
resource pool integrates the computing resources of a plurality of heterogeneous AI acceleration chips; obtaining a scheduling demand of the AI task, wherein the scheduling demand comprises a task type, a resource request quantity, a priority identifier and a
task group association relationship; generating a multi-dimensional scheduling strategy according to task requirements, wherein the scheduling strategy comprises a
priority scheduling rule, an affinity scheduling rule and a resource
preemption rule; based on a multi-dimensional scheduling strategy, the AI tasks are dynamically allocated to target computing power nodes of the heterogeneous AI computing power
resource pool, and the task execution state and the
resource utilization rate are monitored in real time; and dynamically adjusting computing
resource allocation according to the
resource utilization rate. Through the heterogeneous AI computing power resource
pool, the
resource utilization rate is remarkably improved,
dynamic resource allocation is realized through a multi-dimensional scheduling strategy, and meanwhile, a communication path is optimized through an affinity scheduling strategy, so that the problem of task starvation caused by resource fragmentation is avoided.