Systems and methods for static cached decoding
AssigneeQUALCOMM Incorporated
InventorsShaojie ZHUO, Ramchalam KINATTINKARA RAMAKRISHNAN, Xiaopeng ZHANG, Yicheng LIN, Chenzheng SU, Liang SHEN
Life of this patent
Estimating the term…
Loading patent…
AssigneeQUALCOMM Incorporated
InventorsShaojie ZHUO, Ramchalam KINATTINKARA RAMAKRISHNAN, Xiaopeng ZHANG, Yicheng LIN, Chenzheng SU, Liang SHEN
Estimating the term…
Cached decoding systems and techniques are described. A system (e.g., decoder) receives an input token (e.g., input vector). The system applies a projection tensor (e.g., a projection matrix) to the input token to generate a feature tensor (e.g., a key tensor or a value tensor). The system processes at least the feature tensor and at least one previous feature tensor using at least one attention calculation to generate an output token. The at least one previous feature tensor is retrieved from a buffer. The at least one previous feature tensor can be stored in the buffer after having been previously calculated based on application of the projection tensor to a previous input token (e.g., from a previous iteration before the iteration in which the input token is received).
An apparatus for cached decoding, the apparatus comprising:
A method for cached decoding, the method comprising:
Dependencies are inferred from the claim text.