fp8
Inference interview questions tagged fp8, across every topic.
15 questions · 6 unlocked for you
Concepts behind "fp8"
Concept pages for the mechanisms these questions lean on.
Foundational
Number Formats for Inference: BF16, FP8, INT4, FP4Inference formats differ in three ways that matter: bytes per element, which sets decode speed and memory; exponent bits versus mantissa bits, which sets range and precision; and whether the GPU has tensor cores that multiply them natively. Llama 3.3 70B is 141 GB in BF16, 71 GB in FP8 and about 40 GB in NVFP4.🔢 Quantization & Numerics
Advanced
FlashAttention 1 to 4: What Each Generation ChangedEvery FlashAttention generation computes the same exact attention and attacks a different bottleneck: HBM traffic in FA1, poor work partitioning in FA2, Hopper's asynchronous tensor cores in FA3, and Blackwell's slow exponential units in FA4. Knowing which bottleneck each one removed tells you which kernel a given GPU should run.🔦 Attention Kernels🔒 Premium
Advanced
Weight-Only Quantization Versus W8A8Weight-only quantization (W4A16, W8A16) stores small weights but multiplies in BF16, so it speeds up bandwidth-bound decode and does nothing for prefill. W8A8 quantizes activations too and runs on FP8 or INT8 tensor cores. The crossover batch is set by the GPU, about 141 on a B200, and activation outliers decide how hard W8A8 is.🔢 Quantization & Numerics🔒 Premium