{
  "schema_version": "1.0",
  "id": "T-31dc851404b1",
  "url": "https://gpuatlas.top/articles/T-31dc851404b1/",
  "title": "Q4_K_M、Q5_K_M、Q8_0，新手到底选哪一个？",
  "summary": "Q4_K_M等选择先看完整文件和上下文余量，再用固定任务比较质量，名称数字不能代表全模型统一位宽。",
  "language": "zh-Hans",
  "category": {
    "id": "c-03",
    "name": "量化与文件选择",
    "url": "https://gpuatlas.top/categories/c-03/"
  },
  "topics": [],
  "body_text": "Q4_K_M、Q5_K_M、Q8_0没有所有模型通用最优项。先按工具支持和实际资源筛文件，再用日常题检查质量，有余量再比较更高位是否值得，不能只按名称数字排序。\n\n这些是不同量化方案，文件可能含混合类型和元数据，数字不表示每个参数都统一同位宽。实际大小和布局按精确发布核对，缓存与缓冲还需另算，不把全部容量交给更大权重。\n\n高位通常增加权重空间，质量改善和速度却不固定。代码、结构化输出、数字与长文细节需要参考题，模型不同也不能直接沿用另一个最佳设置，文件更小同样不保证更快。\n\n固定基础revision、模板、模式、采样和输出，只换量化再记录完整答案、错误、重复与截断。然后固定文件增加日常长度，区分位宽和负载影响，CPU参与加入主存与完整等待。\n\n如果较小文件已能稳定完成自己的任务，可以先保留。遇到反复写错数字或破坏结构化格式时，把这些原题交给同基础的较高精度文件对照；若两边都错，再查输入和模型能力。记录实际文件、框架与缓存条件，结论就能落到这类任务是否需要换档，而不是笼统说Q4好或Q8快。",
  "published_at": null,
  "modified_at": "2026-11-26T15:17:38.690397+00:00",
  "evidence": {
    "type": "documentation_and_conditional_estimates",
    "hardware_tested": false,
    "note": "资料解释与条件估算，非硬件实测。"
  },
  "sources": [
    {
      "id": "gguf-format",
      "url": "https://raw.githubusercontent.com/ggml-org/ggml/master/docs/gguf.md",
      "retrieved_at": "2026-11-25T10:11:32.915597+00:00"
    },
    {
      "id": "llamacpp-readme",
      "url": "https://raw.githubusercontent.com/ggml-org/llama.cpp/master/README.md",
      "retrieved_at": "2026-11-25T10:11:32.915597+00:00"
    },
    {
      "id": "llamacpp-server",
      "url": "https://raw.githubusercontent.com/ggml-org/llama.cpp/master/tools/server/README.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+00:00"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-31dc851404b1/",
    "json": "https://gpuatlas.top/data/articles/T-31dc851404b1.json",
    "markdown": "https://gpuatlas.top/data/articles/T-31dc851404b1.md"
  }
}
