lite_boost
LiteBoost is an inference acceleration toolkit for Ascend hardware, built on top of MindSpore Lite. It provides high-performance custom operators, multi-card parallel inference, quantization and sparsity, and other inference acceleration capabilities.
Parallel
Initialize the HCCL distributed environment for parallel inference. |
|
Modify a supported model in-place for distributed parallel inference. |
Layers
Applies per-row RMS normalization over the last dim of x. |
|
Upsamples x using nearest-exact interpolation. |
|
Applies rotary position embeddings (RoPE) to x. |
|
Computes flash attention with automatic backend fallback. |
Operators
Block-sparse fusion attention forward computation. |
|
High-level sparse attention entry point. |
|
Recurrent GatedDeltaRule operator — CANN aclnn-backed recurrent linear attention decode. |
|
Chunked (prefill) Gated Delta Rule operator on NPU (ascend_a2 op). |