← [ ABORT TO HUD ]
SEQ. 1
Modern Quantization: FP8, AWQ, and Marlin
High-Fidelity Low-Precision Representations
Quantization compresses floating point weights into smaller bit widths, cutting memory bandwidth pressure in half or by three-quarters.
Quantization Formats Compared
| Method | Bits | Hardware Target | Primary Benefit |
|---|---|---|---|
| NVFP4 / FP4 Micro-Scaling | 4-bit float | NVIDIA Blackwell (B200), Hopper FP4 kernels | Block-level micro-scaling factors; 2.5x throughput over FP8 with sub-0.02 perplexity loss |
| FP8 (E4M3 / E5M2) | 8-bit float | NVIDIA Hopper (H100), Blackwell (B200) | Near-zero perplexity loss, native Tensor Core hardware support, 2x throughput |
| AWQ (Activation-aware) | 4-bit int | Turing, Ampere, Ada, Hopper | Protects 1% salient outlier weights to maintain reasoning benchmarks |
| Marlin Kernels | 4-bit FP16 mixed | Ampere & newer NVIDIA GPUs | Reconstructs FP16 from INT4 at memory-bus speeds without dequantization stalls |
| GGUF (k-quants) | 2-bit to 8-bit | CPU, Apple Silicon (Metal), Consumer GPUs | Layer-by-layer mixed quantization tailored for memory-constrained local rigs |
⌨ HANDS-ON LABQuantize Model to FP8 E4M3 & AWQ
⭐ +225 XPQuantize BF16 weight tensors into FP8 E4M3 precision with calibration scales.
1Quantize model layer weights into FP8 E4M3 format.
OBJECTIVE 1 / 1 — type "hint" if stuck
SYNAPSE VERIFICATION
QUERY 1 // 1
Why does FP8 E4M3 quantization outperform older INT8 quantization on Hopper/Blackwell GPUs?
FP8 supports negative numbers while INT8 does not
FP8 uses more disk space
INT8 cannot run on Linux
Modern NVIDIA Tensor Cores feature dedicated FP8 FPUs that deliver 2x higher TFLOPS than FP16 without conversion overhead