一种面向大语言模型稀疏推理的计算与存储方法及系统

By partitioning the sparse activation matrix data and optimizing the dynamic scheduling impedance, the problems of computational load imbalance and memory congestion in sparse inference of large language models are solved, thereby improving the performance of parallel inference.

CN122195684BActive Publication Date: 2026-07-17ZHONGNAN INFORMATION TECH (SHENZHEN) CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHONGNAN INFORMATION TECH (SHENZHEN) CO LTD
Filing Date
2026-05-15
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing technologies lack a dynamic matching mechanism between sparse data topology and hardware physical state in large language model sparse inference, leading to unbalanced computational load and memory access congestion, which affects parallel inference performance.

Method used

By acquiring sparse activation matrix data, dividing it into micro data blocks according to the block step size parameter, extracting the spatial span of adjacent non-zero elements, and combining the idle resource quantity of thread bundles and the computational resource demand, dynamically scheduling impedance, generating the optimal thread allocation quantity, and optimizing task allocation.

Benefits of technology

It achieves dynamic balanced allocation of computing power, eliminates thread divergence and memory access congestion, and improves the parallel inference performance of large language models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122195684B_ABST
    Figure CN122195684B_ABST
Patent Text Reader

Abstract

本发明属于资源分配技术领域,具体涉及一种面向大语言模型稀疏推理的计算与存储方法及系统,其方法包括:获取大语言模型的稀疏激活矩阵数据,并按分块步长参数切割获取多个微数据块;提取所述微数据块内部相邻非零元素的空间跨距以获取非零聚合指数;获取目标线程束的线程束空闲资源量与所述微数据块的理论计算资源需求量,结合所述非零聚合指数获取动态调度阻抗;获取硬件最大线程配额,基于所述动态调度阻抗、所述硬件最大线程配额与所述非零聚合指数获取最优线程分配量;基于所述最优线程分配量生成控制指令集以执行乘加运算。本发明消除了静态分配引发的线程分歧与访存拥塞,实现了算力动态匹配,提升了并行推理性能。
Need to check novelty before this filing date? Find Prior Art