{
  "schema_version": "1.0",
  "id": "T-f3ac769ebbc4",
  "url": "https://gpuatlas.top/articles/T-f3ac769ebbc4/",
  "title": "模型能跑 128K 上下文，我的显卡也一定能开到 128K 吗？",
  "summary": "128K模型能力不等于设备可承载，原生或扩展配置、权重、缓存及质量需同时满足。",
  "language": "zh-Hans",
  "category": {
    "id": "c-02",
    "name": "推理与上下文",
    "url": "https://gpuatlas.top/categories/c-02/"
  },
  "topics": [],
  "body_text": "模型支持128K，不代表显卡一定能开128K。模型能力、后端支持、设备预算和实际回答质量是不同条件，必须同时满足，短请求成功只覆盖其中一部分。\n\n权重之外，缓存、缓冲和输入处理会消耗空间。常规完整历史状态随长度及活动请求增长，特殊混合架构又有不同组织，不能给所有模型统一每token成本。\n\n模型卡可能区分原生与扩展长度，扩展方法、模板和具体版本需要配置。字段可填大数字不表示工具自动采用正确路径，更不说明当前精度能容纳全部长度。\n\n先确认模型卡写的是原生128K，还是需要额外配置的扩展长度，再检查工具实际采用的设置。文件能加载、输入框能填很大数字，都不能证明当前显卡已经承担了整段长文。\n\n用材料开头、中间和末尾各一条已知事实检查引用和遗漏，同时留出答案空间。如果输入能接收却漏掉末尾，先查截断和模型效果；若长文输入阶段就失败，再查状态及临时空间。缓存量化和CPU卸载要分别确认支持，最后用这份原材料说明可用范围，别只留一个128K上限数字。",
  "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-8b",
      "url": "https://huggingface.co/Qwen/Qwen3-8B/raw/main/README.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+00:00"
    },
    {
      "id": "vllm-memory",
      "url": "https://raw.githubusercontent.com/vllm-project/vllm/main/docs/configuration/conserving_memory.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+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-f3ac769ebbc4/",
    "json": "https://gpuatlas.top/data/articles/T-f3ac769ebbc4.json",
    "markdown": "https://gpuatlas.top/data/articles/T-f3ac769ebbc4.md"
  }
}
