Flash normalization: fast RMSNorm for LLMs
Graef, Nils, Clapp, Matthew, Wasielewski, Andrew
–arXiv.org Artificial Intelligence
RMSNorm is used by many LLMs such as Llama, Mistral, and OpenELM. This paper details FlashNorm, which is an exact but faster implementation of RMSNorm followed by linear layers. See https://huggingface.co/open-machine/FlashNorm for code and more transformer tricks.
arXiv.org Artificial Intelligence
Jul-11-2024