Home Knowledge Base Quantization for LLMs

Quantization for LLMs

What is Quantization? Quantization reduces the numerical precision of model weights from 32-bit or 16-bit floating point to lower bit widths (8-bit, 4-bit, or even 2-bit integers), dramatically reducing memory usage and improving inference speed.

Quantization Methods Comparison

MethodBitsMemory ReductionQuality ImpactSpeed
FP16162x baselineNoneGood
INT884x baselineMinimalFast
GPTQ48x baselineSmallFast
AWQ48x baselineSmallerFast
GGUF2-8VariableVariesCPU-friendly
FP882x baselineNone (H100)Native

Popular Quantization Techniques

GPTQ (GPT Quantization)

AWQ (Activation-aware Weight Quantization)

GGUF (llama.cpp format)

Practical Example A 70B parameter model:

When to Use Quantization

quantquantize4bit8bitawqgptq

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.