How to Use FP8 Quantization to Raise Serving Throughput
Check your hardware supports FP8, quantize the model to FP8, and measure throughput against the FP16 baseline.
THE FIELD GUIDE
Understand model formats, context windows, quantization, embeddings, and sampling before choosing settings for a real task.
Check your hardware supports FP8, quantize the model to FP8, and measure throughput against the FP16 baseline.
Quantize a 7B or smaller model at Q5 or AWQ instead of aggressive 4-bit, then test instruction following.
Multiply parameters by bytes per weight, add overhead for the KV cache, and check the total against your GPU.
Run the quantized model on the tasks you actually care about and compare its answers with the original.
Run perplexity on a held-out sample before and after quantization and judge the damage from the delta.
Compare how GPTQ and AWQ protect quality at 4-bit, then pick the one that fits your model and serving stack.
Compare GGUF quantization levels by size and quality, then pick the variant that fits your memory budget.
Build a calibration set, run a 4-bit GPTQ pass with AutoGPTQ, and save the quantized model.
Convert a Hugging Face model to GGUF, quantize it to Q4_K_M, and test it with llama-cli.
Work out the memory each format needs, the quality each one risks, and pick the format your hardware can run.