gemmini icon indicating copy to clipboard operation
gemmini copied to clipboard

Is there a document depicting `config_norm` in branch "mlsys-tutorial-2022"?

Open hust-gaoyujing opened this issue 3 years ago • 4 comments

I am so interested in the new thing "norm" when i read the codes in branch "mlsys-tutorial-2022", but i can't find a document for it to understand its function and how to use it. So i want to know whether or not there is a document depicting config_norm ?

hust-gaoyujing avatar Sep 07 '22 08:09 hust-gaoyujing

We're planning to merge that in Gemmini's master branch in the next few weeks, along with documentation. We are currently just distracted by some upcoming paper deadlines :)

config_norm provides support for LayerNorm operations and I-BERT's integer-only softmax approximation. These are both essentially normalization operations where the innermost dimension is the one being normalized. However, we hope soon to extend config_norm to also support operations like BatchNorm, where the normalized dimension is the outermost dimension.

hngenc avatar Sep 19 '22 01:09 hngenc

Thanks for your reply. Your works are fantastic and instructive to who are instrested in accelerator.Looking forward to more of your works.

hust-gaoyujing avatar Sep 19 '22 06:09 hust-gaoyujing

Haha, thank you! :)

hngenc avatar Sep 19 '22 06:09 hngenc

Great work and thanks again! Looking forward to seeing the new slides and records in MLSys-2022-tutorial !

ybai62868 avatar Sep 19 '22 14:09 ybai62868