Large language model (LLM) quantization

WO2024263186A1PCT designated stage expired Publication Date: 2024-12-26GOOGLE LLC
-1 Cites -1 Cited by

Patent Information

Application Number
PCT/US2023/036614
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-20
Filing Date
2023-11-01
Publication Date
2024-12-26

Smart Images

  • Figure US2023036614_26122024_PF_FP_ABST
    Figure US2023036614_26122024_PF_FP_ABST
Patent Text Reader

Abstract

Implementations relate to asymmetric quantization of large language models (LLMs). Processor(s) of a system can: obtain a trained LLM, wherein the trained LLM includes a plurality of layers, each layer comprising a respective plurality of weights; for each layer of the plurality of layers: calculate an optimal clipping range for the respective plurality of weights, and clip one or more weights of the respective plurality of weights that lie outside of the optimal clipping range to produce a clipped layer; quantize the LLM to generate a quantized LLM, wherein the instructions to quantize include instructions to map weights of the plurality of clipped layers of the LLM from continuous values to discrete values; and provide the quantized LLM for downstream processing.
Need to check novelty before this filing date? Find Prior Art