Rescales activations by their RMS magnitude. Like LayerNorm without mean-centering, and cheaper.
Introduced inOct 2019Root Mean Square Layer Normalization
RMSNorm divides each activation vector by its root-mean-square and multiplies by a learned scale, skipping the mean subtraction and bias that LayerNorm carries. It stabilizes training just as well in practice while being simpler and faster, which is why almost every modern LLM (Llama onward) uses it, typically placed before attention and before the MLP in each block (‘pre-norm’).
Share of new models that have included RMSNorm over time.
Open any of these on hfviewer to find this block in the interactive architecture graph.
Browse all 2312 models with this in the catalog →
hfviewer renders the full architecture of 3,500+ Hugging Face models as interactive graphs. Hover any block to see what it does, with this model’s real numbers.
Browse all model graphs →