Method for performing acceleration procedure to accelerate inference procedure of large language model
AssigneeMediatek Inc.
InventorsYue-Ting Pan, Huai-Ting Li, Yi-Min Tsai, Ya-Lin Huang, I-Lin Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeMediatek Inc.
InventorsYue-Ting Pan, Huai-Ting Li, Yi-Min Tsai, Ya-Lin Huang, I-Lin Chen
Estimating the term…
A method for performing an acceleration procedure to accelerate an inference procedure of a large language model (LLM) includes: performing a first drafting procedure to generate multiple first draft tokens; according to first draft information related to the multiple first draft tokens, determining whether a first rule is met to generate a first determination result, wherein the first rule corresponds to the first acceleration procedure; in response to the first determination result indicating that the first rule is not met, performing a second drafting procedure to generate multiple second draft tokens; obtaining multiple formal draft tokens at least based on the multiple second draft tokens; inputting the multiple formal draft tokens to the LLM in order to generate multiple target tokens; and performing a matching operation upon the multiple formal draft tokens and the multiple target tokens to generate at least one output tokens of the LLM.
A method for performing an acceleration procedure to accelerate an inference procedure of a large language model (LLM) comprising:
A non-transitory machine-readable medium for storing a program code, wherein when loaded and executed by a processor, the program code instructs the processor to perform a method for performing an acceleration procedure to accelerate an inference procedure of a large language model (LLM);
Dependencies are inferred from the claim text.