SHORTLIST20
हिन्दी
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
एआई

Language model quantization choices for CPU inference

Precision, workflow, calibration, runtime fit and practical trade-offs

अपडेट

इनकी तुलना क्यों

A smaller bit count is not the whole decision. Quantization choices differ in whether they need calibration, whether they are created ahead of time or while loading, and which CPU runtime can actually execute the result.

क्या यह सूची उपयोगी है?
  1. 1 G

    GGUF K-quants

    Post-training GGUF quantization offers multiple size and quality points and is directly consumed by CPU-oriented GGML runtimes.

    Portable 2-bit to 8-bit weights for llama.cpp

  2. 2 G

    GGUF importance-matrix quants

    IQ formats use an importance matrix to preserve selected weights while pushing storage below common 4-bit choices.

    Very low-bit GGUF with calibration importance data

  3. 3 G

    GPTQ

    GPTQ quantizes a model against a calibration dataset and is commonly distributed as a pre-quantized checkpoint.

    Calibration-based weight-only quantization

  4. 4 A

    AWQ

    AWQ protects salient weights using activation statistics and is loaded from pre-quantized checkpoints on supported CPU backends.

    Activation-aware 4-bit weight quantization

  5. 5 b

    bitsandbytes 4-bit / 8-bit

    bitsandbytes applies 8-bit or 4-bit weight quantization at load time and supports CPU among its documented hardware targets.

    Quantize while loading in Transformers

  6. 6 O

    OpenVINO INT4 / NF4

    The OpenVINO export path uses NNCF weight compression to produce INT4 or NF4 models for its CPU and edge runtime.

    Weight compression for OpenVINO GenAI

साथ-साथ तुलना

GGUF K-quantsGGUF importance-matrix quantsGPTQAWQbitsandbytes 4-bit / 8-bitOpenVINO INT4 / NF4
Precision
Typical precision2 to 8 bits per weight familyAbout 1 to 4 bits per weight familyCommonly 4-bit weight-only4-bit weight-only8-bit or 4-bit, including NF4INT4 or NF4 weights
Workflow
When appliedPost-training conversion to GGUFPost-training conversion to GGUFPre-quantized or during model loadingLoad a pre-quantized checkpointWhile loadingDuring OpenVINO export
CalibrationOptional importance matrixImportance matrix expected for best resultsDataset requiredActivation samples used when creating checkpointNo dataset requiredOptional data-aware compression settings
Runtime
CPU deploymentllama.cpp and compatible GGUF runtimesllama.cpp builds supporting the selected IQ typeTransformers/GPTQModel CPU supportTransformers CPU support except ExLlama backendsTransformers with bitsandbytes CPU backendOpenVINO GenAI CPU pipeline
Choice
Practical trade-offBroad portability and many size/quality pointsSmallest files with a steeper quality/support trade-offAccuracy-oriented 4-bit path with calibration costCompact 4-bit weights; runtime compatibility mattersLow-friction experimentation; backend-dependent speedTight Intel/OpenVINO integration; converted artifact

कैसे मापा गया

Official runtime and Transformers documentation checked 2026-11-25; limited to quantization families with a documented CPU loading or inference path. This compares workflows and compatibility, not model quality or speed; those depend on model, hardware and settings.

संदर्भ

  1. Official CPU quantization documentation, the runtime and framework maintainers (facts). Checked 2026-11-25 07:23 UTC.
  2. llama.cpp quantize tool, ggml-org, checked 2026-11-25.
  3. GGUF tensor encoding schemes, ggml-org, checked 2026-11-25.
  4. GPTQ quantization, Hugging Face, checked 2026-11-25.
  5. AWQ quantization, Hugging Face, checked 2026-11-25.
  6. bitsandbytes quantization, Hugging Face, checked 2026-11-25.
  7. Inference with OpenVINO GenAI, Intel, checked 2026-11-25.