Norms & blocks

RMSNorm

Rescales activations by their RMS magnitude. Like LayerNorm without mean-centering, and cheaper.

First page of Root Mean Square Layer NormalizationIntroduced inOct 2019Root Mean Square Layer NormalizationZhang & Sennrich · arXiv 1910.07467 ↗
RMSNorm: one divide, no mean subtractionone scale for the whole vector, then a learned per-channel gain (green)× learned gainRMSRMS = 1

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’).

Adoption over time

Share of new models that have included RMSNorm over time.

69%2022202320242025202669%20222023202420252026

See it in real models

Open any of these on hfviewer to find this block in the interactive architecture graph.

Qwen/Qwen3-0.6B architecture graphQwen/Qwen3-0.6Btext-generation · ↓ 29.9M · ♡ 2kOpen in visualizer Comfy-Org/MiniMax-H3 architecture graphComfy-Org/MiniMax-H3↓ 23.3M · ♡ 2kOpen in visualizer Qwen/Qwen3-4B architecture graphQwen/Qwen3-4Btext-generation · ↓ 11.6M · ♡ 761Open in visualizer Comfy-Org/Krea-2 architecture graphComfy-Org/Krea-2↓ 9.8M · ♡ 573Open in visualizer Qwen/Qwen2.5-7B-Instruct architecture graphQwen/Qwen2.5-7B-Instructtext-generation · ↓ 9.7M · ♡ 2kOpen in visualizer Qwen/Qwen3-8B architecture graphQwen/Qwen3-8Btext-generation · ↓ 9.4M · ♡ 2kOpen in visualizer Qwen/Qwen3-Embedding-0.6B architecture graphQwen/Qwen3-Embedding-0.6Bfeature-extraction · ↓ 8.7M · ♡ 1kOpen in visualizer Qwen/Qwen3.5-9B architecture graphQwen/Qwen3.5-9Bimage-text-to-text · ↓ 8.6M · ♡ 2kOpen in visualizer Qwen/Qwen2.5-0.5B-Instruct architecture graphQwen/Qwen2.5-0.5B-Instructtext-generation · ↓ 8.5M · ♡ 631Open in visualizer google/gemma-4-31B-it architecture graphgoogle/gemma-4-31B-itimage-text-to-text · ↓ 8.3M · ♡ 4kOpen in visualizer Qwen/Qwen3-14B architecture graphQwen/Qwen3-14Btext-generation · ↓ 7.7M · ♡ 507Open in visualizer Qwen/Qwen3.8-27B architecture graphQwen/Qwen3.8-27Bimage-text-to-text · ↓ 7.5M · ♡ 19kOpen in visualizer

View 4,666 catalog matches for RMSNorm →

Related concepts

hfviewer renders the full architecture of 9,900+ Hugging Face models as interactive graphs. Hover any block to see what it does, with this model’s real numbers.

Browse all model graphs →