Graphics processor, constraint decoding method, and storage medium

By storing the mask in the GPU's on-chip memory and using the vector arithmetic logic unit to perform probability calculation tasks, the PCIe bus latency problem is solved, improving the inference efficiency and throughput of large language models.

CN122155928APending Publication Date: 2026-06-05XIAN XINTONG SEMICON TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
XIAN XINTONG SEMICON TECH CO LTD
Filing Date
2026-05-09
Publication Date
2026-06-05

Smart Images

  • Figure CN122155928A_ABST
    Figure CN122155928A_ABST
Patent Text Reader

Abstract

The present disclosure provides a graphics processor, a constraint decoding method and a storage medium. The graphics processor comprises: an on-chip memory storing a mask; the mask is used to indicate whether to output a corresponding token; a vector arithmetic logic unit configured to perform a probability calculation task of a current token; a load storage unit in communication connection with the on-chip memory and the vector arithmetic logic unit, configured to read the mask from the on-chip memory according to a read address within a time window in which the vector arithmetic logic unit performs the probability calculation task of the current token; and the vector arithmetic logic unit is further configured to filter the result of the probability calculation task of the current token by using the mask to obtain a target token. The present disclosure can eliminate PCIe communication delay, and further use the time-consuming token calculation to cover up the delay of reading the mask, improve the GPU utilization, and ensure the continuity of inference.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Large language model structured generation system and method

    CN120448409A

  • Mask generation method and device, computer equipment, readable storage medium and program product

    CN121209959A

  • Virtual address access to GPU surface and sampler states

    US20240134527A1

  • AI-Optimized Memory Fabric for Large Contexts and Multimodal Workloads

    US20260046317A1

  • Image and texture rendering system for artificial intelligence

    WO2026015933A1