Skip to content
← Quantization & Numerics / 16
hardNewMetaNVIDIAAMD

Why does a Hadamard rotation make W4A4 quantization work, which rotations run online, and what do they cost?

Rotating a model before quantizing it changes nothing in exact arithmetic and almost everything at 4 bits. The answer shows why with a runnable demo, says which rotations are free and which run on every token, prices the online ones, and names the format that makes the trick unnecessary.

Updated Oct 2026 · Worked answers on inference mechanisms, with calculations, implementation details, and follow-up questions.

Rotating a model before quantizing it changes nothing in exact arithmetic and almost everything at 4 bits. The answer shows why with a runnable demo, says which rotations are free and which run on every token, prices the online ones, and names the format that makes the trick unnecessary.

10 answers per topic instead of 5, plus saved progress and bookmarks · costs nothingor unlock all 213 remaining answers · $25

Every worked answer and derivation in all 12 topics, every concept page, the full practice-test bank, and every code drill’s edge-case tests and reference solution.

6 months · One payment · No auto-renewal

UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

Nobody has commented on this answer. Add a correction or another way to work it.