The application relates to a heterogeneous AI
workflow unified scheduling and execution
system based on a
macro instruction protocol and belongs to the technical field of
artificial intelligence and
workflow automation. The
system comprises the following: a
macro instruction analysis module, which is used for analyzing a plurality of
macro instruction steps in a
workflow definition file and constructing a
directed acyclic graph according to the inter-step dependency relationship; a compiling module, which is used for generating an
execution plan through a logical workflow according to the
macro instruction steps and the dependency relationship; a unified scheduling module, which is used for distributing corresponding step tasks to corresponding types of execution units according to the
execution plan and promoting the execution of subsequent steps according to execution state feedback; a plurality of heterogeneous execution units, which are used for executing the step tasks respectively; and a resource deployment coordination module, which is used for triggering resource deployment when the resources corresponding to the model calling type step are in a non-ready state and feeding back the resource available state to the unified scheduling module after the resources are ready. The seamless integration and efficient
collaboration of heterogeneous AI capabilities are realized.