{
  "id": "llamacpp-quantize-table",
  "kind": "table",
  "slug": "llamacpp-quantize",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/llamacpp-quantize/",
  "title": "Quantize a GGUF model with llama-quantize",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "llama-quantize",
      "source": "ggml-org/llama.cpp (GitHub)",
      "detail": "Writes a quantized GGUF file"
    },
    {
      "name": "Q4_K_M",
      "source": "ggml-org/llama.cpp (GitHub)",
      "detail": "Example quantization method"
    },
    {
      "name": "imatrix",
      "source": "ggml-org/llama.cpp (GitHub)",
      "detail": "Suitable file that can minimize accuracy loss"
    },
    {
      "name": "allow-requantize",
      "source": "ggml-org/llama.cpp (GitHub)",
      "detail": "Can severely reduce quality"
    },
    {
      "name": "gguf-my-repo",
      "source": "ggml-org/llama.cpp (GitHub)",
      "detail": "Convert or quantize weights into GGUF weights"
    }
  ],
  "related_slugs": [
    "llamacpp-gguf",
    "hf-transformers-quantization-overview",
    "2210-17323-gptq"
  ],
  "license": "CC-BY-4.0",
  "source_license": "MIT (ggml-org/llama.cpp (GitHub)); Apache-2.0 (Hugging Face Hub docs); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}