Method and apparatus to cache key-value data in low-precision numerics for efficient generative transformer execution
Assigneed-MATRIX CORPORATION
InventorsAkhil Arunkumar, Satyam Srivastava, Aayush Ankit
Life of this patent
Estimating the term…
Loading patent…
Assigneed-MATRIX CORPORATION
InventorsAkhil Arunkumar, Satyam Srivastava, Aayush Ankit
Estimating the term…
A transformer compute apparatus and method of operation therefor. The apparatus receives matrix inputs in a first format and generates projection tokens from these inputs. Among others, the apparatus includes a first cache device configured for processing first projection tokens and a second cache device configured for processing second projection tokens. The first cache device stores the first projection tokens in a first cache region and stores these tokens converted to a second format in a second cache region. The second cache device stores the second projection tokens converted to the second format in a first cache region and stores the converted second projection tokens after being transposed. Then, a compute device performs various matrix computations with the converted first projection tokens and transposed second projection tokens. Re-processing data and expensive padding and de-padding operations for transposed storage and byte alignment can be avoided using this caching process.
A method of operating a transformer compute apparatus, the method comprising:
A method of operating a transformer compute apparatus, the method comprising:
A transformer compute apparatus, the apparatus comprising:
Dependencies are inferred from the claim text.