An intelligent computing power dynamic scheduling method of an AI arithmetic all-in-one machine

By constructing a global dynamic resource view and dynamically adjusting resource configuration, the technical deficiencies of the AI ​​arithmetic appliance in resource management and load prediction are resolved, improving computing efficiency and service quality, and enabling efficient operation of multi-task hybrid deployment and multi-card parallel collaboration.

CN123157433APending Publication Date: 2026-11-24ZHONGNENG RUNTAI (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611342048.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

The AI ​​arithmetic appliance has multiple technical defects in resource management and load prediction, resulting in low resource utilization, low computing efficiency, lagging load prediction, and unstable service quality, which cannot meet the needs of multi-task hybrid deployment and multi-card parallel collaboration scenarios.

Method used

By collecting load data in real time to build a global dynamic resource view, analyzing task types and priorities, allocating resource quotas and time slices, planning communication topology, setting resource isolation and preemption strategies, and dynamically adjusting resource configuration, intelligent task scheduling is achieved.

Benefits of technology

It improves the utilization rate of heterogeneous computing power, ensures the efficiency of multi-card communication and the service quality of high-priority tasks, enhances the robustness and adaptability of the system under dynamic mixed loads, and meets the needs of multi-task hybrid deployment and multi-card parallel collaboration scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157433A_ABST
    Figure CN123157433A_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine, belonging to the field of computing power scheduling technology. The method includes the following steps: resource perception and task parsing, scheduling decision and planning, resource deployment and execution, and dynamic monitoring and adaptive adjustment. This invention constructs a global dynamic resource view by collecting load data in real time and parsing each task type and priority. Based on this view and priority, resource quotas and time slices are allocated to tasks, multi-card communication topology is planned, resource isolation and preemption strategies are set, and an initial scheduling scheme is generated. Core binding, memory partitioning, and access configuration are executed according to the scheme, multi-card communication links are established, and tasks are deployed for execution. During operation, inference latency and training throughput are continuously monitored, and resource quotas are dynamically adjusted, tasks are migrated, or priorities are rearranged to form a closed-loop feedback optimization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computing power scheduling technology, and in particular to an intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine. Background Technology

[0002] As a computing infrastructure that deeply integrates computing hardware and AI training and inference frameworks, the AI ​​arithmetic appliance aims to provide a ready-to-use intelligent computing base. However, its dynamic scheduling technology still faces multiple technical shortcomings in actual production environments. In terms of heterogeneous resource management, the integrated GPUs, NPUs, FPGAs, and other heterogeneous chips suffer from incompatibility in programming interfaces, driver models, and runtime environments due to differences between manufacturers. Resource descriptions and computing power measurement standards are inconsistent, making it difficult for upper-level scheduling systems to achieve unified resource abstraction and refined management, severely restricting the release of hardware potential. Regarding resource utilization, traditional static exclusive or coarse-grained partitioning strategies result in extremely severe computing power loss. Under second-level tidal characteristics, the utilization rate of the inference service during peak periods is only about 41%, and less than 18% during idle periods, with a fluctuation difference of 23 percentage points. Furthermore, when the cluster is fully loaded, the heat dissipation bottleneck and peak power consumption are unbalanced. Traditional air cooling cannot dissipate heat in time, forcing frequency reduction or power capping, and computing power loss amplifies superlinearly with node scale. In multi-task hybrid deployment scenarios, resource competition between training and inference tasks is particularly prominent. Existing solutions either employ server isolation, leading to long-term GPU idleness, or achieve hybrid deployment through virtualization partitioning. However, coarse partitioning results in low utilization, while fine partitioning incurs high isolation overhead, and it is difficult to quantify the performance interference when sharing GPUs. In multi-GPU parallel collaborative scenarios, existing sub-second multiplexing technologies are only suitable for single-GPU small models and cannot support multi-GPU large language model inference. Communication overhead often offsets computational gains, resulting in persistently high first-token latency and output latency. Cooperative scheduling response latency reaches 120 to 200 milliseconds, far from meeting the requirements for sub-second elastic scaling. In terms of load prediction, reactive strategies exhibit significant lag. Prediction-driven methods are vulnerable to load shifts, burst traffic, and memory pressure, and have limited control over tail latency from P90 to P99. Outdated information leads to severe deviations between decisions and the actual state. In terms of service quality assurance, the SLA achievement rate of multi-card LLM resource sharing solutions is only 25% to 80%, which cannot meet the stringent requirement of 100% latency compliance for P90 to P99. Moreover, the resource boundaries of the all-in-one machine are rigid, and any contention can lead to a decline in service quality. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide an intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine, which can construct a global dynamic resource view by collecting load data in real time and analyze the task type and priority; based on the view and priority, resource quotas and time slices are allocated to tasks, multi-card communication topology is planned, resource isolation and preemption strategies are set, and an initial scheduling scheme is generated; core binding, memory partitioning and access configuration are executed according to the scheme, multi-card communication links are established and tasks are deployed for operation; during operation, inference latency and training throughput are continuously monitored, and resource quotas are dynamically adjusted, tasks are migrated or priorities are rearranged to form a closed-loop feedback optimization.

[0004] On the one hand, a method for intelligent dynamic scheduling of computing power for an AI arithmetic all-in-one machine is provided. The method includes: Step S1, collecting load data of the target AI arithmetic all-in-one machine in real time, forming a global dynamic resource view, and obtaining multiple AI tasks to be scheduled, and analyzing the task type and priority level of each task; the load data includes computing power utilization, memory usage, communication bandwidth, power consumption and temperature; Step S2, based on the real-time collected load data, the global dynamic resource view and the priority of each task, allocating target execution resource quotas and execution time slices for each task, and planning communication topology and data routing paths for multi-card parallel tasks, setting dynamic resource isolation measures and preemption priorities, and generating an initial scheduling scheme; Step S3, based on the initial scheduling scheme, allocating the hardware resources of each accelerator card to the corresponding task, executing computing core binding, memory partitioning and access policy configuration, and establishing communication links between multi-card tasks according to the planned communication topology, and deploying each task to run on the target chip; Step S4, during task operation, continuously monitoring the real-time inference latency and training throughput of each task, and dynamically adjusting resource quotas, triggering task migration or reordering priorities according to the real-time inference latency and training throughput.

[0005] Beneficial effects The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following: By constructing a global dynamic resource view in real time during the resource awareness phase, combined with SLA parameters and a four-level priority dynamic correction mechanism, accurate identification of task attributes is ensured, providing reliable input for scheduling. During the scheduling generation phase, performance interference is suppressed and multi-card communication efficiency and high-priority task service quality are improved through candidate chip matching, urgency-based time slice allocation, topology planning to minimize communication overhead, and multi-dimensional isolation and preemption recovery strategies for GPU / computation flow / bandwidth in mixed training / inference scenarios. During the deployment and execution phase, training / inference / shared memory partitions are divided and access policies are configured for GPU / NPU / FPGA cores with differentiated binding, balancing heterogeneous adaptation, isolation security, and low-latency data passthrough. In the dynamic feedback phase, anomalies are classified based on tail latency and throughput deviation rate, and a tiered intervention strategy is adopted, combined with verification rollback and log incremental training, to achieve adaptive elastic adjustment under fixed resources. This improves heterogeneous computing power utilization, ensures long-tail latency SLA, and enhances the system's robustness and adaptability under dynamic mixed loads. Attached Figure Description

[0006] Figure 1 A flowchart of a method for dynamic scheduling of intelligent computing power for an AI arithmetic all-in-one machine provided in this application embodiment; Figure 2 The flowchart illustrates the AI ​​task type identification and priority dynamic correction method for an AI arithmetic all-in-one machine, which is provided in the embodiments of this application. Detailed Implementation

[0007] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.

[0008] like Figure 1 The diagram shown is a flowchart of a method for dynamic scheduling of intelligent computing power for an AI arithmetic all-in-one machine provided in this application embodiment. The method includes the following steps: Step S1: Collect load data of the target AI arithmetic all-in-one machine in real time to form a global dynamic resource view, and obtain multiple AI tasks to be scheduled, and analyze the task type and priority level of each task; the load data includes computing power utilization, memory usage, communication bandwidth, power consumption and temperature.

[0009] It should be noted that, as Figure 2The flowchart shown below illustrates the specific process of an AI task type identification and priority dynamic correction method for an AI arithmetic all-in-one machine provided in this application embodiment. The process is as follows: A task submission request is received; the task identifier, SLA parameters, computing resource requirements, data dependencies, and real-time constraint parameters are extracted from the request header and task description file. Next, it is determined whether the task description file carries a computing mode identifier. If an identifier is present, the task type is directly determined; otherwise, task type identification is completed through static code analysis or runtime monitoring of the underlying acceleration library interface. Finally, a preset priority mapping rule is invoked, and the priority is adjusted according to the SLA response time. Based on the upper limit of latency, lower limit of throughput, and task importance labels, four initial priority levels (real-time priority, high, medium, and low) are generated according to quantitative standards. Then, real-time load data such as computing power utilization and memory usage are collected to determine the load conditions. When computing power utilization or memory usage exceeds the first preset threshold, the priority of non-real-time tasks is reduced by one level. When both computing power utilization and memory usage are less than the second preset threshold, the priority of waiting queue tasks is increased by one level. When the task execution delay exceeds the preset delay tolerance threshold, the task is temporarily promoted to the real-time priority level. In other scenarios, the original priority is maintained, and the final priority level of the tasks after dynamic correction is output.

[0010] It should be understood that the specific process for parsing the task type and priority level of each task is as follows: Receive task submission requests and extract task identifiers, user-specified service level agreement parameters, computing resource requirements, data dependencies, and real-time constraint parameters from the request header and task description file; Based on the computation mode identifier carried in the task description file or the type of core operator invoked, the task is classified into at least one of the following: model training task, model inference task, data preprocessing task, or hybrid task. If the computation mode is not explicitly identified in the task description file, it will be identified through static code analysis or runtime dynamic monitoring of the interface types of the underlying acceleration library called by the task. Based on the upper limit of response latency, the lower limit of throughput, and the task importance label in the service level agreement parameters, and combined with the preset priority mapping rules, an initial priority level is assigned to the task. The initial priority level includes at least real-time priority, high priority, medium priority, and low priority. The preset priority mapping rules are used to convert the upper limit of response latency, the lower limit of throughput, and the task importance label in the service level agreement parameters of a task into the initial priority level of the task according to the predefined level quantification standard. The initial priority level is dynamically adjusted based on the current computing power utilization and memory usage from the real-time collected load data. Specifically: If the current computing power utilization or memory usage exceeds the first preset threshold, the priority level of non-real-time tasks will be reduced by one level. If the current computing power utilization and memory usage are both lower than the second preset threshold, the priority level of the tasks in the waiting queue will be increased by one level. If the current execution delay of a task exceeds the preset delay tolerance threshold, the task priority will be temporarily raised to the real-time priority level, and the final priority level will be output.

[0011] In this embodiment, for the multi-concurrent AI task scheduling scenario received by the AI ​​arithmetic all-in-one machine, the system receives various AI task submission requests issued by front-end users or business platforms in real time. During the task access phase, the scheduling system actively parses the task request header information and fully reads the accompanying task description file, accurately extracting the unique task identifier, user-defined service level agreement (SLA) parameters, the computing power and memory requirements of the task, upstream and downstream data dependencies, and business real-time constraint parameters, providing complete data support for subsequent task classification and priority determination. After completing the extraction of basic task parameters, the system uses the parameters pre-defined in the task description file... The system uses computation mode identifiers or the types of core computation operators invoked during task execution to finely categorize incoming tasks. Specifically, it can accurately distinguish between model training tasks, model inference tasks, data preprocessing tasks, and hybrid tasks containing multiple types of computational logic. For some unknown types of tasks that are not explicitly marked with computation mode identifiers in the task description file, the system can automatically analyze the task execution scripts and program code through static code scanning without manual intervention. At the same time, it dynamically monitors the calling characteristics of the underlying AI acceleration library and computation acceleration interface during task execution to accurately identify the true computational attributes of the task, completely solving the blind spot of type identification for unidentified tasks. After the task type is determined, the system retrieves the preset priority quantification mapping rules and combines them with three core indicators from the extracted service level agreement parameters: the upper limit of task response latency, the lower limit of business throughput, and the task importance label. It then performs weight conversion according to a unified quantitative scoring standard, automatically matching an initial priority level to each task. Specifically, it divides tasks into four tiers: real-time priority, high priority, medium priority, and low priority, achieving standardized initial task hierarchy. To overcome the limitation of fixed priority mechanisms in adapting to dynamic changes in device load, this embodiment uses real-time data collected by the all-in-one machine, including computing power utilization and memory usage, to determine the initial task priority. The dynamic adaptive correction is implemented as follows: When the current computing power utilization or memory usage of the all-in-one machine exceeds the first preset threshold (set to 80% in this embodiment), it is determined that the device is in a high-load operation state. In order to ensure the stable operation of core business, the priority level of all non-real-time tasks is automatically reduced by one level to avoid the problem of low-priority tasks competing for scarce resources. When the computing power utilization and memory usage of the device are both lower than the second preset threshold (set to 30% in this embodiment), it is determined that the device has a large number of idle resources. The priority level of the queued tasks in the task waiting queue is automatically increased by one level to speed up the activation of idle resources and the circulation of backlogged tasks.When the real-time execution latency of any task is detected to exceed the business's preset latency tolerance threshold, the task is determined to have a business timeout risk. The task's priority is immediately and temporarily raised to the real-time priority level. The final priority level of the task, after type identification, initial classification, and dynamic correction, is output, providing accurate priority decision-making basis for subsequent fine-grained computing power scheduling, resource allocation, and task sequencing.

[0012] Step S2: Based on the real-time collected load data, global dynamic resource view, and the priority of each task, allocate target execution resource quotas and execution time slices to each task, plan communication topology and data routing paths for multi-card parallel tasks, set dynamic resource isolation measures and preemption priorities, and generate an initial scheduling scheme.

[0013] It is important to understand that the specific process for generating the initial scheduling scheme is as follows: Based on the estimated resource requirements, memory capacity requirements, and bandwidth requirements of each task, and combined with the current available computing power, available memory, and idle bandwidth of each acceleration chip in the global dynamic resource view, a set of candidate execution chips and a corresponding resource quota scheme are generated for each task. The resource quota scheme includes the number of computing cores allocated, the size of the memory partition, and the bandwidth share. The specific process for executing a time slice is as follows: Based on the priority level, estimated execution time, and upper limit of response latency specified by the service quality of each task, the time difference between the task deadline and the current scheduling time is used as the scheduling urgency index. The urgency index includes high-urgency tasks and low-urgency tasks. High-urgency tasks are given priority in time slice allocation, while low-urgency tasks are scheduled with staggered time slice allocation. When multiple tasks compete for the same chip resource, time slices are allocated in descending order of priority. Tasks of the same priority are sorted according to a first-come, first-served strategy, generating a time slice scheduling sequence for each chip.

[0014] In this embodiment, the pre-parsed parameters of each AI task to be scheduled are first read one by one, including the estimated computing power requirement of the task, the amount of video memory required for model inference or training, and the communication bandwidth resource requirement for data interaction, etc., as well as other multi-dimensional resource requirement parameters. At the same time, the real-time running status data of each GPU, NPU, and FPGA heterogeneous acceleration chip in the global dynamic resource view is retrieved in real time, covering the remaining available computing power quota, idle physical video memory capacity, idle bandwidth of inter-chip communication, and resource usage fluctuation status of each chip. By matching, quantifying, comparing, and verifying the single task resource requirement characteristics with the single chip's idle resource capabilities dimension by dimension, acceleration chips whose current resource reserves cannot meet the basic operating threshold of the task are filtered out. The system ultimately generates a set of optimal candidate execution chips for each scheduled task, and for each acceleration chip in the candidate set, it generates a corresponding refined resource quota scheme. This resource quota scheme specifically defines the number of physical computing cores allocated to the task deployment, the capacity occupied by the independent video memory partition, and the share of on-chip memory access bandwidth and inter-chip communication bandwidth, ensuring a precise match between task resource requirements and hardware supply capabilities, and providing a precise configuration basis for subsequent hardware resource binding. Based on the completed resource quota matching plan, the system further combines the final priority level of each task, the estimated overall execution time of the task, and the response latency limit defined by the service quality agreement to construct a task-based... The time difference between the task deadline and the current system scheduling time is used as the core quantitative evaluation index for scheduling urgency. Based on the quantitative results, all tasks to be scheduled are divided into two levels: high-urgency tasks and low-urgency tasks, achieving precise stratification of task scheduling urgency. During time-slice scheduling and orchestration, the system strictly follows the principle of prioritizing urgency, preemptively allocating the optimal execution time slice to all high-urgency tasks to ensure the immediate execution of latency-sensitive and urgent business tasks. At the same time, low-urgency background computing tasks and offline preprocessing tasks are staggered in time slice scheduling to achieve staggered operation of high and low load tasks and avoid instantaneous resource congestion caused by concentrated concurrent tasks. For multiple tasks competing for the same... In scenarios involving conflicts in hardware resources of acceleration chips, the system establishes a hierarchical time slice allocation mechanism. It strictly allocates exclusive execution time slices level by level according to the final priority level of the tasks, from highest to lowest. For tasks of the same type with identical priority levels, a fair first-come, first-served scheduling strategy is adopted for timing ordering. Finally, the system completes the time slice arrangement for all resident tasks chip by chip, generating an ordered, conflict-free, and executable complete time slice scheduling sequence on each heterogeneous acceleration chip. It integrates the candidate execution chip sets for each task, the refined resource quota scheme, and the time slice scheduling sequences of each chip, completing structured integration and ultimately generating an initial scheduling scheme for the entire machine that balances optimal resource matching, reasonable timing arrangement, and controllable service latency.

[0015] It should be further explained that the specific process for planning communication topology and data routing paths for multi-card parallel tasks is as follows: For large-scale model training tasks or large language model inference tasks that are determined to require multi-card parallel execution, the communication topology between chips is planned based on the data parallelism of the task, the actual communication link bandwidth and latency between each candidate chip, and the communication overhead minimization strategy. Data routing paths are configured along the communication topology, and the communication order and data transmission protocol for gradient synchronization or intermediate activation value transmission between each chip are specified. Based on the combination of task types deployed on each chip, when the same chip simultaneously carries model training tasks and inference service tasks, a dynamic resource isolation strategy is set for the chip. The dynamic resource isolation strategy includes isolating the training working set and the inference working set through memory partitioning, isolating the training computing flow and the inference computing flow through the computing core binding strategy, and isolating the memory access bandwidth of training tasks and inference tasks through cache partitioning and bandwidth limiting strategies.

[0016] In this embodiment, the system first assesses the computational parallelism requirements of the connected tasks to be scheduled. It automatically identifies large-scale model training tasks with large parameters, high computational dimensionality, and tasks that cannot be handled by a single GPU's computing power and memory, as well as long-sequence inference tasks for large language models. For these multi-GPU parallel tasks, the system no longer uses a fixed network communication mode. Instead, it extracts core task characteristic parameters in real time, such as data parallelism, model sharding rules, gradient synchronization frequency, and intermediate feature transmission volume. Simultaneously, it combines a global dynamic resource view to collect real-time data on the actual link bandwidth, transmission latency, link stability, and channel occupancy status of NVLink, PCIe, and high-speed interconnect channels between candidate co-acceleration chips. With minimizing the overall cross-GPU communication overhead as the core optimization objective, the system dynamically iteratively calculates the optimal chip network connection. The system intelligently plans and constructs a dedicated inter-chip communication topology adapted to the current parallel task. Unlike the communication redundancy and transmission blocking problems of traditional fixed topologies, this topology can perfectly match the parallel computing logic of the task. After determining the communication topology, the system configures fine-grained data routing paths one by one along the topology node links, unifies and standardizes the data flow rules in the multi-card parallel computing process, and precisely defines the transmission timing, communication order, data fragment granularity, and adapted high-speed data transmission protocols for model backward gradient synchronization, forward intermediate activation values, feature tensors, and weight parameter fragments between each acceleration chip. This eliminates problems such as out-of-order transmission, duplicate transmission, and invalid handshakes of multi-card data, significantly reduces the communication redundancy overhead and synchronization latency of multi-card parallel computing, and ensures a high degree of coordination and matching between multi-card computing and data transmission.Meanwhile, for typical deployment scenarios of the all-in-one machine's single-chip training and inference hybrid deployment, the system adaptively configures multi-level dynamic resource isolation strategies for acceleration chips that simultaneously carry offline model training tasks and online inference service tasks, based on the task combination types of real-time mixed deployment of each acceleration chip. This achieves complete decoupling and isolation of hardware resources for the two types of heterogeneous computing tasks. Specifically, the hardware memory management unit logically partitions the chip's physical memory, independently allocating dedicated training and inference memory working sets, strictly prohibiting cross-partition read / write operations for the two types of tasks, thus avoiding data interference at the memory space level. Furthermore, through a refined computational core binding strategy, the iterative computation process of the training task and the real-time computation of the inference task are integrated. Each process is bound to a different physical computing core group on the chip, achieving hardware-level physical isolation between the training and inference computing streams and avoiding core resource contention and interference. At the same time, the on-chip cache is partitioned and managed, and combined with a dynamic bandwidth limiting mechanism, independent memory access bandwidth thresholds and burst transmission limits are configured for training and inference tasks. This accurately isolates the memory access bandwidth resources of the two types of tasks, effectively solving the technical problems of training tasks preempting inference bandwidth, causing inference latency jitter, and inference tasks crowding out training resources, causing a decrease in training throughput in traditional mixed deployment scenarios. While making full use of the idle computing power of a single card to improve the efficiency of mixed training and inference deployment, it comprehensively ensures the low latency stability of online inference services and the continuous iteration performance of offline training services.

[0017] It is important to understand that the specific process for setting up dynamic resource isolation measures and preemption priorities is as follows: Based on the initial priority level and the final priority level after dynamic adjustment of each task, and in combination with the task execution time and resource consumption, the preemption priority of each task in the event of resource conflict is set, and it is stipulated that the task with higher preemption priority can preempt the resource quota currently occupied by the task with lower preemption priority. A resource recovery reservation strategy is set for the preempted task to ensure that the preempted task can resume execution after the resources are released and maintain its service quality not lower than the preset resource utilization threshold. By combining the candidate execution chips and resource quotas for each task, the time slice scheduling sequence on each chip, the communication topology and data routing path of multi-card parallel tasks, the dynamic resource isolation strategy of each chip, and the preemption priority of each task, the initial scheduling scheme is generated by structuring and orchestrating according to a unified scheduling table format.

[0018] In this embodiment, the final priority level of each task after quantization mapping and dynamic load correction is used as the core judgment benchmark. At the same time, it combines the estimated and real-time execution duration of each task to be scheduled, the computing power usage ratio, the amount of video memory resources used, the scale of memory access bandwidth usage, and other multi-dimensional resource usage characteristic parameters. It comprehensively evaluates and uniformly sets the preemption priority level of all concurrent tasks in resource conflict scenarios such as hardware resource contention, time slice conflict, and bandwidth resource congestion. It constructs a hierarchical and logically closed-loop task preemption scheduling mechanism, which clearly defines that high preemption priority tasks can legally preempt the computing cores, video memory partitions, memory access bandwidth, and other resource quotas currently occupied by low preemption priority tasks in scenarios such as insufficient resources, tight business latency, and sudden traffic access, so as to prioritize the service quality of high real-time and high-importance services. Meanwhile, to avoid extreme problems such as forced interruption, execution crash, loss of computation progress, and complete task freeze caused by high-priority tasks preempting resources, this embodiment specifically configures a comprehensive resource recovery reservation strategy for preempted tasks. Before each resource preemption action is triggered, the system automatically reserves a fixed proportion of basic computing power resources, minimum video memory quota, and basic communication bandwidth resources for the preempted low-priority tasks. This ensures that the preempted tasks can still maintain a minimum background running state during the operation phase when resources are partially deprived, ensuring that their overall service quality and overall resource utilization are always maintained above the system's preset minimum performance threshold. This effectively eliminates the defects that are easily caused by traditional preemptive scheduling, such as low-priority task freeze, restart and retry, progress zeroing, and resource idleness, and achieves the compatible coexistence and stable scheduling of high and low priority tasks. After configuring the preemption priority mechanism and dynamic resource isolation strategy, the system will uniformly collect and structurally integrate all the scheduling dimension information generated in the early stage. Specifically, this includes the candidate execution chip list matched by each task, the resource quota parameters such as the finely allocated computing cores, memory partitions, and bandwidth shares for each task, the task time slice scheduling sequence generated on each acceleration chip according to urgency and priority, the communication topology and data routing transmission path specifically planned for multi-card parallel tasks, the dynamic software and hardware resource isolation and control strategy corresponding to the single-chip training and push hybrid deployment, and the standardized preemption priority level information of all tasks. The system will map, organize, and fill the fields of the above-mentioned multi-dimensional heterogeneous scheduling parameters one by one according to the preset standardized scheduling table data format, and complete the unified fusion, deduplication verification, conflict correction, and structural solidification of multi-source scheduling information. Finally, a globally unified initial scheduling scheme with reasonable resource allocation, orderly time slice arrangement, efficient cross-card communication, resource isolation security, and standardized task preemption will be generated.

[0019] Step S3: Based on the initial scheduling scheme, allocate the hardware resources of each accelerator card to the corresponding task, perform computing core binding, memory partitioning and access policy configuration, and establish communication links between multi-card tasks according to the planned communication topology, and deploy each task to the target chip for execution.

[0020] It needs to be explained that the specific process for performing compute core binding, memory partitioning settings, and access policy configuration is as follows: Based on the target execution chip and resource quota allocated to each task in the initial scheduling scheme, an operation instruction sequence for each accelerator card is generated. The operation instruction sequence includes computing core binding instructions, video memory partitioning instructions, and access policy configuration instructions. Based on the computation core binding instructions in the operation instruction sequence, the computation cores of each task are bound to the specified set of computation units on the target accelerator card. The binding operation is executed sequentially according to the task priority level from high to low, with high-priority tasks being bound to the core set with the lowest access latency and optimal performance. Specifically, for GPU chips, binding includes specifying the streaming multiprocessor partition or computation core mask; for NPU chips, binding includes specifying the number and core number of AI cores; and for FPGA chips, binding includes specifying the logical block address of the reconfigurable computation region. According to the memory partitioning instructions in the operation instruction sequence, the memory management driver of each accelerator card is called to divide an independent memory partition for each task in the physical memory address space of the target accelerator card. The video memory partitioning settings include: allocating an independent video memory workspace for each task, and configuring the starting address, capacity, and access permissions of the workspace; for the same accelerator card, the video memory is divided into a training-dedicated partition, an inference-dedicated partition, and a shared dynamic cache partition. The training-dedicated partition and the inference-dedicated partition are isolated from each other by the hardware memory management unit, and cross-partition access is prohibited. The shared dynamic cache partition is used to temporarily store intermediate tensors generated by the training task or model weight fragments read by the inference task, and the scheduler dynamically adjusts the quota ratio of this shared partition among the tasks.

[0021] The process of executing compute core binding, memory partitioning settings, and access policy configuration also includes: Based on the access policy configuration instructions in the operation instruction sequence, the access policies for each task to its respective video memory partition and shared dynamic cache partition are set. The access policies include: setting the read and write permissions of each partition to read-only, write-only, or a combination of read and write; setting the memory access bandwidth limit and burst transmission peak for each task, and configuring the rate limit through the chip's on-chip network bandwidth controller or memory controller interface; setting the priority policy for video memory access, so that high-priority tasks have priority arbitration rights when competing for video memory bandwidth; for tasks configured with shared dynamic cache partitions, setting a bandwidth allocation policy based on the token bucket algorithm, so that each task dynamically obtains the access token of the shared partition according to its priority weight and real-time memory access needs. For multiple subtasks marked as multi-card parallel tasks in the scheduling scheme, based on the planned communication topology and data routing path, the interconnection interface between each accelerator card (including NVLink, PCIe or dedicated high-speed interconnection interface between chips) is called to establish an end-to-end communication link between each card, configure the communication buffer size, transmission timeout threshold and error retransmission policy, and bind the established communication link to the computing core and memory partition corresponding to each subtask to form a data pass-through path.

[0022] In this embodiment, after generating a complete and executable global initial scheduling scheme, based on the target execution acceleration chip precisely matched to each AI task to be run in the initial scheduling scheme and the corresponding fine-grained resource quota parameters, the system automatically parses and generates a sequence of underlying hardware operation instructions for each GPU, NPU, and FPGA heterogeneous acceleration card. This instruction sequence is standardized to include three types of control instructions that can be directly recognized and executed by the hardware driver: computing core binding instructions, physical memory partitioning configuration instructions, and memory and bandwidth access policy configuration instructions. This achieves precise mapping and automated configuration of upper-level scheduling policies to lower-level hardware resources. During the hardware resource binding phase, the system strictly follows the principle of ordered binding based on task priority, issuing core binding instructions one by one according to the final priority level of each task from high to low, ensuring that real-time priority and high-priority tasks are prioritized. Latency-sensitive inference tasks and critical training tasks are prioritized for binding to the physical computing cores of each accelerator card with the lowest access latency, optimal throughput, and highest scheduling priority. This effectively ensures the basic computing performance and real-time performance of high-level tasks. Differentiated and adaptive precise binding methods are adopted for different types of heterogeneous chips. For GPU chips, precise exclusive binding of computing resources is achieved by configuring the physical partition number of the streaming multiprocessor and the computing core mask parameters to avoid random core resource preemption. For NPU chips, the fixed-point allocation of computing resources is achieved by precisely specifying the number of bound AI cores and the physical core number. For FPGA reconfigurable accelerator chips, the precise mapping of task computing logic and hardware logic resources is achieved by specifying the logical block address of the specific reconfigurable computing region, realizing the fine-grained and differentiated binding deployment of heterogeneous computing power.After completing the computing core binding operation, the system calls the dedicated memory management driver for each accelerator card to perform logically refined partitioning and isolation configuration of the target accelerator card's complete physical memory address space. This allows for the independent allocation of a dedicated memory working area for each deployed AI task, and precise configuration of the physical starting address, effective storage capacity, addressing range, and basic access permissions for each memory working area, preventing overlap and interference between different task memory address spaces. To adapt to the operating scenario of the all-in-one training-inference hybrid unit, this embodiment uniformly divides the overall memory resources of a single accelerator card into three functional partitions: a dedicated training memory partition, a dedicated inference memory partition, and a globally shared dynamic cache partition. The dedicated training partition and the dedicated inference partition are physically isolated by the chip hardware memory management unit, strictly prohibiting cross-partition read / write, illegal addressing, and data tampering for both types of tasks. This ensures the security of task data operation and the independence of computation from the hardware level. The shared dynamic cache partition is specifically used to temporarily cache intermediate computation tensors and gradient parameters generated in real time during model training, as well as weight fragments and feature data required for model inference. At the same time, the scheduling system can dynamically and adaptively adjust the quota allocation ratio of the shared cache partition among different training and inference tasks based on the real-time memory throughput pressure and running status of each task, maximizing the utilization of idle memory resources and improving memory space utilization. Building upon this foundation, the system further configures comprehensive memory access control based on preset access policy configuration instructions. It sets granular read / write permission policies for dedicated memory partitions and shared dynamic cache partitions for different tasks, flexibly setting read-only, write-only, and bidirectional read / write permission combinations to adapt to the data read / write characteristics of different tasks. Simultaneously, it configures dedicated memory access bandwidth limits and burst transmission peaks for each task's memory access behavior, and implements hardware-level speed limiting through the on-chip network bandwidth controller and memory controller interface to prevent single-task monopolization of memory access bandwidth from causing memory access blockage for other tasks. The system also synchronously configures a memory access arbitration priority mechanism, prioritizing the response to memory access requests from high-priority tasks when multiple tasks concurrently compete for memory bandwidth resources, ensuring stable memory access latency for high-priority tasks. For tasks occupying shared dynamic cache partitions, this embodiment introduces a token bucket bandwidth scheduling algorithm, dynamically distributing access tokens based on the priority weight of each task and real-time memory access throughput requirements, achieving fair, efficient, and dynamic allocation of shared cache bandwidth resources and avoiding disorderly contention of shared resources.In addition, for large model training and large-scale inference tasks marked as multi-card parallel execution in the scheduling scheme, the system relies on the multi-card communication topology and data routing path planned in the early stage. It actively calls the NVLink, high-speed PCIe and dedicated high-speed interconnect interfaces between chips inside the all-in-one machine to automatically build end-to-end dedicated data communication links between multiple accelerator cards. It finely configures the communication buffer capacity, data transmission timeout threshold and link abnormal error retransmission mechanism to ensure the stability and reliability of cross-card data transmission. At the same time, it strongly associates the built dedicated communication links with the bound computing cores and independent memory partitions corresponding to each parallel subtask, and builds a hardware-level dedicated data direct transmission path. This significantly shortens the data interaction latency of multi-card parallel computing and reduces cross-card communication overhead. Finally, it realizes a comprehensive, fine-grained, isolated and controllable hardware deployment configuration of computing cores, memory resources, memory access bandwidth and cross-card communication links, providing underlying hardware support for the stable, efficient and low-interference operation of subsequent tasks.

[0023] Step S4: During task execution, continuously monitor the real-time inference latency and training throughput of each task, and dynamically adjust resource quotas, trigger task migration, or reorder priorities based on the real-time inference latency and training throughput.

[0024] Furthermore, the specific process for dynamically adjusting resource quotas, triggering task migration, or reprioritizing based on real-time inference latency and training throughput is as follows: According to the preset sampling period, the average inference latency, tail latency (including P90, P95 and P99 quantile latency), and number of samples or tokens of each inference service task are continuously collected; the collected real-time performance indicators are compared with the preset performance thresholds of each task, and the performance deviation rate of each task is calculated. When the tail latency of any inference service task exceeds the threshold specified in its service level agreement, or the throughput of any training task is lower than the threshold specified in its service level agreement, the task is marked as a task to be adjusted. Based on the current resource utilization rate of the task, performance anomalies are classified into resource shortage anomalies, resource contention anomalies, or chip overheating anomalies. For inference service tasks marked as resource-insufficient anomalies, when the idle resource quota of the target chip exceeds the minimum resource increment requirement of the task, dynamic adjustment of the resource quota will be prioritized, specifically: Increase the memory partition capacity and computing core allocation of the task according to the preset step size, and correspondingly reduce the resource quota of low-priority tasks on the same chip according to the preset step size. Reconfigure the bandwidth weight parameters in the access strategy so that the task can obtain a higher memory access bandwidth share. For training tasks marked as resource-deficient anomalies, prioritize increasing their GPU memory partition capacity to accommodate larger batch sizes or longer sequence lengths, and correspondingly increase their time slice lengths.

[0025] Dynamically adjusting resource quotas, triggering task migrations or reprioritization based on real-time inference latency and training throughput, and also including: When the idle resource quota of the target chip is less than the preset minimum resource increment for the task, it is determined that the current chip resources cannot meet the service quality requirements of the task, triggering task migration. Specifically: Based on the current available computing power, available video memory, communication distance and load status of other chips in the global dynamic resource view, the migration cost minimization algorithm is adopted to select the target chip with the lowest migration cost and that can meet the resource requirements of the task. The current execution state of the task (including model weight parameters, optimizer state, intermediate computing cache and communication link context) is migrated to the target chip through the high-speed interconnect interface, and the global dynamic resource view and the communication topology of each task are updated after the migration is completed. When a task migration fails to execute due to insufficient target chip resources or a communication link interruption, a task priority reordering is triggered, specifically as follows: The priority of the task to be adjusted is temporarily increased to the real-time priority level, and the updated scheduling scheme is regenerated according to the increased priority level. The time slice sequence on each chip is reallocated according to the updated scheduling scheme, and all currently running tasks are preempted or smoothly switched according to the updated scheduling scheme.

[0026] Dynamically adjusting resource quotas, triggering task migrations or reprioritization based on real-time inference latency and training throughput, and also including: If the tail latency or throughput metrics recover to the preset performance threshold range for each task, the adjustment is confirmed as successful and the current configuration is maintained. If the performance indicators of the task still fail to meet the target after a preset number of consecutive adjustments, the adjustment will be abandoned and the resource configuration will be rolled back to the state before the adjustment. The task will be marked as a high-priority guaranteed task, and a dedicated computing core and video memory partition will be reserved for the task to prevent other tasks from taking over its resources. Record the triggering reason, adjustment type, adjustment parameters, and adjustment effect of each adjustment operation in the adjustment log.

[0027] In this embodiment, all online inference service tasks and offline model training tasks are continuously sampled at a preset fixed sampling period to collect full-dimensional performance data. For inference tasks, the average inference latency, P90, P95, P99 higher-order tail latency, and the number of tokens processed per unit time are accurately collected. For training tasks, core operating indicators such as sample processing throughput and iteration speed are continuously collected. Then, the collected real-time performance data is accurately compared with the service level protocol performance thresholds pre-configured for each task to quantify and calculate the performance deviation rate of each task, thereby objectively judging whether the current operating status of the task meets the standard. When it is detected that the higher-order tail latency of any inference task exceeds the preset threshold, or the actual operating throughput of any training task is lower than the minimum throughput index specified by the protocol, the system automatically marks the task with substandard performance as a task to be adjusted. At the same time, combined with the real-time computing power utilization, memory usage, bandwidth usage status, temperature and power consumption data of the acceleration chip where the task is located, the root cause of the task performance abnormality is accurately classified into three categories: resource shortage anomaly, resource contention anomaly, and chip overheating and frequency reduction anomaly, providing a basis for judgment for differentiated and precise optimization. For the most prevalent resource-insufficient anomaly tasks, the system implements a hierarchical dynamic resource adjustment strategy. If the anomaly task is an inference service task, and the remaining free resource quota of the current accelerator card can cover the minimum resource increment requirement preset for the task, the system will gradually increase the number of bound computing cores and the capacity of the dedicated video memory partition for the task according to a preset fixed tuning step size. At the same time, it will slightly reduce the resource quota ratio of low-priority tasks within the same chip, reconfigure the weight allocation parameters of on-chip memory access bandwidth, improve the bandwidth arbitration priority and resource usage share of the anomaly inference task, and quickly alleviate the problem of excessive inference latency. If the anomaly task is a model training task, its video memory partition capacity will be expanded first to support larger training batch sizes and longer text sequence lengths. At the same time, the chip execution time slice length of the task will be extended to effectively improve the training iteration throughput and fix the performance anomaly problem.During in-situ resource optimization, if the system determines that the current idle resource quota of the accelerator card cannot meet the minimum incremental requirements of the task, and in-situ optimization is ineffective, the minimum cost task migration mechanism is immediately triggered. The system traverses the global dynamic resource view, comprehensively compares the available computing power, remaining video memory capacity, cross-card communication distance, link latency, and overall system load status of each idle accelerator chip, and selects the target chip that can fully adapt to the task resource requirements and has the lowest migration overhead through the migration cost minimization algorithm. Then, through the high-speed interconnect interface of the all-in-one machine, the real-time running context of the task is completely migrated, including model weight parameters, optimizer iteration status, and intermediate computation cache data. In addition to communication link configuration information, the system updates the global resource view of the entire machine and the multi-card communication topology immediately after the task migration is completed, ensuring seamless task continuation and no progress loss. If the task migration cannot be executed smoothly due to factors such as tight overall machine resources or cross-card link failure, the system immediately starts the task priority reordering mechanism, temporarily raising the priority of the abnormal task to the highest real-time priority level, and regenerating a new scheduling scheme based on the updated task priority and overall machine resource status. The system resets the task time slice scheduling sequence of each accelerator card, and prioritizes the supply of computing resources for abnormal tasks through smooth time slice switching or reasonable resource preemption. After each dynamic adjustment operation, the system continuously monitors the recovery status of task performance indicators. If core indicators such as task tail latency and throughput fall back to the preset threshold range, the dynamic optimization is considered successful and the current hardware and software resource configuration is fixed. If the task performance still fails to meet the standard after multiple consecutive optimization operations preset by the system, the optimization process is automatically terminated, and the task is rolled back to the original resource configuration state before the adjustment. At the same time, the task is marked as a high-priority protection task, and a dedicated fixed computing core and independent video memory partition are locked for it to prevent other tasks in the system from preempting its protection resources, thereby ensuring the steady-state operation of critical tasks.

[0028] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope and intent of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and variations.

Claims

1. A method for intelligent dynamic scheduling of computing power for an AI arithmetic all-in-one machine, characterized in that, Includes the following steps: Step S1: Collect load data of the target AI arithmetic all-in-one machine in real time to form a global dynamic resource view, and obtain multiple AI tasks to be scheduled, and analyze the task type and priority level of each task; the load data includes computing power utilization, memory usage, communication bandwidth, power consumption and temperature. Step S2: Based on the real-time collected load data, global dynamic resource view, and the priority of each task, allocate target execution resource quotas and execution time slices to each task, plan communication topology and data routing paths for multi-card parallel tasks, set dynamic resource isolation measures and preemption priorities, and generate an initial scheduling scheme. Step S3: Based on the initial scheduling scheme, allocate the hardware resources of each accelerator card to the corresponding task, perform computing core binding, memory partitioning and access policy configuration, and establish communication links between multi-card tasks according to the planned communication topology, and deploy each task to the target chip for execution. Step S4: During task execution, continuously monitor the real-time inference latency and training throughput of each task, and dynamically adjust resource quotas, trigger task migration, or reorder priorities based on the real-time inference latency and training throughput.

2. The intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine as described in claim 1, characterized in that: The specific process for parsing the task type and priority level of each task is as follows: Receive task submission requests and extract task identifiers, user-specified service level agreement parameters, computing resource requirements, data dependencies, and real-time constraint parameters from the request header and task description file; Based on the computation mode identifier carried in the task description file or the type of core operator invoked, the task is classified into at least one of the following: model training task, model inference task, data preprocessing task, or hybrid task. If the computation mode is not explicitly identified in the task description file, it will be identified through static code analysis or runtime dynamic monitoring of the interface types of the underlying acceleration library called by the task. Based on the upper limit of response latency, the lower limit of throughput, and the task importance tag in the service level agreement parameters, and in combination with the preset priority mapping rules, an initial priority level is assigned to the task. The initial priority level includes at least real-time priority, high priority, medium priority, and low priority. The preset priority mapping rule is used to convert the upper limit of response latency, the lower limit of throughput, and the task importance label in the service level agreement parameters of the task into the initial priority level of the task according to the predefined level quantification standard. The initial priority level is dynamically adjusted based on the current computing power utilization and memory usage from the real-time collected load data. Specifically: If the current computing power utilization or memory usage exceeds the first preset threshold, the priority level of non-real-time tasks will be reduced by one level. If the current computing power utilization and memory usage are both lower than the second preset threshold, the priority level of the tasks in the waiting queue will be increased by one level. If the current execution delay of a task exceeds the preset delay tolerance threshold, the task priority will be temporarily raised to the real-time priority level, and the final priority level will be output.

3. The intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine as described in claim 1, characterized in that: The specific process for generating the initial scheduling scheme is as follows: Based on the estimated resource requirements, memory capacity requirements, and bandwidth requirements of each task, and combined with the current available computing power, available memory, and idle bandwidth of each acceleration chip in the global dynamic resource view, a set of candidate execution chips and a corresponding resource quota scheme are generated for each task. The resource quota scheme includes the allocated number of computing cores, memory partition size, and bandwidth share. The specific process for executing the time slice is as follows: Based on the priority level, estimated execution time, and upper limit of response latency specified by the service quality of each task, the time difference between the task deadline and the current scheduling time is used as the scheduling urgency index. The urgency index includes high-urgency tasks and low-urgency tasks. High-urgency tasks are given priority in time slice allocation, while low-urgency tasks are scheduled with staggered time slice allocation. When multiple tasks compete for the same chip resource, time slices are allocated in descending order of priority. Tasks of the same priority are sorted according to a first-come, first-served strategy, generating a time slice scheduling sequence for each chip.

4. The intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine as described in claim 1, characterized in that: The specific process for planning communication topology and data routing paths for multi-card parallel tasks is as follows: For large-scale model training tasks or large language model inference tasks that are determined to require multi-card parallel execution, the communication topology between chips is planned based on the data parallelism of the task, the actual communication link bandwidth and latency between each candidate chip, and the communication overhead minimization strategy. Data routing paths are configured along the communication topology, and the communication order and data transmission protocol for gradient synchronization or intermediate activation value transmission between each chip are specified. Based on the combination of task types deployed on each chip, when the same chip simultaneously carries model training tasks and inference service tasks, a dynamic resource isolation strategy is set for the chip. The dynamic resource isolation strategy includes isolating the training working set and the inference working set through memory partitioning, isolating the training computing flow and the inference computing flow through the computing core binding strategy, and isolating the memory access bandwidth of training tasks and inference tasks through cache partitioning and bandwidth limiting strategies.

5. The intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine as described in claim 1, characterized in that: The specific process for setting dynamic resource isolation measures and preemption priority is as follows: Based on the initial priority level and the final priority level after dynamic adjustment of each task, and in combination with the task execution time and resource consumption, the preemption priority of each task in the event of resource conflict is set, and it is stipulated that the task with higher preemption priority can preempt the resource quota currently occupied by the task with lower preemption priority. A resource recovery reservation strategy is set for the preempted task to ensure that the preempted task can resume execution after the resources are released and maintain its service quality not lower than the preset resource utilization threshold. By combining the candidate execution chips and resource quotas for each task, the time slice scheduling sequence on each chip, the communication topology and data routing path of multi-card parallel tasks, the dynamic resource isolation strategy of each chip, and the preemption priority of each task, the initial scheduling scheme is generated by structuring and orchestrating according to a unified scheduling table format.

6. The intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine as described in claim 1, characterized in that: The specific process for executing the computing core binding, video memory partitioning settings, and access policy configuration is as follows: Based on the target execution chip and resource quota allocated to each task in the initial scheduling scheme, an operation instruction sequence for each accelerator card is generated. The operation instruction sequence includes computing core binding instructions, video memory partitioning instructions, and access policy configuration instructions. According to the computing core binding instructions in the operation instruction sequence, the computing cores of each task are bound to the specified set of computing units on the target accelerator card; the binding operation is executed in order of task priority from high to low, and high priority tasks are bound to the core set with the lowest access latency and the best performance. According to the memory partitioning instructions in the operation instruction sequence, the memory management driver of each accelerator card is called to divide an independent memory partition for each task in the physical memory address space of the target accelerator card. The video memory partitioning settings include: allocating an independent video memory working area for each task, and configuring the starting address, capacity, and access permissions of the working area; for the same accelerator card, the video memory is divided into a training-dedicated partition, an inference-dedicated partition, and a shared dynamic cache partition. The training-dedicated partition and the inference-dedicated partition are isolated from each other by a hardware memory management unit to prevent cross-partition access. The shared dynamic cache partition is used to temporarily store intermediate tensors generated by the training task or model weight fragments read by the inference task, and the scheduler dynamically adjusts the quota ratio of the shared partition among the tasks.

7. The intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine as described in claim 6, characterized in that: The configuration of execution computing core binding, video memory partitioning, and access strategy also includes: According to the access policy configuration instructions in the operation instruction sequence, the access policy of each task to its respective video memory partition and shared dynamic cache partition is set; the access policy includes: setting the read and write permissions of each partition to read-only, write-only, or a combination of read and write; setting the upper limit of memory access bandwidth and burst transmission peak of each task, and configuring the rate limit through the chip's on-chip network bandwidth controller or memory controller interface; setting the priority policy for video memory access, so that high-priority tasks have priority arbitration rights when competing for video memory bandwidth; for tasks configured with shared dynamic cache partitions, setting a bandwidth allocation policy based on the token bucket algorithm, so that each task dynamically obtains the access token of the shared partition according to its priority weight and real-time memory access needs; For multiple subtasks marked as multi-card parallel tasks in the scheduling scheme, based on the planned communication topology and data routing path, the interconnection interface between each accelerator card is called to establish an end-to-end communication link between each card, the communication buffer size, transmission timeout threshold and error retransmission policy are configured, and the established communication link is bound to the computing core and memory partition corresponding to each subtask to form a data pass-through path.

8. The intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine as described in claim 1, characterized in that: The specific process for dynamically adjusting resource quotas, triggering task migration, or reprioritizing tasks based on real-time inference latency and training throughput is as follows: According to the preset sampling period, the average inference latency, tail latency, and number of samples or tokens of each inference service task are continuously collected; the collected real-time performance indicators are compared with the preset performance thresholds of each task, and the performance deviation rate of each task is calculated. When the tail latency of any inference service task exceeds the threshold specified in its service level agreement, or the throughput of any training task is lower than the threshold specified in its service level agreement, the task is marked as a task to be adjusted. Based on the current resource utilization rate of the task, performance anomalies are classified into resource shortage anomalies, resource contention anomalies, or chip overheating anomalies. For inference service tasks marked as resource-insufficient anomalies, when the idle resource quota of the target chip exceeds the minimum resource increment requirement of the task, dynamic adjustment of the resource quota will be prioritized, specifically: Increase the memory partition capacity and computing core allocation of the task according to the preset step size, and correspondingly reduce the resource quota of low-priority tasks on the same chip according to the preset step size. Reconfigure the bandwidth weight parameters in the access strategy so that the task can obtain a higher memory access bandwidth share. For training tasks marked as resource-deficient anomalies, prioritize increasing their GPU memory partition capacity to accommodate larger batch sizes or longer sequence lengths, and correspondingly increase their time slice lengths.

9. The intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine as described in claim 8, characterized in that: The method of dynamically adjusting resource quotas, triggering task migration, or reprioritizing based on real-time inference latency and training throughput also includes: When the idle resource quota of the target chip is less than the preset minimum resource increment for the task, it is determined that the current chip resources cannot meet the service quality requirements of the task, triggering task migration. Specifically: Based on the current available computing power, available video memory, communication distance and load status of other chips in the global dynamic resource view, the migration cost minimization algorithm is adopted to select the target chip with the lowest migration cost and that can meet the resource requirements of the task. The current execution state of the task is migrated to the target chip through the high-speed interconnect interface, and the global dynamic resource view and the communication topology of each task are updated after the migration is completed. When a task migration fails to execute due to insufficient target chip resources or a communication link interruption, a task priority reordering is triggered, specifically as follows: The priority of the task to be adjusted is temporarily increased to the real-time priority level, and the updated scheduling scheme is regenerated according to the increased priority level. The time slice sequence on each chip is reallocated according to the updated scheduling scheme, and all currently running tasks are preempted or smoothly switched according to the updated scheduling scheme.

10. The intelligent computing power dynamic scheduling method for an AI arithmetic all-in-one machine as described in claim 9, characterized in that: The method of dynamically adjusting resource quotas, triggering task migration, or reprioritizing based on real-time inference latency and training throughput also includes: If the tail latency or throughput metrics recover to the preset performance threshold range for each task, the adjustment is confirmed as successful and the current configuration is maintained. If the performance indicators of the task still fail to meet the target after a preset number of consecutive adjustments, the adjustment will be abandoned and the resource configuration will be rolled back to the state before the adjustment. The task will be marked as a high-priority guaranteed task, and a dedicated computing core and video memory partition will be reserved for the task to prevent other tasks from taking over its resources. Record the triggering reason, adjustment type, adjustment parameters, and adjustment effect of each adjustment operation in the adjustment log.