Three-dimensional stacked failure-aware inference routing method for multi-core ai accelerator
By evaluating the health and path reliability of the multi-core 3D stacked AI accelerator and dynamically adjusting task routing, the failure issues of computing cores and storage banks were resolved, ensuring the reliable operation and efficient utilization of the AI accelerator.
Patent Information
- Application Number
- CN202611410000.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-27
AI Technical Summary
In multi-core 3D stacked AI accelerators, computing cores, storage banks, and inter-layer vertical interconnects may fail or degrade in performance. Existing technologies have failed to effectively perform online fine-grained awareness and dynamic routing of hardware health status, resulting in inference service interruptions or resource waste.
Continuous health scoring and three-state criteria are adopted to classify resource nodes into healthy, degraded and failed nodes by scoring their health. Combined with link reliability assessment of candidate paths, a routing cost function is constructed to select the optimal path for rerouting. When the failure is severe, graded degradation and resource remapping are performed.
It achieves fine-grained online fault tolerance during inference services, avoids overall resource downtime, maintains computational accuracy and service continuity, and improves resource utilization and reliability.
Smart Images

Figure CN123185121A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of chip interconnect processing technology, specifically relating to a three-dimensional stacked failure-aware reasoning routing method for multi-chip AI accelerators. Background Technology
[0002] Multi-chiplet AI accelerators typically consist of multiple compute chips, I / O chips, high-bandwidth memory (HBM) stacks, and interposer / 3D stacked interconnects. The compute chips handle tensor operations and expert calculations, the memory banks handle weight and key-value caching, and through-silicon vias (TSVs), hybrid bonding, and microbumps form the interlayer vertical interconnects. As interconnect density and system scale increase, the probability of soft errors, performance degradation, or even permanent failure in a single vertical link, a single memory bank, or a single compute core increases significantly. Simultaneously, thermal accumulation, device aging, and load fluctuations during long-term online inference services further amplify these failures.
[0003] Chinese patent (publication number: CN122285395A) discloses a wafer-level reconfigurable dataflow chip and a fault-tolerant method for task execution. The chip includes multiple processing units, multiple memories corresponding one-to-one with the processing units, and an on-chip network. When a downstream processing unit fails, the current processing unit determines a backup processing unit within the neighborhood of the failed unit. The memory stores a local routing table and a shadow context, and the on-chip network routes the data flow to the backup processing unit, which then continues execution based on the shadow context and the data to be processed. However, when dealing with homogeneous wafer-level processing unit arrays, the backup unit is replaced by the nearest one in the neighborhood, without joint reliability modeling for heterogeneous multi-chips, inter-layer vertical interconnects, and cross-layer storage. The overall continuation is done at the processing unit granularity, without introducing routable units segmented according to model semantics, and also lacks graded degradation based on the severity of failure.
[0004] Chinese patent (CN121691233A) discloses a fault detection and fault-tolerant routing method based on node classification, which categorizes nodes according to their functional state and spatial location. In static fault scenarios, fault nodes and directions are marked based on prior structural information. In dynamic fault scenarios, fault identification and real-time updates are achieved through handshake timeout, port counter timeout detection, and link confirmation. When the target output port is in the fault direction, route recalculation is triggered, prioritizing the selection of the shortest backup path according to dimensional order. If this is not feasible, a detour is performed using an odd-even turning model, achieving deadlock-free obstacle avoidance. However, when addressing link-level obstacle avoidance in two-dimensional mesh homogeneous NoCs, routing decisions are based solely on fault / non-fault binary direction information, without introducing cost optimization through continuous health scores and reliability constraints. It does not involve three-dimensional vertical interconnection and cross-layer storage, nor is it aware of upper-layer model subgraph dependencies and service quality constraints, making it unable to perform hierarchical remapping for inference tasks under partial failures.
[0005] Chinese patent (CN122287548A) discloses a method for co-optimizing thermal management and signal integrity in three-dimensional stacked packaging. This method acquires heat source and signal path data, calculates the temperature field and heat flux density, identifies the intersection of thermal and electrical paths and quantifies the thermal-electric coupling strength, iteratively offsets the signal path along the vertical direction of the heat flux density gradient to weaken coupling, and then re-lays out the signal path and adjusts the vertical interconnects. However, this method is a static co-optimization at the design layout stage; it does not collect failure status data during runtime, does not perform dynamic rerouting for inference tasks, and does not form a closed loop between runtime hardware health feedback and upper-layer task scheduling.
[0006] Chinese patent (CN122287353A) discloses a multi-core packaging and optical interconnect cluster cross-layer optimization method for training large language models. It constructs a design space including a core hardware architecture layer, an optical interconnect network layer, and a training parallel strategy layer. Through outer / inner layer search, it collaboratively optimizes the optical interconnect network topology and training parallel strategy, outputting the Pareto optimal design point on the training performance and cluster cost plane. However, during the offline search for the training cluster design phase, the objective is performance / cost Pareto optimality, without involving runtime failure awareness and inference task rerouting, nor does it involve health-driven reliability-constrained routing.
[0007] In summary, during the operation of a multi-core 3D stacked AI accelerator, the computing cores, storage banks, cores, and inter-layer vertical interconnects may all experience failures or performance degradation. To address this issue, it is necessary to achieve online, fine-grained awareness of hardware health status. By dynamically routing and remapping inference tasks, tasks can be scheduled to normally functioning hardware units, preventing local failures from causing coarse-grained downtime of the entire resource set. This ensures uninterrupted inference service operation while maintaining computational accuracy, thus maintaining system throughput availability. Summary of the Invention
[0008] The purpose of this invention is to provide a three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators, which replaces the binary fault criterion with continuous health scores and three-state criteria, and improves the reliability of the link by combining the health of the two end nodes and the link error probability.
[0009] The technical solution adopted in this invention is a three-dimensional stacked failure-aware reasoning routing method for multi-core AI accelerators. Specifically, it involves: calculating a health score for each resource node, and classifying nodes into healthy nodes, degraded nodes, and failed nodes based on the health score; the overall reliability of the link of a degraded node is determined by the health of the two end nodes and the intrinsic transmission reliability of the link; evaluating all candidate paths, constructing a routing cost function, and selecting the candidate path with the minimum routing cost function for rerouting; when degradation causes the existing path of a routable unit to no longer meet the constraints, determining the corresponding set of affected units, reusing the candidate path generation and routing cost evaluation mechanism to minimize the sum of the total routing cost and migration overhead, and updating the service remapping path. The specific steps are as follows: Step 1: Calculate the health score and its sampling timestamp for each resource node, and update the health score using a sliding window. Step 2: Based on the health score, nodes are divided into three states: healthy nodes, degraded nodes, and failed nodes; healthy nodes are added to the healthy set and continue to maintain the current route; failed nodes are added to the failed set and removed from the routable set; for degraded nodes, the affected routable units are located, and the link reliability and candidate path are updated in the subsequent steps. Step 3: The overall reliability of the link of the degraded node is determined by the health of the two end nodes and the intrinsic transmission reliability of the link. Step 4: After obtaining the health status and link reliability of each node, evaluate all candidate paths; for candidate path P, normalize the end-to-end delay, link unreliability and load of the nodes along the path, and construct the routing cost function. Step 5, Calculate the path The reliability of the link is the product of the reliability of each link: Step 6: Obtain all candidate reachable paths between nodes. First, filter feasible paths according to reliability, bandwidth, and latency constraints. Then, select the candidate path with the smallest routing cost function from the feasible set for rerouting. If multiple paths have the same cost, prioritize the path with lower migration overhead and newer version number for rerouting. Step 7, Remapping Target: When degradation causes existing paths of routable units to no longer satisfy constraints, determine the corresponding set of affected units, reuse the candidate path generation and routing cost evaluation mechanism established in Steps 4-6, and the router will remap the target for this set of units. Re-run the optimization solution to minimize the sum of total routing cost and migration overhead, and update the service remapping path.
[0010] The invention is further characterized by: In step 1, for each resource node The health score is calculated by weighting the normalized error rate, retransmission rate, temperature occupancy, and self-test score, with a value range of [value missing]. ;
[0011] in, For nodes Health score; For nodes Normalized error rate; For nodes Normalized retransmission rate; For nodes Normalized temperature occupancy rate; For nodes The score for passing the self-test; The weight of the error rate item in the health score; The weight of the retransmission rate item in the health score; The weight of the temperature item in the health score; The weights of the self-test items in the health score are: .
[0012] In step 2, when When, it is judged as a healthy node; when When, it is judged as a degraded node; when When this happens, it is judged as a failed node; in, A threshold is set for the level of health. The threshold for the health status of failure; Healthy nodes are added to the healthy set and continue to maintain the current route; failed nodes are added to the failed set and removed from the routable set; degraded nodes are added to the degraded set and retained.
[0013] In step 3, the overall reliability of the link of the degraded node is determined by the health of the two end nodes and the intrinsic transmission reliability of the link.
[0014] in, The reliability of the link is set to a value of [value to be filled in]. ; This represents the probability of bit error / packet loss in the link.
[0015] In step 4, the routing cost function is:
[0016] in, For path The routing cost function; For the link latency; For nodes Load utilization rate; The weight of the delay term in the routing cost; The weight of the reliability term in the routing cost; This represents the weight of the load item in the routing cost.
[0017] In step 5, the path The reliability is:
[0018] in, For path The reliability of.
[0019] In step 6, the candidate path must simultaneously meet the constraints of reliability, bandwidth, and latency, i.e. , and The end-to-end delay is the sum of the delays of each link.
[0020] in, This represents the lower limit of path reliability. For path Available bandwidth; The bandwidth requirements for routable units; This represents the upper limit of latency for routable units; The selection rule is: verify first. , and Then solve in the feasible set. If the feasible set is empty, proceed to step 7 for downgrading or remapping paths, and do not output paths that violate reliability constraints.
[0021] In step 7, the router sets up the affected unit set. Resolve the problem to minimize the sum of the total routing cost and migration overhead:
[0022] in, For unit Remapping / state transition overhead; The migration penalty weights in the remapping target.
[0023] The beneficial effects of this invention are: (1) Online fine-grained fault tolerance: Compared with static shielding during the design / production period and offline optimization, this invention can detect soft failures and degradation in real time during the inference and runtime period and dynamically reroute, avoiding the shortcomings of offline bad block shielding in responding to runtime degradation.
[0024] (2) Continuous health rating replaces binary criteria: Heterogeneous resources are characterized by continuous health rating and three-state criteria, which can be used for more refined weight reduction and cost optimization compared to binary fault / non-fault obstacle avoidance.
[0025] (3) Three-dimensional and cross-layer joint modeling: Vertical interconnection, inter-layer storage and runtime scheduling are jointly incorporated into the failure-aware resource graph. Compared with solutions that only target two-dimensional mesh or homogeneous wafer arrays, it can handle vertical link congestion and cross-layer waiting.
[0026] (4) Semantic-level remapping: The task is divided into routable units such as layers / experts / tensor fragments / token blocks, which are relatively continuous with the processing unit as a whole. The migration granularity is finer, more healthy resources are retained, and the resource utilization rate is higher.
[0027] (5) Hierarchical degradation and reliability-constrained routing: Under the constraints of bandwidth, delay and reliability, find the minimum cost path and remapping, and select replica calculation, backup link, low-precision degradation, batch shrinking or expert replacement according to the severity of failure to avoid the overall shutdown of a single point of failure.
[0028] (6) Closed-loop rollback and correctness assurance: When switching and migrating necessary states such as KV index and activation buffer pointer at the security boundary, the version number / check code is confirmed. If the failure occurs, the security configuration is rolled back and the normal strategy is automatically rolled back after recovery to ensure the correctness of execution and service continuity. Attached Figure Description
[0029] Figure 1 This is a flowchart of the three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators according to the present invention. Detailed Implementation
[0030] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments.
[0031] This invention provides a three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators, which is implemented according to the following steps: Step 1: Calculate the health score and its sampling timestamp for each resource node; For each resource node The health score is calculated by weighting the normalized error rate, retransmission rate, temperature occupancy, and self-test score, with a value range of [value missing]. The higher the value, the healthier the animal; the health status sampling period is 0.1~10 ms.
[0032] in, For nodes The health score is set to a value of 1. ; For nodes Normalized error rate; For nodes Normalized retransmission rate; For nodes Normalized temperature occupancy (inverse heat margin). For nodes The score for passing the self-test; This is the weight of the error rate item in the health score, with a value ranging from 0.3 to 0.4. The retransmission rate is assigned a weight in the health score, with a value ranging from 0.2 to 0.3. The temperature item is assigned a weight in the health score, with a value ranging from 0.1 to 0.2. The weights for the self-test items in the health score are set at 0.1 to 0.2; the weights satisfy the following conditions: ; The node health is given by equation (1). The error rate, retransmission rate and temperature occupancy rate are all normalized to [0,1], and the self-test score is calculated based on the pass rate.
[0033] The output of step 1 is the health status of each node and its sampling timestamp; the health status is updated using a sliding window, and the state switching must continuously meet the threshold criteria to avoid remapping triggered by a single count jitter.
[0034] Step 2, classify nodes into three states based on health scores: when At that time, he was deemed healthy; when When, it is judged as deteriorated; when If a node is deemed invalid, it is removed from the available set in order to reduce its usage and degrade its weight.
[0035] in, A threshold value for health is set, ranging from 0.80 to 0.90. The threshold for the health status of failure is set at 0.40 to 0.60. In step 2, not only are nodes divided into three states, but the nodes are also written into the resource graph state table: healthy nodes enter the healthy set and continue to maintain the current route; failed nodes enter the failed set and are removed from the routable set; degraded nodes enter the degraded set and are retained, but their availability weight is reduced. For degraded nodes, locate the affected routable units, and then proceed to step 3 to update link reliability and candidate paths; The status table simultaneously stores node health, timestamp, and status version for steps 3 to 7 to read; when a node status changes, it triggers link reliability and candidate path updates.
[0036] Step 3: Step 1 has already calculated and continuously updated the node health; Step 2 maps it to a healthy, degraded, or failed state. The overall reliability of the link (i,j) of a degraded node is jointly determined by the health of the two endpoints and the intrinsic transmission reliability of the link, reflecting the combined impact of node status and channel quality on service availability.
[0037]
[0038] in, Let (i,j) be the reliability of link (i,j), and let its value be [value]. ; Let (i,j) be the probability of bit error / packet loss for link (i,j). Step 4: After obtaining the health status and link reliability of each node, evaluate all candidate paths. For candidate path P, normalize the end-to-end delay, link unreliability, and load of the nodes along the path, and construct the routing cost function C(P);
[0039] in, For path The routing cost function; Let (i,j) be the delay of link (i,j). For nodes Load utilization rate; The weight of the delay term in the routing cost; The weight of the reliability term in the routing cost; The weight of the load term in the routing cost; The routing cost function in equation (3) explicitly includes three terms: the sum of path link delays, the sum of link unreliability, and the load occupancy rate of the nodes along the route; the three terms are weighted by α, β, and γ respectively and added on the same normalization scale.
[0040] Step 5, Calculate the path The reliability of the link is the product of the reliability of each link:
[0041] in, For path Reliability; Step 6: Obtain all candidate reachable paths between nodes. First, filter feasible paths according to reliability, bandwidth and latency constraints. Then, select the candidate path with the smallest routing cost function C(P) from the feasible set for rerouting. If multiple paths have the same cost, prioritize the path with lower migration overhead and newer version number for rerouting.
[0042] Candidate paths must simultaneously meet reliability, bandwidth, and latency constraints, i.e. , and The end-to-end delay is the sum of the delays of each link.
[0043] in, This is the lower limit of path reliability, with a value ranging from 0.97 to 0.999; For path Available bandwidth; The bandwidth requirements for routable units; This represents the upper limit of latency for routable units; The selection rule for step 6 is: first verify , and Then solve in the feasible set. If the feasible set is empty, proceed to step 7 for downgrading or remapping paths, and do not output paths that violate reliability constraints.
[0044] Step 7, Remapping Target: When degradation causes existing paths of some routable units to no longer meet constraints, determine the corresponding set of affected units, reuse the candidate path generation and routing cost evaluation mechanism established in steps 4-6, and the router will remap the target for this set of units. Re-run the optimization solution to minimize the sum of total routing cost and migration overhead, update the service remapping path, balance transmission performance and switching cost, and complete the adjustment of the network transmission path.
[0045] After the remapping is completed, the path reliability, bandwidth and latency of the affected units are recalculated, and the old and new routing tables are bound by version number; the switch is only submitted when the verification is successful and the new path meets all constraints.
[0046]
[0047] in, For unit Remapping / state transition overhead; The migration penalty weights in the remapping target; During the solution process, the reliability constraint and node capacity constraint of equation (4) must be satisfied for each unit. Introducing a migration penalty term can suppress unnecessary frequent remapping, and migration will only occur when the benefit is sufficient.
[0048] Remapping is triggered only when the existing path of the affected unit violates reliability, capacity, or latency constraints; before migration, the version number is locked and the KV index and activation buffer pointer are copied; after switching, it is confirmed by checksum; if it fails, the original route and state version are rolled back.
[0049]
[0050] in, The usable throughput retention rate after failure remapping is 0.70~0.95 for single core failure. For throughput after failure remapping; This is the nominal throughput with no failures. The closer it is to 1, the stronger its ability to maintain available throughput under partial failure.
[0051] Example 1 Under conditions of failure of a three-layer computing core, a two-layer HBM, a single vertical link, or a single computing core, the two strategies of overall offline and health-aware rerouting are compared. The available throughput maintenance rate of the overall offline strategy is approximately 0; the method of this invention retains healthy cores and backup links, with an example available throughput maintenance rate of 0.86, an example route recalculation time of 42 μs, and switching is completed at the token or tensor block boundary, with no duplicate consumption observed. The link bit error rate is improved to 1×10. -3 When the health status recovers beyond the threshold, the method of this invention will downgrade the weight of the degraded link and migrate the high-priority flow; when the health status recovers beyond the threshold, it will fall back to the normal route.
[0052] Example 2 In the event of a single compute core or a single vertical link failure, compared to a strategy of taking all cores / stacks offline, this invention preserves the healthy resources of other cores within the same core and adjacent cores through model semantic-level remapping, thereby maintaining available throughput. Maintain a high level (example target 0.70~0.95); route recalculation is completed in about 10~100 μs and switching at the token / tensor block boundary to avoid out-of-order, duplicate consumption or data loss.
[0053] The example simulation uses a fixed random seed, the same model subgraph, and the same failure injection location. The control groups are overall offline, binary fault routing only, and the three-state health routing of the present invention. The throughput maintenance rate, rerouting delay, packet loss rate, number of repeated consumptions, and number of backoffs are statistically analyzed.
[0054] Health score weighting , , , ; Criterion threshold , The lower limit of path reliability is taken as follows: The health status sampling period is approximately 1 ms. The above values are for illustrative purposes only and can be adjusted based on specific processes, interconnect types, and quality of service objectives.
[0055] Example 3: Inference Flow Rerouting under Link Degradation The hardware failure monitor detected an increase in the retransmission rate and node temperature of the vertical link between a certain computing chip and the HBM stack. According to Equation (1), the health of the nodes at both ends of the link decreased, and then the reliability of the link was determined according to Equation (2). Adjust and update the resource graph. The reliability-constrained router recalculates the routing cost for routable units carrying weighted tensor flows according to equation (3), ensuring that the following conditions are met. High-priority requests are migrated to adjacent vertical links with higher reliability, while low-priority requests use available alternative paths with lower bandwidth. The online reconfiguration controller switches routing tables at tensor block boundaries and verifies the changes, ensuring uninterrupted service.
[0056] Example 4: Computation of Model Subgraph Transition under Core Failure A certain computing core failed its self-test. Set to zero, health level The corresponding node in the resource graph is judged as invalid and removed from the available set. The model subgraph splitter takes the layer fragment or expert fragment originally allocated to the core as the affected routable unit, and the router remaps it to other cores in the same core or adjacent cores with the minimum total cost and migration overhead according to Equation (6); the online reconfiguration controller synchronizes the KV index and activation buffer pointer at the token boundary to ensure that the next token continues to execute correctly.
[0057] Example 5: Controlled Degradation When Capacity is Insufficient When multiple resources deteriorate simultaneously, resulting in no path satisfying the original precision and batch (constraints in equations (4) and (5) have no solution), the redundancy and degradation strategy library enables tiered degradation: prioritizing batch reduction or performing low-precision degradation on non-critical layers; temporarily limiting expert top-k or enabling expert substitution for the MoE model. The router records the degradation range, and when monitoring shows resource recovery and health recovery to a certain level... Automatically reverting to normal strategy can maintain throughput. It subsequently rebounded.
[0058] Example 6: Runtime Reliability Closed Loop During the initialization phase, the system reads the model configuration, hardware topology, and default policy table and establishes a resource graph; during the monitoring phase, it continuously collects error count, retransmission rate, temperature, queue depth, and bandwidth utilization; during the decision-making phase, it calculates health status, criteria, and remapping decisions according to equations (1) to (6); during the execution phase, it switches at the security boundary and confirms the version number / checksum, and if it fails, it rolls back to the security configuration; during the feedback phase, it writes performance, temperature, and error information back to the monitoring layer for the next round of adaptive optimization, thus forming a closed loop of monitoring-modeling-decision-execution-feedback.
Claims
1. A three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators, characterized in that, Specifically, the process involves: calculating a health score for each resource node; classifying nodes into healthy, degraded, and failed nodes based on the health score; determining the overall reliability of a degraded node's link by combining the health scores of both endpoints and the intrinsic transmission reliability of the link; evaluating all candidate paths; constructing a routing cost function; and selecting the candidate path with the minimum routing cost function for rerouting; when degradation causes an existing path of a routable unit to no longer meet constraints, determining the corresponding set of affected units; reusing the candidate path generation and routing cost evaluation mechanism to minimize the sum of total routing cost and migration overhead; and updating the service remapping path.
2. The three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators as described in claim 1, characterized in that, Follow these steps: Step 1: Calculate the health score and its sampling timestamp for each resource node, and update the health score using a sliding window. Step 2: Based on the health score, the nodes are divided into three states: healthy nodes, deteriorated nodes, and failed nodes; Healthy nodes are added to the healthy set and continue to maintain the current route; Failed nodes are added to the failure set and removed from the routable set; for degraded nodes, the affected routable units are located, and then the link reliability and candidate path are updated in the subsequent steps. Step 3: The overall reliability of the link of the degraded node is determined by the health of the two ends of the node and the intrinsic transmission reliability of the link. Step 4: After obtaining the health status and link reliability of each node, evaluate all candidate paths. For candidate path P, normalize end-to-end delay, link unreliability, and load of nodes along the route to construct a routing cost function; Step 5, Calculate the path The reliability of the link is the product of the reliability of each link: Step 6: Obtain all candidate reachable paths between nodes. First, filter feasible paths according to reliability, bandwidth, and latency constraints. Then, select the candidate path with the minimum routing cost function from the feasible set for rerouting. If multiple paths have the same cost, the path with lower migration overhead and more recent version number will be prioritized for rerouting. Step 7, Remapping Target: When degradation causes existing paths of routable units to no longer satisfy constraints, determine the corresponding set of affected units, reuse the candidate path generation and routing cost evaluation mechanism established in steps 4-6, and the router will remap the target for this set of units. Re-run the optimization solution to minimize the sum of total routing cost and migration overhead, and update the service remapping path.
3. The three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators as described in claim 2, characterized in that, In step 1, for each resource node The health score is calculated by weighting the normalized error rate, retransmission rate, temperature occupancy, and self-test score, with a value range of [value missing]. ; in, For nodes Health score; For nodes Normalized error rate; For nodes Normalized retransmission rate; For nodes Normalized temperature occupancy rate; For nodes The score for passing the self-test; The weight of the error rate item in the health score; The weight of the retransmission rate item in the health score; The weight of the temperature item in the health score; The weights of the self-test items in the health score are: .
4. The three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators as described in claim 3, characterized in that, In step 2, when When, it is judged as a healthy node; when When, it is judged as a degraded node; when When this happens, it is judged as a failed node; in, A threshold is set for the level of health. The threshold for the health status of failure; Healthy nodes are added to the healthy set and continue to maintain the current route; failed nodes are added to the failed set and removed from the routable set; degraded nodes are added to the degraded set and retained.
5. The three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators as described in claim 4, characterized in that, In step 3, the overall reliability of the link of the degraded node is determined by the health of the two end nodes and the intrinsic transmission reliability of the link. in, The reliability of the link is set to a value of [value to be filled in]. ; This represents the probability of bit error / packet loss in the link.
6. The three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators as described in claim 5, characterized in that, In step 4, the routing cost function is: in, For path The routing cost function; For the link latency; For nodes Load utilization rate; The weight of the delay term in the routing cost; The weight of the reliability term in the routing cost; This represents the weight of the load item in the routing cost.
7. The three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators as described in claim 6, characterized in that, In step 5, the path The reliability is: in, For path The reliability.
8. The three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators as described in claim 7, characterized in that, In step 6, the candidate path must simultaneously meet reliability, bandwidth, and latency constraints, i.e. , and The end-to-end delay is the sum of the delays of each link. in, This represents the lower limit of path reliability. For path Available bandwidth; The bandwidth requirements for routable units; This represents the upper limit of latency for routable units; The selection rule is: verify first. , and Then solve in the feasible set. If the feasible set is empty, proceed to step 7 for downgrading or remapping paths, and do not output paths that violate reliability constraints.
9. The three-dimensional stacked failure-aware inference routing method for multi-core AI accelerators as described in claim 8, characterized in that, In step 7, the router sets up the affected unit set. Resolve the problem to minimize the sum of the total routing cost and migration overhead: in, For unit Remapping / state transition overhead; The migration penalty weights in the remapping target.
Citation Information
Patent Citations
Fault detection and fault-tolerant routing method based on node classification
CN121691233A
Wafer-level reconfigurable data stream chip, task execution fault tolerance method and board card
CN122285395A
Multi-core particle packaging and optical interconnection cluster cross-level optimization method, system and device for large language model training and medium
CN122287353A
Thermal management and signal integrity collaborative optimization method in three-dimensional stacked packaging
CN122287548A
