{
  "schema_version": "1.0",
  "id": "T-1b174217b282",
  "url": "https://gpuatlas.top/articles/T-1b174217b282/",
  "title": "RTX 5090 32G 跑 Qwen3.8 27B，量化和上下文该怎么选？",
  "summary": "RTX 5090 32G运行Qwen3.8 27B应按目标负载比较兼容量化，256K完整注意力KV就可能超出高位预算。",
  "language": "zh-Hans",
  "category": {
    "id": "c-10",
    "name": "显卡与模型组合",
    "url": "https://gpuatlas.top/categories/c-10/"
  },
  "topics": [
    {
      "id": "gpu-e5d6e3a500",
      "name": "RTX 5090",
      "kind": "gpu",
      "description": "32G 显存之外，还要核对框架与新硬件的兼容性。查找模型搭配、双卡并行及具体运行报错。",
      "url": "https://gpuatlas.top/topics/gpu-e5d6e3a500/"
    },
    {
      "id": "model-c1627df10a",
      "name": "Qwen3.8",
      "kind": "model",
      "description": "查找现有 Qwen3.8 文章中的显卡搭配与配置条件；下载和部署前，应以对应版本的来源说明复核参数。",
      "url": "https://gpuatlas.top/topics/model-c1627df10a/"
    },
    {
      "id": "task-dce84928dd",
      "name": "量化",
      "kind": "task",
      "description": "权重变小以后，速度和效果会怎样变化？这里收录量化格式选择、运行支持及显存不足时的取舍。",
      "url": "https://gpuatlas.top/topics/task-dce84928dd/"
    }
  ],
  "body_text": "RTX 5090 32G运行Qwen3.8 27B，先按任务选长度，再比较兼容精度。语言部分统一8bit原始数据约27GB，即约25.15GiB；理想4bit约13.5GB，即约12.57GiB，视觉、元数据与运行状态另核。\n\n模型16层完整注意力、48层线性注意力。仅完整注意力常规单序列16bit KV在32K约2GiB、256K约16GiB，线性状态和缓冲未计。若假设可用预算为32GiB，8bit语言权重加256K这一部分KV已超过41GiB，不能从权重能加载推最大长度可用。\n\n先写真实负载清单：常见和最长输入、图片条件、输出上限与活动请求。清单描述确实会出现的组合，不把每项都设到最大，再逐项验证后端、模型结构与量化内核。\n\n短文本比较精度，长文观察输入处理和完整等待，固定图片另验收。用前中后的已知事实检查遗漏和错引，输入接收只是容量条件，证据利用需要独立通过。\n\n保存启动参数和预留机制，预分配缓存不等于当前请求已使用全部空间，修改预算后重跑原负载。CPU参与加入主存，比较其他显卡时统一文件、模板和输入。\n\n若实际只需要32K材料，不必为256K预先牺牲精度；若确实要读更长内容，就用前中后的已知事实检查低位方案是否遗漏或错引。每次改变文件、缓存或输入范围都另记结果，才能与原方案比较。把更短输入的等待算成5090的硬件加速，会掩盖任务本身已经变化。",
  "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": "nvidia-geforce-specs",
      "url": "https://www.nvidia.com/en-us/geforce/graphics-cards/compare/",
      "retrieved_at": "2026-11-25T10:34:57.629275+00:00"
    },
    {
      "id": "qwen38-27b",
      "url": "https://huggingface.co/Qwen/Qwen3.8-27B/raw/main/README.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+00:00"
    },
    {
      "id": "qwen38-27b-config",
      "url": "https://huggingface.co/Qwen/Qwen3.8-27B/resolve/main/config.json",
      "retrieved_at": "2026-11-25T11:12:54.996058+00:00"
    },
    {
      "id": "cuda-compatibility",
      "url": "https://docs.nvidia.com/deploy/cuda-compatibility/index.html",
      "retrieved_at": "2026-11-25T10:24:21.873697+00:00"
    },
    {
      "id": "vllm-quantization",
      "url": "https://raw.githubusercontent.com/vllm-project/vllm/main/docs/features/quantization/README.md",
      "retrieved_at": "2026-11-25T10:11:32.915597+00:00"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-1b174217b282/",
    "json": "https://gpuatlas.top/data/articles/T-1b174217b282.json",
    "markdown": "https://gpuatlas.top/data/articles/T-1b174217b282.md"
  }
}
