Hardware verification method for artificial intelligence computing platform

By generating hardware declaration records and constructing runtime hardware topology diagrams, the problem of inconsistency between hardware declarations and actual hardware in artificial intelligence computing platforms is solved, enabling accurate hardware verification and result traceability, and improving the accuracy and adaptability of verification.

CN123178188APending Publication Date: 2026-11-27MOFFETT AI TECHNOLOGY SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611685915.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies cannot automatically verify the consistency between the hardware claims of an artificial intelligence computing platform and the actual hardware, and cannot adapt to changes in hardware documentation and software environment, resulting in inaccurate verification results and lack of traceability.

Method used

By generating hardware declaration records, constructing a runtime hardware topology graph, selecting a set of target nodes, generating probe instances and recording observations, converting measured values, and determining the results to generate hardware verification results, a hardware declaration-probe package-entity topology node dependency graph is constructed to adapt to hardware and environmental changes.

Benefits of technology

It achieves accurate mapping between hardware claims and actual hardware and traceability of verification results, improves the accuracy and adaptability of verification, reduces false alarms and false negatives, and ensures that probe instances match the actual product version.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178188A_ABST
    Figure CN123178188A_ABST
Patent Text Reader

Abstract

The application discloses a hardware verification method for an artificial intelligence computing platform, comprising: generating hardware declaration records including object types, range expressions, attribute names, expected values or value intervals, units, tolerances, test conditions, observation strategies and aggregation rules from hardware documents; constructing a runtime hardware topology graph containing an inclusion relationship and a connection relationship between nodes, selecting target nodes and grouping according to declaration ranges; generating and executing probe instances of each target node according to the attribute names, test conditions and observation strategies to obtain original observation records; unifying measured value units, comparing after numerical aggregation in each group, or collecting and determining results after node-by-node comparison, and generating hardware verification results according to the determination results of each group.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of artificial intelligence computing platforms, and more specifically to a hardware verification method for artificial intelligence computing platforms. Background Technology

[0002] In the research, verification, and delivery of artificial intelligence computing platforms, chip datasheets, accelerator card hardware specification documents, register documents, driver interface documents, and runtime interface documents record declarations (collectively referred to as hardware declarations) regarding the quantity, capacity, bandwidth, power consumption, temperature range, and capability constraints of physical hardware objects such as accelerator cards, chips, computing devices, computing cores, storage devices, and links. These hardware declarations must not only be consistent within the documents but also consistent with the actual state and observable behavior of the physical accelerator cards in the specified product, firmware, driver, and runtime environment. Existing technologies mainly suffer from the following shortcomings: First, manual review and static document inspection tools are mainly used to find spelling, formatting, terminology, numbering, and numerical conflicts within the document. They cannot automatically prove that the objects described in the document exist on physical hardware, nor can they verify whether the claims about their quantity, capacity, or performance are consistent with reality.

[0003] Second, existing solutions that generate test cases based on requirements documents or test specifications typically map test steps to software interface calls. This approach cannot map hardware declarations such as "single card," "per chip," and "per computing core" to the actual topology nodes of the accelerator card in operation, and easily leads to the confusion and comparison of node values, chip aggregate values, and the total value of the entire card.

[0004] Third, the schemes that generate simulation vectors and chip verification test cases based on register tables, chip design documents, or hardware descriptions mainly serve pre-tape-out simulation, register models, or fixed development board environments. They are not geared towards mass-produced accelerator cards already installed in servers, and lack applicability assessment for product revisions, firmware, drivers, and runtime differences.

[0005] Fourth, existing automated testing solutions for physical devices mostly select test cases from a pre-maintained test case library based on device model or firmware version. The test results are disconnected from the specific declarations and location anchors in the hardware documentation. If the hardware documentation changes, it becomes impossible to determine which hardware probe results have become invalid.

[0006] Fifth, while continuous integration and incremental regression techniques can select test sets based on code or documentation changes, they do not establish a dependency graph between hardware declarations, probe instances, and entity topology nodes. They also do not bind the document submission version with the accelerator card serial number, accelerator card firmware version, accelerator card driver version, accelerator card runtime version, and accelerator card topology summary. This makes it difficult to reproduce the verification results of a certain version of the document in a specific entity accelerator card and its associated firmware, driver, runtime, and topology environment. Summary of the Invention

[0007] A hardware verification method for an artificial intelligence computing platform according to embodiments of this disclosure includes: generating a hardware declaration record associated with a hardware declaration in a hardware document associated with the artificial intelligence computing platform, wherein the hardware declaration record includes an object type, range expression, attribute name, expected value or value range, unit, tolerance, test conditions, observation strategy, and aggregation rule associated with the hardware declaration; constructing a runtime hardware topology graph of the artificial intelligence computing platform, selecting nodes in the runtime hardware topology graph to form a target node set based on the object type and range expression in the hardware declaration record, and dividing the target nodes in the target node set into decision groups according to the object level specified by the range expression in the hardware declaration record, wherein the runtime hardware topology graph includes the inclusion relationship and connection relationship between nodes; generating a probe instance for each target node in the target node set based on the attribute name, test conditions, and observation strategy in the hardware declaration record, and executing the probe instance for each target node in the target node set. The process involves generating original observation records for each target node in the target node set; obtaining measured values ​​for each target node based on the original observation records; converting the measured values ​​for each target node in the target node set to units identical to the expected values ​​or ranges in the hardware declaration record based on the units in the hardware declaration record; aggregating the unit-converted measured values ​​for each target node within each decision group based on the aggregation rules in the hardware declaration record; comparing these values ​​with the expected values, ranges, and tolerances in the hardware declaration record to generate a decision result for that decision group; or comparing the unit-converted measured values ​​for each target node in the target node set with the expected values, ranges, and tolerances in the hardware declaration record to generate a decision result for that target node; summarizing the decision results for each target node within each decision group to generate a decision result for that decision group; and generating hardware verification results based on the decision results for each decision group. Attached Figure Description

[0008] The various aspects of this disclosure are best understood by reading in conjunction with the accompanying drawings through the following detailed description. It should be noted that, in accordance with standard practice in the art, the features are not drawn to scale. In fact, for clarity of discussion, the dimensions of the features may be arbitrarily increased or decreased.

[0009] Figure 1 A schematic flowchart of a hardware verification method for an artificial intelligence computing platform according to an embodiment of the present disclosure is shown.

[0010] Figure 2 A schematic flowchart illustrating an example compilation process of hardware declaration records to probe instances according to an embodiment of the present invention is shown.

[0011] Figure 3 A schematic flowchart illustrating the process of range normalization and consistency determination of entity topology observations according to an embodiment of the present invention is shown.

[0012] Figure 4 A schematic flowchart illustrating an example process of incremental verification triggered by bidirectional changes in hardware documentation and hardware environment according to an embodiment of the present invention is shown.

[0013] Figure 5 A schematic block diagram of a computing device that can implement a hardware verification method for an artificial intelligence computing platform according to embodiments of the present disclosure is shown. Detailed Implementation

[0014] Features and exemplary embodiments of various aspects of this disclosure will now be described in detail. Numerous specific details are set forth in the following detailed description in order to provide a thorough understanding of this disclosure. However, it will be apparent to those skilled in the art that this disclosure may be practiced without requiring some of these specific details. The following description of embodiments is merely intended to provide a better understanding of this disclosure by illustrating examples. This disclosure is by no means limited to any specific configuration presented below, but covers any modifications, substitutions, and improvements to elements, components, and algorithms without departing from the spirit of this disclosure. Well-known structures and techniques are not shown in the accompanying drawings and the following description to avoid unnecessarily obscuring this disclosure.

[0015] Furthermore, the various operations will be described as multiple discrete operations in a manner most conducive to understanding the illustrative embodiments; however, the order of description should not be construed as implying that these operations must depend on the order. In particular, these operations do not need to be performed in the order presented.

[0016] The phrases “in an embodiment,” “in one embodiment,” and “in some embodiments” are used repeatedly throughout this document. These phrases do not typically refer to the same embodiment; however, they may refer to the same embodiment. Unless the context otherwise requires, the terms “comprising,” “having,” and “including” are synonyms. The phrases “A or B” and “A / B” mean “(A), (B), or (A and B).”

[0017] Given that existing technologies lack a scope-preserving conversion mechanism for observable evidence from hardware claims to physical accelerator cards, and cannot perform traceable incremental verification after changes on either the hardware documentation or the hardware software environment, a hardware verification method for artificial intelligence computing platforms according to embodiments of the present invention is proposed. This method aims to address one or more of the following problems: misalignment between the scope of the hardware claim and the entity topology, incompatibility between the probe and the product version, and the inability to jointly trace verification evidence.

[0018] Figure 1 A schematic flowchart of a hardware verification method for an artificial intelligence computing platform according to an embodiment of this disclosure is shown. Figure 1As shown, the hardware verification method 100 for an artificial intelligence computing platform includes: S102, generating a hardware declaration record associated with the hardware declaration in the hardware document based on the hardware document associated with the artificial intelligence computing platform, wherein the hardware declaration record includes the object type, range expression, attribute name, expected value or value range, unit, tolerance, test conditions, observation strategy, and aggregation rule associated with the hardware declaration; S104, constructing a runtime hardware topology graph of the artificial intelligence computing platform, selecting nodes in the runtime hardware topology graph to form a target node set based on the object type and range expression in the hardware declaration record, and dividing the target nodes in the target node set into decision groups according to the object level specified by the range expression in the hardware declaration record, wherein the runtime hardware topology graph includes the inclusion relationship and connection relationship between nodes; S106, generating a probe instance for each target node in the target node set based on the attribute name, test conditions, and observation strategy in the hardware declaration record, and executing the probe for each target node in the target node set. The system executes a set of target nodes and generates original observation records for each target node in the target node set; and in step S108, it obtains measured values ​​for each target node based on the original observation records for each target node in the target node set, converts the measured values ​​for each target node in the target node set to the same units as the expected values ​​or value ranges in the hardware declaration records based on the units in the hardware declaration records, performs numerical aggregation on the measured values ​​of the target nodes in each decision group based on the aggregation rules in the hardware declaration records, and compares them with the expected values ​​or value ranges and tolerances in the hardware declaration records to generate a decision result for that decision group, or compares the measured values ​​of each target node in the target node set based on the units with the expected values ​​or value ranges and tolerances in the hardware declaration records to generate a decision result for that target node, summarizes the decision results for each target node in each decision group to generate a decision result for that decision group, and generates hardware verification results based on the decision results for each decision group.

[0019] In some embodiments, hardware documentation may include at least one of chip datasheets, accelerator card hardware specifications, register documentation, driver interface documentation, and runtime interface documentation. Hardware declaration records can be generated by extracting hardware declarations that can be verified by hardware observation from the text and tables of the hardware documentation through format parsing, semantic segmentation, and unit identification.

[0020] In some embodiments, nodes in the runtime hardware topology diagram may include one or more of the following: hosts, physical accelerator cards, chips, computing devices, computing cores, storage devices, and links. Here, the artificial intelligence computing platform may include one or more hosts. Each host can connect to one or more physical accelerator cards via PCIe or other hardware buses. The host is the control and verification end, and the physical accelerator card is the controlled, enumerated, and verified hardware device. In the runtime hardware topology diagram, the host is the root node or a parent node, and the physical accelerator card is a child node of the host. Each physical accelerator card may include one or more chips, each chip may include one or more computing devices or one or more computing cores, and each computing device may include one or more computing cores. Each physical accelerator card may include or be connected to a storage device. When the storage device is integrated into the physical accelerator card or its chip, the storage device is a child node of the physical accelerator card or chip. When the storage device is independent of the physical accelerator card, the storage device is connected to the physical accelerator card via a link. A link represents a connection channel within the physical accelerator card or between the physical accelerator card and other hardware objects. The link has an inclusion relationship with the physical accelerator card and a connection relationship with at least one of the chips, computing devices, and storage devices.

[0021] In some embodiments, the scope expression associated with a hardware declaration is used to preserve quantifiers and hierarchical information such as "single card," "total per card," "per chip," "per device," "any compute core," or "all compute cores" in the hardware documentation. For example, "per chip" is resolved to all chip nodes under each physical accelerator card as the target node; "total per card" is resolved to summation or other specified aggregations of relevant child nodes within the scope of the physical accelerator card as the target node. When the scope, test conditions, or units of a hardware declaration cannot be determined, the hardware declaration is marked as "requires determination," and no probe instances are generated to avoid performing operations with unclear scope on the physical hardware of the AI ​​computing platform.

[0022] The hardware verification method according to embodiments of the present invention verifies the hardware separately according to the scope specified in the hardware declaration. "Per card" means judging each physical accelerator card separately; "per chip" means judging each chip separately; "total per card" means summarizing only the relevant nodes within the same physical accelerator card. Observations from different physical accelerator cards or different chips are not combined for comparison simply because they belong to the same verification task. For example, if the hardware declaration states "each card contains 2 chips," and the server has two physical accelerator cards, actually containing 1 and 3 chips respectively, the hardware verification method according to embodiments of the present invention obtains the number of chips for each of the two physical accelerator cards and compares them separately with the expected number 2. Both physical accelerator cards are determined to be "failed." The hardware declaration cannot be deemed successful simply because the two physical accelerator cards together contain 4 chips. The above figures are illustrative and do not represent actual product specifications. If the scope or quantifier in the hardware declaration cannot be determined, the hardware declaration is marked as "requires determination," and no probe instance is generated.

[0023] In some embodiments, physical accelerator cards installed in the AI ​​computing platform can be discovered through the operating system, PCIe enumeration interface, device driver, management tools, or runtime interface. Then, a runtime hardware topology graph can be constructed by querying nodes such as physical accelerator cards, chips, computing devices, computing cores, storage devices, and links from the driver or runtime interface and recording the inclusion and connection relationships between nodes. Each node in the runtime hardware topology graph has a unique path topology and a capability marker within this runtime hardware topology graph.

[0024] In some embodiments, the hardware declaration record also includes applicable product and version constraints associated with the hardware declaration. The hardware verification method 100 further includes: discovering physical accelerator cards installed in the artificial intelligence computing platform and generating a joint environment fingerprint for each physical accelerator card in the artificial intelligence computing platform. The joint environment fingerprint for each physical accelerator card in the artificial intelligence computing platform includes at least one of the following: topology summary, product model and serial number, product revision, firmware version, driver version, runtime version, and capability tag. The topology summary for each physical accelerator card in the artificial intelligence computing platform is generated based on a unique topology path of the physical accelerator card in the runtime hardware topology graph. For each physical accelerator card in the artificial intelligence computing platform, the joint environment fingerprint of the physical accelerator card is used to compare with the applicable product and version constraints in the hardware declaration record to determine whether the hardware declaration is applicable to the physical accelerator card. If the hardware declaration is determined to be inapplicable to the physical accelerator card, the physical accelerator card is not selected into the target node set. In this case, the hardware declaration can be marked as "inapplicable" relative to the physical accelerator card, and no probe instance is generated for the physical accelerator card.

[0025] In some embodiments, the hardware verification method 100 further includes: determining the required topology information set based on the hardware declaration record, checking whether the runtime hardware topology graph contains all the topology information in the required topology information set, and directly generating a hardware verification result "uncertain" if it is determined that the runtime hardware topology graph does not contain all the topology information in the required topology information set.

[0026] In some embodiments, the runtime hardware topology map is reconstructed or refreshed each time a new hardware verification task for the AI ​​computing platform is created, or when a hot-swapping of any physical accelerator card in the AI ​​computing platform is detected, or when a change in the joint environment fingerprint of any physical accelerator card is detected, in order to avoid directly applying the historical hardware topology map to the changed physical accelerator card.

[0027] In some embodiments, each node in the runtime hardware topology graph has a unique topology path and capability marker. The raw observation record for each target node in the target node set includes at least one of the following: probe version for that target node, card identifier of the accelerator card to which the target node belongs, unique topology path of the target node in the runtime hardware topology graph, timestamp of execution of the corresponding probe instance, execution status of the corresponding probe instance, raw return value, unit, test conditions, and raw evidence hash of the raw observation record. The measured values ​​in the raw observation record for each target node in the target node set are determined based on the raw return values ​​therein.

[0028] In some embodiments, the card identifier of each physical accelerator card in the AI ​​computing platform includes the physical accelerator card's PCIe domain, bus, device and function address (i.e., PCIe BDF address), product model and serial number, manufacturer and device identifier, and product revision, or includes the physical accelerator card's device path and hardware identifier that do not change with the current verification process. Here, when the physical accelerator card's serial number cannot be directly read, an alternative identifier can be generated as the physical accelerator card's card identifier based on the physical accelerator card's device path and hardware identifier that do not change with the current verification process. The physical accelerator card's hardware identifier includes one or more of the following: product model, manufacturer and device identifier, product revision, PCIe BDF address, chip identifier, computing device identifier, and computing core identifier.

[0029] In some embodiments, the hardware verification method 100 further includes: determining whether the test conditions in the original observation records for each target node in the target node set are consistent with the test conditions in the hardware declaration record; and if the test conditions in the original observation records for each target node in the target node set are consistent with the test conditions in the hardware declaration record, unifying the units of the measured values ​​for each target node in the target node set, and comparing the numerical values ​​within each determination group based on the aggregation rules in the hardware declaration record, or comparing node by node and summarizing the determination results within each determination group. That is, before unifying the units and performing subsequent processing on the measured values ​​in the original observation records, the frequency, temperature, data size, accuracy, power consumption mode, and concurrency of each target node are checked to ensure they meet the test conditions in the hardware declaration record. Only when they meet the requirements are the numerical values ​​compared according to the aggregation rules in the hardware declaration record within each determination group, or comparing node by node and summarizing the determination results; otherwise, the condition difference is output, and the hardware verification result is marked as "uncertain," avoiding direct comparison of values ​​under different operating conditions. Unit unification refers to converting the measured values ​​into physical units that are the same as the expected values ​​or value ranges in the hardware declaration record.

[0030] In some embodiments, probe instances for each target node in the target node set include at least one of configuration probes, telemetry probes, and active workload probes, wherein: configuration probes are used to observe static claims of hardware identification, core count, capacity, function switches, or register fields (e.g., obtaining observations using driver queries, runtime interfaces, management commands, or authorized register read sequences); telemetry probes are used to generate query sequences for dynamic claims of temperature, power consumption, frequency, link status, or error counts (e.g., generating query sequences based on claimed settling time, sampling interval, and number of samples); and active workload probes are used to generate micro-workloads for claims of bandwidth, throughput, latency, or power consumption limits (e.g., generating micro-workloads with limited data size, computation time, concurrency, warm-up times, and purge actions, and submitting them to the physical accelerator card as the target node via runtime or driver interface).

[0031] In some embodiments, a probe instance for each target node includes a declaration identifier of a hardware declaration, a card identifier of the physical accelerator card to which the target node belongs, a unique topology path of the physical accelerator card to which the target node belongs in the runtime hardware topology graph, a conditional expression for which the probe instance is applicable to the target node, an access interface used by the probe instance to access the target node, parameters and command sequences applicable when the probe instance is executed, preconditions that must be met before the probe instance is executed, the maximum allowed execution time of the probe instance, the number of times and / or conditions for re-execution after the probe instance fails or times out, cleanup actions to be performed after the probe instance is executed, the security level required for the probe instance to be executed, and at least one of the output fields, unit transformations, aggregation operators, and comparators to be extracted from the original return value after the probe instance is executed.

[0032] In some embodiments, the hardware verification method 100 further includes: for each target node in the target node set, determining whether the target node is in a testable state based on the security level of the probe instance for the target node, determining whether the target node is allowed to be accessed based on the workload state and access permissions of the target node, and sending the operation sequence corresponding to the probe instance for the target node to the target node if it is determined that the target node is in a testable state and is allowed to be accessed.

[0033] In some embodiments, the hardware verification method 100 further includes: packaging all probe instances for all target nodes in the target node set into a probe package; calculating the probe package version digest of the probe package; generating a joint evidence package based on the declaration identifier and document location anchor of the hardware declaration, the probe package version digest, the topology digest of the accelerator card to which each target node in the target node set belongs, the product model and serial number, the product revision, the firmware version, the driver version, the runtime version, the original evidence hash of the original observation record for each target node in the target node set, the normalization and aggregation process, and the hardware verification result; and associating the hardware verification result with the joint evidence package.

[0034] In some embodiments, the hardware verification result is one of “pass”, “fail”, “not applicable”, “uncertain”, or “execution error”.

[0035] In some embodiments, when the hardware verification result is "failed," a difference report is generated that includes the document location anchor associated with the hardware claim, the expected value, the measured value, the unit, the test conditions, the card identifier of the physical accelerator card, the topology path, and the aggregation operator (e.g., generating a difference report based on at least one of the hardware verification result, the hardware claim record, and the original observation record, or generating a difference report by extracting information associated with the "failed" hardware verification result from the joint evidence package). A hardware verification result of "failed" indicates that the measured value does not meet the expected value or value range in the hardware claim record when both applicability and test conditions are met.

[0036] In some embodiments, the hardware verification method 100 further includes: maintaining a hardware declaration-probe package-entity topology node dependency graph associated with the hardware document; when the document submission record of the hardware document is updated, the document template of the hardware document is updated, the declaration extraction rules associated with the generation of the hardware declaration record change, or the comparison rules associated with the generation of the hardware verification result change (i.e., when a hardware document-side change event occurs), identifying the affected probe instances and affected target nodes associated with the affected hardware declaration based on the hardware declaration-probe package-entity topology node dependency graph, reselecting the target nodes applicable to the affected hardware declaration, and regenerating probes for each reselected target node. The system generates and executes each regenerated probe instance; and when the hardware and software environment related to the physical accelerator cards in the AI ​​computing platform changes (i.e., when a hardware environment change event occurs), it identifies the affected target nodes corresponding to the hardware environment changes in the AI ​​computing platform by comparing the new and old joint environment fingerprints of each physical accelerator card in the AI ​​computing platform, finds the affected probe instances and affected target nodes associated with the affected target nodes based on the hardware declaration-probe package-physical topology node dependency graph, reselects the target nodes applicable to the hardware declaration, regenerates probe instances for each reselected target node, and executes each regenerated probe instance.

[0037] In some embodiments, if the changes to the hardware documentation only affect the comparison rules and expected values ​​associated with the hardware declaration and the original observation records associated with the hardware declaration can still be reused, then typically only renormalization and comparison are needed, without re-executing the relevant probe instance. If the changes to the hardware documentation affect the target node set, test conditions, observation strategies, output fields, or unit transformations associated with the hardware declaration, then a new probe instance needs to be recompiled and executed. If the changes to the hardware documentation only affect the metadata, binding relationships, or comparison rules associated with the hardware declaration, and do not change any fields in the probe instance definition, then the original probe instance definition can be reused, and only the probe instance needs to be re-executed, without generating a new probe instance.

[0038] In some embodiments, although a hardware environment change event occurs, the definition fields of the affected probe instance remain unchanged; only the runtime environment on which the probe instance depends changes. In this case, it is only necessary to re-execute the probe instance to generate observation records in the new environment, without needing to regenerate a new probe instance. When there is no dependency between the hardware environment change event and the probe instance corresponding to a certain hardware declaration, the execution result of the existing probe instance can be directly reused, without regenerating a new probe instance or re-executing the original probe instance.

[0039] In some embodiments, when processing the measured values ​​for each target node, the system first checks whether the measured value is consistent with the unit in the hardware declaration record. If the units are inconsistent but can be converted, the measured value is first converted to the same unit. If conversion is not possible, the determination result for that target node is marked as "uncertain". When the aggregation rule in the hardware declaration record is "node-by-node", the measured value for each target node is converted to the same unit as the expected value or value range in the hardware declaration record. The unit-converted measured value for each target node is then compared with the expected value or value range and tolerance in the hardware declaration record, and the determination result for each target node is retained.

[0040] In some embodiments, when the aggregation rule in the hardware declaration record is "total," "minimum," or "maximum," the measured values ​​participating in the numerical aggregation are converted to the same units as the expected values ​​or value ranges in the hardware declaration record. Numerical aggregation is then performed within each decision group, and the data aggregation results for each decision group are compared with the expected values, value ranges, and tolerances in the hardware declaration record. In other words, for aggregation rules of "total," "minimum," or "maximum," unit conversion is first performed within the same declaration range, and then the results are compared with the expected values, value ranges, and tolerances in the hardware declaration record.

[0041] In some embodiments, when the aggregation rule in the hardware declaration record is "all satisfied" or "any satisfied", the measured value for each target node is converted to the same unit as the expected value or value range in the hardware declaration record. The unit-converted measured value for each target node is then compared with the expected value, value range, and tolerance in the hardware declaration record. Finally, the judgment results for each target node are summarized according to the aggregation rule in the hardware declaration record. In other words, for the aggregation rule "all satisfied" or "any satisfied", the unit-converted measured value for each target node is first compared with the expected value, value range, and tolerance in the hardware declaration record, and then the comparison results are summarized. "All satisfied" requires all target nodes within the declaration range to satisfy the declaration; "any satisfied" means that at least one target node within the declaration range satisfies the declaration.

[0042] Figure 2 A schematic flowchart illustrating an example compilation process for recording hardware declarations to probe instances according to an embodiment of the present invention is shown. Figure 2 As shown, the example compilation process 200 for converting a hardware declaration record into a probe instance includes: S202, parsing the hardware document; S204, generating a hardware declaration record; S206, parsing the object type and scope expression in the hardware declaration record; S208, enumerating the physical accelerator cards in the artificial intelligence computing platform; S210, constructing a runtime hardware topology graph; S212, forming a joint environment fingerprint of the physical accelerator cards; S214, performing applicability determination and selecting the target node set corresponding to the hardware declaration record, and dividing the target nodes into determination groups according to the object level specified by the scope expression; S216, generating a probe instance for each target node in the target node set; S218, forming a probe package and its version summary for all target nodes in the target node set.

[0043] Figure 3 A schematic flowchart illustrating an example process for range normalization and consistency determination of entity topology observations according to an embodiment of the present invention is shown. Figure 3 As shown, the example process 300 for determining the range normalization and consistency of entity topology observations includes: S302, identifying the host, entity accelerator card, chip, computing core, computing device, and other layers in the artificial intelligence computing platform ( Figure 3(The example topology shown is only an example of an AI computing platform). S304, Form the runtime hardware topology path and the joint environment fingerprint of each entity accelerator card in it; S306, Execute probe instances for each target node; S308, Generate raw observation records for each target node; S310, Convert the measured values ​​for each target node to the same units as the expected values ​​or value ranges; S312, Perform numerical aggregation and comparison within each decision group, or compare node by node and summarize the decision results, using the expected values ​​or value ranges and tolerances in the hardware declaration records during comparison; S314, Generate hardware verification results based on the decision results for each decision group.

[0044] Figure 4 A schematic flowchart illustrating an example process of incremental verification triggered by bidirectional changes in hardware documentation and the hardware environment according to an embodiment of the present invention is shown. Figure 4 As shown, the example process 400 for incremental verification triggered by bidirectional changes in hardware documentation and hardware environment includes: S402 / S404, detecting a hardware documentation-side change event or a hardware environment-side change event; S406, querying the hardware claim-probe package-topology dependency graph to obtain the affected hardware claim, affected probe instance, and affected target node; S408, re-executing the applicability determination; S410, executing the regenerated probe instance; S412, generating a joint evidence package; and S414, updating at least one of the hardware verification results, difference report, and version traceability record.

[0045] The following describes the hardware verification method according to an embodiment of the present invention, using a server equipped with an Antoum series artificial intelligence (AI) accelerator card as an example. Specifically, the AI ​​accelerator card is first identified through PCIe enumeration and the driver or runtime interface of the SOLA software stack. Available layers such as the AI ​​accelerator card, chip, computing device, and computing core are obtained, and the card identifier, firmware, driver, and runtime version of the AI ​​accelerator card are recorded. For declarations in the hardware documentation such as "a single card contains N chips," "each chip contains M computing cores," and "link bandwidth is not less than B under condition C," topology counting probes and limited bandwidth workload probes are generated respectively. After executing these probes for each AI accelerator card, they are aggregated and compared according to the declaration range, and the hardware verification results are jointly bound with the hardware documentation submission, the AI ​​accelerator card version, and the SOLA software stack version. If either the hardware documentation or the SOLA software stack changes, the affected declarations, nodes, and probes are determined according to dependencies, and a re-comparison, re-execution of probes, or regeneration and execution of probes is selected based on the changed content.

[0046] The following illustrations demonstrate the verification process of the hardware verification method according to an embodiment of the present invention. The numerical values ​​used do not represent actual product specifications.

[0047] Chip Count Verification. The hardware documentation states that "each card contains 2 chips." The system extracts the following from this statement: object type is chip, verification scope is each card, attribute name is chip count, and expected value is 2. The system obtains the chip identifiers under each physical accelerator card through the driver or runtime interface and counts them according to the affiliation between the chip and the physical accelerator card. If a physical accelerator card returns 2 different chip identifiers, the card verification passes; if it returns 1 or 3 chip identifiers, the card verification fails. If the interface execution fails or the completeness of the returned information cannot be determined, the chip count is not determined based on this information, and the result is marked as "execution error" or "uncertain."

[0048] Probe generation. In one implementation, the system can select the corresponding probe template based on the object type and attribute name in the hardware declaration. For example, for "Number of Chips," a chip enumeration template can be selected, and the device identifier of the current physical accelerator card can be filled into the access parameters of the template to generate a probe instance for that card. After the probe is executed, the chip identifier is extracted from the returned result and deduplicated to obtain the number of chips for that card.

[0049] Bandwidth verification. The hardware documentation states that "under specified data volume, transmission direction, and concurrency conditions, the specified link bandwidth should not be less than 100 GB / s." The system records the link, test conditions, and expected value, generating a corresponding data transmission probe. The probe performs data transmission according to the hardware declaration requirements, calculates the bandwidth based on the actual amount of data transmitted and the time taken, and converts it to GB / s before comparing it with 100 GB / s. If the test conditions do not meet the hardware declaration requirements, the result is marked as "uncertain," and the hardware is not directly determined to fail to meet the bandwidth declaration.

[0050] Post-modification verification. When the hardware documentation only modifies the expected bandwidth value, while the device, test conditions, and original observations remain valid, the system re-compares using existing observations. When the driver version changes, the system identifies the affected probes based on dependencies, re-executes them, and generates new observation records. When the scope of objects specified in the hardware declaration or test parameters changes, the system regenerates and executes the corresponding probes.

[0051] Compared with the prior art, the hardware verification method according to embodiments of the present invention has at least the following technical effects: 1) By mapping the object hierarchy and quantifiers in the hardware declaration to nodes in the runtime hardware topology graph, the node values, chip aggregate values ​​and total card values ​​are compared within the correct range, reducing false alarms and false negatives caused by inconsistent topology ranges.

[0052] 2) By automatically discovering physical accelerator cards and performing applicability determination based on the joint environment fingerprint of the physical accelerator cards, the probe instances are adapted to the actual product revisions, firmware, drivers and runtime, avoiding the misapplication of conclusions for other products or historical topologies to the current physical card.

[0053] 3) By distinguishing between configuration probes, telemetry probes, and active workload probes, and recording topology paths, test conditions, timestamps, and original evidence hashes, the execution boundaries, security, and reproducibility of physical hardware verification are improved.

[0054] 4) By combining evidence packages and / or hardware claims-probe packages-entity topology node dependency graphs, hardware documentation-side changes and hardware software environment-side changes are incorporated into the same verification process. Only affected probe instances are rerun, while the traceable correspondence between hardware documentation submissions, entity accelerator cards, and software stack versions is preserved.

[0055] Figure 5 A schematic block diagram of a computing device that can implement the hardware verification method according to embodiments of the present disclosure is shown. Figure 5 As shown, computing device 500 may include bus 502 or other communication mechanism for transmitting information, and one or more hardware processors 504 coupled to bus 502 for processing information. The one or more hardware processors 504 may include, for example, one or more general-purpose microprocessors.

[0056] like Figure 5 As shown, in some embodiments, computing device 500 may further include main memory 506 coupled to bus 502. Main memory 506 is used to store information and instructions executed by one or more processors 504, such as random access memory (RAM), cache, and / or other dynamic storage devices. Main memory 506 may also be used to store temporary variables or other intermediate information during the execution of instructions executed by one or more processors 504. When these instructions are stored in storage media accessible to one or more processors 504, they can cause computing device 500 to become a dedicated machine customized to perform the operations specified in the instructions. Storage device 508 may include non-volatile and / or volatile storage media. Non-volatile storage media may include, for example, optical discs or magnetic disks. Volatile storage media may include dynamic memory. Common forms of storage media may include, for example, floppy disks, hard disks, solid-state drives, magnetic tape, or any other magnetic data storage media, CD-ROMs, any other optical data storage media, any physical media with a perforated pattern, RAM, DRAM, PROM, and EPROM, FLASH-EPROM, NVRAM, any other memory chip or cartridge, or their networking versions.

[0057] like Figure 5As shown, in some embodiments, computing device 500 may further include one or more communication interfaces or network interfaces 510 coupled to bus 502. Network interface 510 may provide bidirectional data communication coupling to one or more network links connected to one or more networks. As another example, network interface 510 may be a local area network (LAN) card to provide data communication connectivity to a LAN-compatible (or WAN component communicating with a WAN) network. Wireless links may also be implemented.

[0058] The execution of certain operations can be distributed across processors rather than residing within a single machine, but rather deployed across multiple machines. In some example embodiments, the processor or processor-implemented engine may reside in a single geographic location (e.g., in a home environment, office environment, or server farm). In other example embodiments, the processor or processor-implemented engine may be distributed across multiple geographic locations.

[0059] Each of the processes, methods, and algorithms described in the preceding sections may be embodied in code modules executed by one or more computer systems or computer processors including computer hardware, and may be fully or partially automated by these code modules. The processes and algorithms may be implemented, partially or fully, in dedicated circuit systems.

[0060] When the functions disclosed herein are implemented as software functional units and sold or used as stand-alone products, they may be stored in a processor-executable, non-volatile, computer-readable storage medium. Specific technical solutions (all or part) disclosed herein, or aspects contributing to the prior art, may be embodied in the form of a software product. The software product may be stored in a storage medium and includes several instructions that cause a computing device (which may be a personal computer, server, network device, etc.) to perform all or some steps of the methods of the embodiments of this application. The storage medium may include a flash drive, portable hard disk drive, ROM, RAM, magnetic disk, optical disk, other media operable to store program code, or any combination thereof.

[0061] Specific embodiments further provide a system including a processor and a non-transitory computer-readable storage medium storing instructions executable by the processor to cause the system to perform operations corresponding to steps in any method of the embodiments disclosed above. Specific embodiments further provide a non-transitory computer-readable storage medium storing instructions executable by one or more processors to cause the one or more processors to perform operations corresponding to steps in any method of the embodiments disclosed above.

[0062] The embodiments disclosed herein can be implemented via a cloud platform, server, or server cluster (collectively referred to below as the "Service System") that interacts with a client. The client can be a terminal device or a client registered by a user at the platform, wherein the terminal device can be a mobile terminal, a personal computer (PC), or any device that can have the platform application installed.

[0063] The various features and processes described above can be used independently of each other or combined in various ways. All possible combinations and sub-combinations are intended to fall within the scope of this disclosure. Additionally, certain method or process blocks may be omitted in some embodiments. The methods and processes described herein are not limited to any particular order, and their associated blocks or states may be executed in other suitable orders. For example, described blocks or states may be executed in an order other than that specifically disclosed, or multiple blocks or states may be combined into a single block or state. Example blocks or states may be executed sequentially, in parallel, or in some other manner. Blocks or states may be added to or removed from the disclosed example embodiments. The exemplary systems and components described herein may be configured differently than described. For example, components may be added to, removed from, or rearranged compared to the disclosed example embodiments.

[0064] The various operations of the exemplary methods described herein can be performed at least in part by an algorithm. The algorithm may be included in program code or instructions stored in memory (e.g., the aforementioned non-transitory computer-readable storage medium). This algorithm may include a machine learning algorithm. In some embodiments, the machine learning algorithm may not explicitly refer to the computer as performing the function but may learn from training data to generate a predictive model of the function.

[0065] The various operations of the exemplary methods described herein can be performed, at least in part, by one or more processors that are temporarily configured (e.g., by software) or permanently configured to perform the relevant operations. Whether temporarily or permanently configured, these processors can constitute an engine of processor implementation that operates to perform one or more of the operations or functions described herein.

[0066] Similarly, the methods described herein may be implemented at least in part by a processor, wherein one or more specific processors are instances of hardware. For example, at least some operations of the methods may be performed by one or more processors or an engine implemented by a processor. Furthermore, one or more processors may also be operable to support the execution of relevant operations in a “cloud computing” environment or as the execution of relevant operations in a “Software as a Service” (SaaS) context. For example, at least some operations may be performed by a group of computers (as an example of a machine containing processors), wherein these operations are accessible via a network (e.g., the Internet) and via one or more appropriate interfaces (e.g., application programming interfaces (APIs)).

[0067] The execution of certain operations can be distributed across processors rather than residing within a single machine, and can be deployed across multiple machines. In some example embodiments, the processor or processor-implemented engine may reside in a single geographic location (e.g., in a home environment, office environment, or server farm). In other example embodiments, the processor or processor-implemented engine may be distributed across multiple geographic locations.

[0068] Throughout this specification, multiple instances may be implemented as components, operations, or structures described as a single instance. Although individual operations of one or more methods are illustrated and described as separate operations, one or more of these individual operations may be performed simultaneously, and not necessarily in the order illustrated. Structures and functions presented as separate components in the example configuration may be implemented as composite structures or components. Similarly, structures and functions presented as single components may be implemented as single components. These and other variations, modifications, additions, and improvements fall within the scope of this document.

[0069] As used herein, "or" is inclusive rather than exclusive unless explicitly indicated by the context. Therefore, in this document, "A, B, or C" means "A, B, A and B, A and C, B and C, or A, B, and C" unless explicitly indicated by the context. Furthermore, "and" is combined and separate unless explicitly indicated by the context. Therefore, in this document, "A and B" means "A and B, combined or separate" unless explicitly indicated by the context. Additionally, multiple instances of resources, operations, or structures described herein may be provided as a single instance. Furthermore, the boundaries between various resources, operations, engines, and data storage devices are somewhat arbitrary and specific operations are illustrated within the context of a particular illustrative configuration. Other functional assignments are foreseeable and fall within the scope of various embodiments of this disclosure. Generally, structures and functions presented as individual resources in example configurations may be implemented as combined structures or resources. Similarly, structures and functions presented as single resources may be implemented as single resources. These and other changes, modifications, additions, and improvements fall within the scope of the embodiments of this disclosure as expressed in the appended claims. Therefore, this specification and drawings should be considered illustrative rather than restrictive.

[0070] The terms “comprising” or “including” are used to indicate the presence of a subsequently claimed feature, but do not preclude the addition of other features. Unless otherwise specifically stated or otherwise understood in the context in which they are used, conditional language such as “may,” “can,” “may,” and “can” is generally intended to convey that certain embodiments include certain features, components, and / or steps that are not included in other embodiments. Therefore, this conditional language is generally not intended to imply that one or more embodiments require features, components, and / or steps in any way, or that one or more embodiments must include logic for determining whether such features, components, and / or steps are included in or performed in any particular embodiment, with or without user input or prompts.

[0071] Although the general outline of the subject matter has been described with reference to specific exemplary embodiments, various modifications and changes may be made to these embodiments without departing from the broad scope of embodiments of this disclosure. Where more than one embodiment is disclosed, these embodiments of the subject matter may be referred to individually or collectively herein as the term "invention," this is for convenience only and is not intended to automatically limit the scope of this application to any single disclosure or concept.

[0072] The embodiments illustrated herein are described in detail to enable those skilled in the art to practice the disclosed teachings. Other embodiments may be used and derived therefrom, such that structural and logical substitutions and changes may be made without departing from the scope of this disclosure. Therefore, “implementation” is not intended to be limiting, and the scope of the various embodiments is defined only by the appended claims and their full scope.

Claims

1. A hardware verification method for an artificial intelligence computing platform, characterized in that, include: Based on the hardware documentation associated with the AI ​​computing platform, a hardware declaration record is generated that is associated with the hardware declaration in the hardware documentation. The hardware declaration record includes the object type, range expression, attribute name, expected value or value range, unit, tolerance, test conditions, observation strategy, and aggregation rule associated with the hardware declaration. The runtime hardware topology diagram of the artificial intelligence computing platform is constructed. Based on the object type and range expression in the hardware declaration record, the nodes in the runtime hardware topology diagram are selected to form a target node set. The target nodes in the target node set are divided into decision groups according to the object level specified by the range expression in the hardware declaration record. The runtime hardware topology diagram includes the inclusion relationship and connection relationship between nodes. Based on the attribute names, test conditions, and observation strategies in the hardware declaration record, a probe instance is generated for each target node in the target node set; the probe instance for each target node in the target node set is executed; and an original observation record for each target node in the target node set is generated; and Based on the original observation records for each target node in the target node set, the measured value for that target node is obtained. Based on the units in the hardware declaration record, the measured value for each target node in the target node set is converted to the same units as the expected value or value range in the hardware declaration record. Based on the aggregation rules in the hardware declaration record, the unit-converted measured values ​​for the target nodes in each decision group are numerically aggregated and compared with the expected value or value range and tolerance in the hardware declaration record to generate a decision result for that decision group. Alternatively, the unit-converted measured value for each target node in the target node set is compared with the expected value or value range and tolerance in the hardware declaration record to generate a decision result for that target node. The decision results for the target nodes in each decision group are summarized to generate a decision result for that decision group. Finally, a hardware verification result is generated based on the decision results for each decision group.

2. The hardware verification method according to claim 1, characterized in that, The nodes in the runtime hardware topology diagram include at least one of the following: host, physical accelerator card, chip, computing device, computing core, storage device, and link.

3. The hardware verification method according to claim 1, characterized in that, The hardware declaration record also includes applicable product and version constraints associated with the hardware declaration, and the hardware verification method further includes: The system discovers physical accelerator cards in the AI ​​computing platform and generates a joint environment fingerprint for each physical accelerator card in the AI ​​computing platform. The joint environment fingerprint for each physical accelerator card in the AI ​​computing platform includes at least one of the following: topology summary, product model and serial number, product revision, firmware version, driver version, runtime version, and capability tag. The topology summary for each physical accelerator card in the AI ​​computing platform is generated based on the unique topology path of the physical accelerator card in the runtime hardware topology graph. For each physical accelerator card in the AI ​​computing platform, the hardware declaration is used to determine whether it applies to the physical accelerator card based on the joint environment fingerprint of the physical accelerator card and the applicable product and version constraints in the hardware declaration record. If it is determined that the hardware declaration does not apply to the physical accelerator card, the physical accelerator card will not be selected into the target node set.

4. The hardware verification method according to claim 3, characterized in that, For each physical accelerator card in the AI ​​computing platform, if the hardware declaration is not applicable to the physical accelerator card, the hardware declaration is marked as "not applicable" relative to the physical accelerator card and no probe instance is generated for the physical accelerator card.

5. The hardware verification method according to claim 3, characterized in that, Each time a new hardware verification task is created for the AI ​​computing platform, or when hot-swapping of any physical accelerator card or a change in the joint environment fingerprint of any physical accelerator card is detected in the AI ​​computing platform, the runtime hardware topology map is reconstructed or refreshed.

6. The hardware verification method according to claim 1, characterized in that, Also includes: Based on the hardware declaration record, the required topology information set is determined. It is then checked whether the runtime hardware topology graph contains all the topology information in the required topology information set. If the runtime hardware topology graph does not contain all the topology information in the required topology information set, a hardware verification result of "uncertain" is directly generated.

7. The hardware verification method according to claim 1, characterized in that, Each node in the runtime hardware topology graph has a unique topology path and capability marker. The original observation record for each target node in the target node set includes at least one of the following: the probe version for the target node, the card identifier of the accelerator card to which the target node belongs, the unique topology path of the target node in the runtime hardware topology graph, the timestamp of the execution of the corresponding probe instance, the execution status of the corresponding probe instance, the original return value, the unit, the test conditions, and the original evidence hash of the original observation record. The measured value for each target node in the target node set is determined based on the original return value in the original observation record for the target node.

8. The hardware verification method according to claim 7, characterized in that, Also includes: Determine whether the test conditions in the original observation record for each target node in the target node set are consistent with the test conditions in the hardware declaration record. If the test conditions in the original observation record for each target node in the target node set are consistent with the test conditions in the hardware declaration record, unify the units of the measured values ​​for each target node in the target node set, and perform numerical aggregation and comparison within each determination group based on the aggregation rules in the hardware declaration record, or compare node by node and summarize the determination results within each determination group.

9. The hardware verification method according to claim 1, characterized in that, The probe instance for each target node in the target node set includes the declaration identifier of the hardware declaration, the card identifier of the entity accelerator card to which the target node belongs, the unique topology path of the entity accelerator card to which the target node belongs in the runtime hardware topology graph, the conditional expression of the probe instance applicable to the target node, the access interface used by the probe instance to access the target node, the parameters and command sequence applicable when the probe instance is executed, the preconditions that must be met before the probe instance is executed, the maximum allowed time for the probe instance to be executed, the number of times and / or conditions for re-execution after the probe instance fails or times out, the cleanup actions that need to be performed after the probe instance is executed, the security level required for the probe instance to be executed, and at least one of the output fields, unit transformations, aggregation operators, and comparators that need to be extracted from the original return value after the probe instance is executed.

10. The hardware verification method according to claim 9, characterized in that, Also includes: For each target node in the target node set, the target node is determined to be in a testable state based on the required security level for the probe instance for that target node. The target node is also determined to be accessible based on its workload and access permissions. If the target node is determined to be in a testable state and access is permitted, the operation sequence corresponding to the probe instance for that target node is sent to that target node.

11. The hardware verification method according to claim 1, characterized in that, Also includes: All probe instances targeting all target nodes in the target node set are packaged into a probe package. A probe package version digest is calculated for the probe package. A joint evidence package is generated based on the declaration identifier and document location anchor of the hardware declaration, the probe package version digest, the topology digest of the accelerator card to which each target node in the target node set belongs, the product model and serial number, the product revision, the firmware version, the driver version, the runtime version, the original evidence hash of the original observation record for each target node in the target node set, the normalization and aggregation process, and the hardware verification result. The hardware verification result is then associated with the joint evidence package.

12. The hardware verification method according to claim 11, characterized in that, Also includes: Maintain the hardware declaration-probe package-entity topology node dependency graph associated with the hardware document; When the document submission record of the hardware document is updated, when the document template of the hardware document is updated, when the declaration extraction rules associated with the generation of the hardware declaration record change, or when the comparison rules associated with the generation of the hardware verification result change, the affected probe instances and affected target nodes associated with the affected hardware declaration are found based on the hardware declaration-probe package-entity topology node dependency graph, the target nodes applicable to the affected hardware declaration are reselected, the probe instances for each reselected target node are regenerated, and each regenerated probe instance is executed. When the hardware and supporting software environment related to physical accelerator cards in the AI ​​computing platform changes, the affected target nodes corresponding to the changes in the hardware environment of the AI ​​computing platform are identified by comparing the new and old joint environment fingerprints of each physical accelerator card in the AI ​​computing platform. Based on the hardware declaration-probe package-physical topology node dependency graph, the affected probe instances and affected target nodes associated with the affected target nodes are identified. The target nodes applicable to the hardware declaration are reselected, probe instances for each reselected target node are regenerated, and each regenerated probe instance is executed.

13. The hardware verification method according to claim 1, characterized in that: When the aggregation rule in the hardware declaration record is "per node", the measured value of each target node in the target node set is converted to the same unit as the expected value or value range in the hardware declaration record. The unit-converted measured value of each target node in the target node set is compared with the expected value or value range and tolerance in the hardware declaration record, and the judgment result for each target node in the target node set is retained. When the aggregation rule in the hardware declaration record is "total", "minimum" or "maximum", the measured values ​​participating in the numerical aggregation are converted into the same units as the expected values ​​or value ranges in the hardware declaration record. Numerical aggregation is performed in each decision group, and the data aggregation results for each decision group are compared with the expected values ​​or value ranges and tolerances in the hardware declaration record. When the aggregation rule in the hardware declaration record is "all satisfied" or "any satisfied", the measured value of each target node in the target node set is converted to the same unit as the expected value or value range in the hardware declaration record. The unit-converted measured value of each target node in the target node set is compared with the expected value or value range and tolerance in the hardware declaration record. The judgment results for each target node in the target node set are summarized according to the aggregation rule in the hardware declaration record.

14. The hardware verification method according to claim 1, characterized in that, The hardware verification result is one of "pass", "fail", "not applicable", "uncertain", or "execution error".

15. The hardware verification method according to claim 14, characterized in that, If the hardware verification result is "failed", a difference report is generated, including the document location anchor associated with the hardware declaration, expected value, measured value, unit, test conditions, card identifier of the physical accelerator card, topology path, and aggregation operator.

16. The hardware verification method according to claim 1, characterized in that, If the scope of the hardware declaration, test conditions, or units cannot be determined, the hardware declaration record is marked as "needs to be determined," and no probe instance is generated based on the hardware declaration record.

17. The hardware verification method according to claim 7, 9, or 15, characterized in that, The card identifier of each physical accelerator card in the artificial intelligence computing platform includes the physical accelerator card's PCIe domain, bus, device and function address, product model and serial number, manufacturer and device identifier, and product revision, or includes the physical accelerator card's device path and hardware identifier that do not change with the current verification process.

18. The hardware verification method according to claim 1, characterized in that, The probe instances include at least one of configuration probes, telemetry probes, and active workload probes. The configuration probe is used to observe static claims of hardware identification, core count, capacity, function switches, or register fields. The telemetry probe is used to generate query sequences for dynamic claims of temperature, power consumption, frequency, link status, or error count. The active workload probe is used to generate micro-workloads for claims of bandwidth, throughput, latency, or power consumption limits.

19. The hardware verification method according to claim 1, characterized in that, The hardware documentation includes at least one of the following: chip datasheet, accelerator card hardware specification document, register document, driver interface document, and runtime interface document.

20. A computer-readable storage medium having computer-executable instructions stored thereon, characterized in that, When executed by a processor, the computer-executable instructions cause the processor to perform the hardware verification method according to any one of claims 1 to 19.

21. A computer program product comprising computer-executable instructions, characterized in that, When executed by a processor, the computer-executable instructions cause the processor to perform the hardware verification method according to any one of claims 1 to 19.