FP8
A quantization format that stores model weights and/or activations using 8-bit floating-point numbers. It incurs minimal precision loss compared to FP16 or BF16, while consuming approximately twice the memory of 4-bit quantization formats.
Core Facts
NVFP4 is a 4-bit floating-point (FP4) quantization format introduced by NVIDIA, designed specifically for the hardware acceleration capabilities of Blackwell architecture GPUs
Taking LLaMA-3 70B (80 layers, 64 heads, 128 dimensions per head) as an example, the KV Cache for a single token occupies approximately 2.6 MB (FP16 precision), and the total KV Cache for a 32K context reaches approximately 83 GB.
FP8 is an 8-bit floating-point format natively supported by newer architectures such as the NVIDIA H100, which can compress data volume by half compared to FP16/BF16
Timeline (last 90 days)
Compared with FP8, NVFP4 can theoretically reduce register usage and memory bandwidth requirements by about 50%.
NVFP4 further compresses the data bit width compared with FP8, with the design goal of substantially reducing storage and bandwidth overhead in attention computation while maintaining model accuracy.
Tested across nine models, LoomKV compresses BF16 KV to 0.71 of its original size and FP8 KV to 0.85 to 0.87.
FP8 has native support on Hopper and later-architecture GPUs, halving the storage and compute bandwidth of weights and activations.
In FP8 communication optimization, quantization error is amplified in gradient accumulation, usually requiring scaling factors, block-wise quantization or stochastic rounding to maintain convergence stability.
LoongForge-Embodied provides FP8 communication optimization for DDP and FSDP, reducing communication overhead while maintaining training stability by quantizing communication data to FP8.
Mixed-precision training (AMP) uses low-precision formats such as FP16 or FP8, whose dynamic range is narrower and which is prone to gradient underflow or overflow.
The model-specific FP8 recipe provides at least 1.93 times the KV-cache token capacity of BF16 while maintaining training quality.
Combining FP8 with asynchronous rollout reaches the same training quality 1.62 times faster than synchronous BF16 training.
In LLM inference, FP8 is commonly used for weight and activation quantization, while FP8 quantization of the KV-cache can directly increase the number of cacheable tokens.
40 more timeline events
All Facts (20)
NVFP4 is a 4-bit floating-point (FP4) quantization format introduced by NVIDIA, designed specifically for the hardware acceleration capabilities of Blackwell architecture GPUs
90%VerifiedTaking LLaMA-3 70B (80 layers, 64 heads, 128 dimensions per head) as an example, the KV Cache for a single token occupies approximately 2.6 MB (FP16 precision), and the total KV Cache for a 32K context reaches approximately 83 GB.
90%VerifiedFP8 is an 8-bit floating-point format natively supported by newer architectures such as the NVIDIA H100, which can compress data volume by half compared to FP16/BF16
85%VerifiedIn FP16 precision, large models require approximately 2 GB of VRAM per 1 billion parameters.
80%VerifiedFP8 quantization technology reduces memory usage by approximately 50% with almost no loss in precision by compressing weights into an 8-bit representation.
80%VerifiedQuantization (such as INT8 and FP8) can reduce memory usage and improve throughput while maintaining acceptable accuracy loss in most scenarios.
75%VerifiedFP8 data volume is half that of FP16, and the H100's FP8 Tensor Core compute throughput is twice that of FP16 (approximately 1979 TFLOPS).
75%VerifiedEven compressing the weights to 214GB using 4-bit quantization still far exceeds the capacity of a single 48GB GPU.
70%VerifiedBF16 uses 1 sign bit, 8 exponent bits, and 7 mantissa bits, sacrificing precision while retaining the same dynamic range as FP32.
65%VerifiedFP8 has two main sub-formats — E4M3 (4-bit exponent + 3-bit mantissa) and E5M2 (5-bit exponent + 2-bit mantissa) — optimized for forward propagation and backward propagation respectively.
65%VerifiedThe model weights of Flux 2's 9B parameter model occupy approximately 18GB of VRAM at FP16 precision, typically requiring more than 24GB of GPU VRAM.
65%UnverifiedMoRI(Mixture of Routed Inference)量化通信策略在 dispatch 阶段使用 FP4 精度,combine 阶段使用 FP8 精度,实现了 2.56 倍的带宽压缩
90%Partially VerifiedNVFP4 occupies 4 bits per parameter, i.e., 0.5 bytes, theoretically halving weight memory usage and load bandwidth compared with FP8.
75%Partially VerifiedOn a dual-Spark system, DeepSeek V4 Flash (FP8 quantization) peaks at approximately 53 tokens per second.
65%UnverifiedAt fp16 precision, each value occupies 2 bytes.
60%UnverifiedFP8 is a low-precision format designed specifically for deep learning inference acceleration; compared to FP16, it can reduce model memory footprint by half and achieve inference speedups on hardware that supports FP8 (such as NVIDIA H100 and RTX 40-series GPUs).
60%UnverifiedNVFP4 further compresses the data bit width compared with FP8, with the design goal of substantially reducing storage and bandwidth overhead in attention computation while maintaining model accuracy.
50%UnverifiedTested across nine models, LoomKV compresses BF16 KV to 0.71 of its original size and FP8 KV to 0.85 to 0.87.
50%UnverifiedFP8 has native support on Hopper and later-architecture GPUs, halving the storage and compute bandwidth of weights and activations.
50%UnverifiedIn FP8 communication optimization, quantization error is amplified in gradient accumulation, usually requiring scaling factors, block-wise quantization or stochastic rounding to maintain convergence stability.
50%