Q8_0 & FP8: Near-Lossless Quality, Higher Memory
Q8_0 (8-bit) quantization delivers near-lossless accuracy, retaining over 99% of original model quality, while FP8 precision can process 2.2 times more tokens per second than FP16 on NVIDIA H100 GPUs, making them ideal when accuracy is critical and more memory is available.
The top 3
- FP8's Two Main Formats: E4M3 vs. E5M2: FP8 quantization features E4M3 for higher precision with a lower range and E5M2 for lower precision with a higher dynamic range, each suited for different deep learning needs.
- 7B LLM Memory: Q8_0 vs. FP8 vs. FP16: A 7B LLM quantized to Q8_0 or FP8 typically uses around 7-8GB of VRAM, significantly less than FP16 (14-16GB) but more than 4-bit quantizations (4-4.5GB).
- Top LLM Tasks Benefiting from Q8_0/FP8 Fidelity: Q8_0 and FP8 quantization are ideal for tasks requiring high fidelity, such as coding, mathematical reasoning, and instruction-following agents, where minimal quality degradation is crucial.
Sources
Open the full topic