google / gemmlowp

Low-precision matrix multiplication
Apache License 2.0
1.77k stars 451 forks source link

Suggestions for resources to understand gemmlowp #210

Closed mrtpk123 closed 2 years ago

mrtpk123 commented 2 years ago

Hello,

I'm a noob trying to understand the theory and implementation of gemmlowp. Can you please share any resources that I can start with? Any help in this regard is very much appreciated.

Thanks, Thomas.

bjacob commented 2 years ago

There are some design docs in the doc/ directory, and the general idea of quantization has been elaborated on in https://arxiv.org/abs/1712.05877 and https://www.tensorflow.org/lite/performance/quantization_spec .

gemmlowp is obsolete though, its successor is https://github.com/google/ruy - also not design-documented, sorry. Also not very actively developed anymore at the moment. These days, an increasing fraction of the use cases is migrating to https://github.com/google/XNNPACK .

mrtpk123 commented 2 years ago

Thank you