{
  "schema_version": "1.0",
  "id": "T-b25305b3c296",
  "url": "https://gpuatlas.top/articles/T-b25305b3c296/",
  "title": "Qwen3 14B 想读长文档，上下文开多大才不容易爆显存？",
  "summary": "Qwen3 14B长文以40层缓存和实际权重联合预算，原生32768与扩展长度需分别验证容量和质量。",
  "language": "zh-Hans",
  "category": {
    "id": "c-02",
    "name": "推理与上下文",
    "url": "https://gpuatlas.top/categories/c-02/"
  },
  "topics": [
    {
      "id": "model-3387ea7659",
      "name": "Qwen3",
      "kind": "model",
      "description": "从小模型到更大参数档位，按显卡搭配查看 Qwen3 的运行条件，并查找长文本微调与适配器验证问题。",
      "url": "https://gpuatlas.top/topics/model-3387ea7659/"
    }
  ],
  "body_text": "Qwen3 14B读长文，先确定权重精度与实际空间。模型约14.8B参数，16bit原始数据约29.6GB，低位文件也有元数据和执行开销，加载成功后仍需为请求留余量。\n\n官方40层、8个KV头、头维128。常规单序列16bit KV在8192 token约1.25GiB、16384约2.5GiB、32768约5GiB，假设完整历史，分页、缓冲和权重未计，不能当作总显存。\n\n模型卡区分原生32768和YaRN等扩展范围，先验证日常原生任务，再核对扩展及后端支持。config字段能填写更大值，不是设备可承载或答案可靠的证明。\n\n固定模板、思考、输出与活动请求，从短材料逐档增加，正文、系统说明和历史共同统计token。分别记录输入处理与生成峰值，保留最早错误，缩短输出不一定解决输入阶段失败。\n\n14B采用量化或缓存策略后，长文里的关键事实、跨段关系和引用要重新核对，截断另记。CPU卸载或多卡还需交代实际放置与完整等待。把最长材料的正确答案和所用配置对应起来，才能说明取舍有效；只看到文字返回，既不能证明证据用对，也不能说明这份文档已经处理完。",
  "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": "qwen3-14b",
      "url": "https://huggingface.co/Qwen/Qwen3-14B/raw/main/README.md",
      "retrieved_at": "2026-11-25T10:43:11.065868+00:00"
    },
    {
      "id": "qwen3-14b-config",
      "url": "https://huggingface.co/Qwen/Qwen3-14B/resolve/main/config.json",
      "retrieved_at": "2026-11-25T10:43:11.065868+00:00"
    },
    {
      "id": "transformers-kv-cache",
      "url": "https://raw.githubusercontent.com/huggingface/transformers/main/docs/source/en/kv_cache.md",
      "retrieved_at": "2026-11-25T10:07:29.175278+00:00"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-b25305b3c296/",
    "json": "https://gpuatlas.top/data/articles/T-b25305b3c296.json",
    "markdown": "https://gpuatlas.top/data/articles/T-b25305b3c296.md"
  }
}
