Reduce memory usage and improve throughput with FP8 quantization on AMD Instinct GPUs.
FP8 quantization reduces model precision from 16-bit to 8-bit, providing:
Quantizes both weights and activations to FP8.
Per-Token Per-Channel FP8:
Additionally quantizes the KV cache for further memory savings.
Do not use --kv-cache-dtype fp8 with DeepSeek models. The ROCMAiterMLASparseBackend doesn't support it.
FP8 enables running large dense models like Llama-405B that wouldn't fit in BF16.
Root cause: Vision encoder (ViT) MLP dimensions are not compatible with ROCm's FP8 kernels which require dimensions divisible by 16.
Fix: Use BF16 (no quantization) for Vision-Language models like Qwen3-VL:
Root cause: DeepSeek's MLA architecture uses a special KV cache format (fp8_ds_mla) that is incompatible with the standard --kv-cache-dtype fp8 flag.
Fix: Do not use --kv-cache-dtype fp8 with DeepSeek models. vLLM automatically selects the appropriate format.
If you notice accuracy issues:
--quantization ptpc_fp8--kv-cache-dtype fp8--quantization flag
0 Comments
Be the first to comment and share your perspective with the community.