The architecture of open-weight LLMs: MoE, hybrid layers, ternary weights silasd...
HN Best 200 @best
The architecture of open-weight LLMs: MoE, hybrid layers, ternary weights silasdata.com · 16 points · 0 comments · HN thread
TL;DR A long technical write-up surveys the architectures of open-weight LLMs released up to 2026, including grouped-query attention, sliding windows, Mixture of Experts, hybrid recurrent/attention layers, short convolutions, and ternary weights. It explains how each design trades compute, KV cache memory and quality, and sets up a later post that will benchmark the models on an 8 GB GPU. The thread has no comments yet, so the discussion section is empty.
- Twelve models are compared, all chosen to run on an 8 GB GPU with 32 GB RAM, spanning dense, MoE, hybrid and ternary designs.
- Grouped-query attention cuts KV cache size; Llama 3.2 3B's cache still reaches about 3.5 GiB at 32K tokens, more than its 8-bit weights.
- MoE models such as Qwen3.6-35B-A3B and gpt-oss-20b compute with about 3B active parameters but must store all experts, so experts can sit in system RAM and the bottleneck shifts to RAM bandwidth and PCIe.
- Hybrid models replace most attention with recurrent layers (Gated DeltaNet, Mamba-2) to keep memory flat, at the cost of exact recall from far back in the context.
- Ternary Bonsai 2 27B uses about 1.58 bits per weight, occupying 5.95 GB versus roughly 54 GB at 16 bits, and reportedly retains 98.2% of the original benchmark average according to PrismML.
- The article frames its own content as expectations to be tested in a follow-up post with controlled benchmarks.
#LLM #MixtureOfExperts #Quantization #LocalInference #AttentionMechanisms