A hardware chip specifically designed to accelerate the computational tasks of AI neural network execution. As the underlying computing resource of NNRt, it provides more efficient matrix computation capabilities than general-purpose CPUs.
An inference execution mode in which the request returns immediately after submission, and the caller is notified of inference completion through a callback. Compared with synchronous inference, it can improve system throughput.
A mechanism that saves model compilation results as cache files or in-memory data. When the same model is compiled again, the cache can be loaded directly, significantly reducing compilation time.
A proprietary configuration item for specific AI hardware, set through the extension configuration interface provided by NNRt. Refer to the hardware vendor for specific property names and values.
One of the functional modules of NNRt, responsible for displaying the information of connected AI hardware and providing interfaces for selecting AI hardware.
A half-precision floating-point computation mode that trades lower numerical precision for higher computation performance and lower memory usage, suitable for inference scenarios that do not require high precision.
The AI acceleration chip driver at the bottom layer of NNRt, responsible for converting the model representation of NNRt into a computation format executable by the hardware.
The capability of a model to collaboratively execute model inference across different types of hardware, such as CPU, GPU, and acceleration chips.
Stores the compiled model object in memory for fast loading and reuse, avoiding repeated compilation overhead.
A software framework that runs on top of AI acceleration chips and provides model inference capabilities, such as MindSpore Lite. The inference framework implements cross-chip inference by calling NNRt interfaces.
An optimization technique that merges multiple adjacent operators into a single operator for execution, reducing data movement and kernel launch overhead to improve inference performance.
A layer that defines standardized hardware device interfaces, allowing upper-layer software (such as NNRt) to access AI acceleration chips from different vendors through unified interfaces.
One of the functional modules of NNRt. It is responsible for applying for shared memory on the AI hardware driver and allocating it to the inference input and output tensors, and releasing the corresponding shared memory when the tensors are destroyed.
The model graph format used by the MindSpore Lite inference framework. It is compatible with the NNRt internal model graph format, so MindSpore Lite can directly interoperate without calling the NNRt graph construction interface.
Huawei's self-developed AI inference framework with built-in NNRt support. It can directly connect to NNRt through the MindIR model graph to achieve transparent inference across AI hardware.
One of the functional modules of NNRt. It saves compiled model objects in a cache format (file or memory), which can be loaded directly at the next compilation to greatly improve compilation speed.
A processing stage of NNRt that converts an internal model graph or an offline model file into a hardware-specific model object on the underlying AI hardware driver through the compilation interface.
A processing stage of NNRt that converts the model graph of an inference framework into an internal model graph of NNRt by calling graph construction interfaces.
A graph structure that represents the topology of a neural network, containing operator nodes and tensor connection relationships, and is used to describe the computational flow of a model.
The processing stage of NNRt, which creates an executor based on the compiled model object, sets the inference input and output tensors, and then executes model computation on AI hardware.
A cross-chip inference computing runtime for the AI domain. It serves as an intermediate bridge connecting the upper-layer AI inference framework and the underlying acceleration chip, enabling cross-chip inference computing of AI models.
A tensor handle in NNRt, used to set the inference input and output tensors of an executor, including data layout, data type, shape, and so on.
A dedicated chip specifically designed to accelerate neural network computation, and one of the AI acceleration hardware types that NNRt connects to.
The compiler handle type of NNRt, used to configure and execute model compilation, including specifying the device, device cache, device performance parameters, and so on.
The executor handle type of NNRt, used to construct the model graph, including adding tensors, adding operators, and specifying inputs and outputs.
A model file format directly related to specific AI hardware, converted from the original trained model by a model converter provided by the hardware vendor. Offline models compile quickly but cannot be compatible across different hardware.
The process in which the AI inference framework calls the NNRt graph construction interface to convert the framework's internal model graph into the NNRt internal model graph.
The basic computational unit in a neural network model, such as convolution, pooling, and activation functions. NNRt currently supports most common operators, and their specific implementations reside in the AI hardware driver.
An enumeration value that identifies the function of an operator. For example, OH_NN_OPS_ADD indicates an addition operator and is used to specify the operator type when adding an operator.
A hardware configuration option provided by NNRt, including modes such as extreme performance, high performance, balanced power consumption, and low power consumption, used to adjust the balance between performance and power consumption during inference.
Execution priority configuration for model computation, which determines the scheduling order of inference tasks on the hardware.
A parameter used to specify the quantization information of a tensor, including the scale factor and zero point. It specifies the quantization configuration of a tensor during model construction.
The execution environment during program runtime, providing basic services such as program loading, memory management, and task scheduling.
An inference execution mode in which the caller blocks after submitting an inference request and waits for the inference to complete and return the result. Compared with asynchronous inference, it is simpler to implement but may reduce system throughput.
A multidimensional array that serves as the basic representation of data in a neural network model, including input data, output data, weight parameters, and so on. A tensor is the basic carrier for operator computation.