Batch matrix multiplication operations in a machine learning accelerator
AssigneeMeta Platforms, Inc.
InventorsYu Hsin Chen, Liangzhen Lai, Kyong Ho Lee, Harshit Khaitan
Life of this patent
Estimating the term…
Loading patent…
AssigneeMeta Platforms, Inc.
InventorsYu Hsin Chen, Liangzhen Lai, Kyong Ho Lee, Harshit Khaitan
Estimating the term…
In one embodiment, a method includes, determining that a bmm operation between a first activation tensor and a second activation tensor needs to be performed, collecting the second activation tensor in two blocks from activation buffers of N tensor processor units, splitting each of the two blocks of the second activation tensor into an MSB tile and an LSB tile, loading the second activation tensor to weight buffers of the N tensor processor units by filling a first entry of each weight buffer of each of the N tensor processor units with contents of the MSB tiles of the two blocks and filling a second entry of the weight buffer with contents of the LSB tiles of the two blocks, and generating a bmm result using the first activation tensor distributed in the activation buffers and the second activation tensor in the weight buffers.
A computing system for accelerating machine-learning computations comprising:
A One or more computer-readable non-transitory storage media embodying software that is operable when executed to, by a computing system for accelerating machine-learning computations comprising a plurality of tensor processor clusters, each comprising a plurality of tensor processor units, an activation direct-memory access (DMA), and a weight DMA:
A method comprising, by a computing system for accelerating machine-learning computations comprising a plurality of tensor processor clusters, each comprising a plurality of tensor processor units, an activation direct-memory access (DMA), and a weight DMA:
Dependencies are inferred from the claim text.