The Modern Transformer Recipe Crystallizes
Meta's Llama (2023) did more than trigger an open-weights movement—it standardized the modern LLM architecture. Replacing absolute sinusoidal embeddings with Rotary Position Embeddings (RoPE), LayerNorm with RMSNorm, ReLU with SwiGLU, and multi-head attention with Grouped-Query Attention (GQA) yielded cleaner training dynamics and dramatically smaller KV caches at inference.
Paired with Tri Dao's FlashAttention—which tiled attention computation inside GPU SRAM to avoid round-trips to slow HBM—training and serving throughput jumped several-fold without changing a single mathematical result.
Sparse Mixture-of-Experts Decouples Knowledge From FLOPs
Dense models face a harsh tax: doubling parameter capacity doubles compute on every single generated token. Mixtral 8x7B (December 2023) brought sparse Mixture-of-Experts (MoE) squarely into the open mainstream by routing each token to only two of eight feed-forward experts—delivering 47B-class knowledge at roughly 13B active compute.
Instead of treating every token equally, MoE architectures specialize experts across syntax, code, math, and multilingual domains, letting labs scale total capacity into the hundreds of billions while keeping per-token latency manageable.
Fine-Grained MoE, MLA, and Global Open-Weight Parity
Across 2024, Llama 3, Qwen2/2.5, and DeepSeek pushed open weights from 'good enough for local demos' to direct parity with proprietary flagships. DeepSeek-V2 and V3 introduced Multi-head Latent Attention (MLA)—compressing KV caches into a low-rank latent vector—alongside fine-grained routed plus shared experts and auxiliary-loss-free load balancing.
When a 671B total / 37B active open-weight model could be trained in FP8 for a fraction of historical budgets and served at commodity token prices, the economic floor of intelligence shifted permanently.