{
  "schema_version": "1.0",
  "id": "T-2193fff0da9f",
  "url": "https://gpuatlas.top/articles/T-2193fff0da9f/",
  "title": "RTX 5090 32G 跑 Gemma 3 27B，量化和上下文该怎么选？",
  "summary": "RTX 5090 32G运行Gemma 3 27B可比较兼容8bit与更低位，以图文峰值和混合缓存确定长度。",
  "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-6bfe1186af",
      "name": "Gemma 3",
      "kind": "model",
      "description": "按 Gemma 3 的具体模型大小查显卡搭配，分清权重占用、上下文开销和额外运行空间。",
      "url": "https://gpuatlas.top/topics/model-6bfe1186af/"
    },
    {
      "id": "task-dce84928dd",
      "name": "量化",
      "kind": "task",
      "description": "权重变小以后，速度和效果会怎样变化？这里收录量化格式选择、运行支持及显存不足时的取舍。",
      "url": "https://gpuatlas.top/topics/task-dce84928dd/"
    }
  ],
  "body_text": "RTX 5090 32G运行Gemma 3 27B，可先比较明确支持的8bit与更低位。按27B名义参数，8bit原始数据约27GB，即约25.15GiB，理想4bit约13.5GB，实际参数、视觉组件和元数据另核。\n\n32G给较高位宽提供候选空间，但长文和图片仍会挤压余量。模型局部滑窗与全局注意力混合，后端的分配与回收会改变状态成本，不能把全部层按普通完整历史KV估总占用。\n\n先核对驱动、框架与目标内核，设备识别不能证明所有模型路径已匹配。固定短文本比较精度，再固定文件增加日常材料，随后单独验证图片，最后加入活动请求。\n\n输入处理与生成峰值分别记录，CPU参与时加入主存和完整等待。128K模型能力不是所有请求的默认条件，纯文本单项余量也不能重复分给图片与并发。\n\n在32G上选择8bit还是更低位，可以从一份日常长材料及其配图入手：先看两种方案能否答对相同事实和图中文字，再比较峰值与完整等待。保留处理器、模板和缓存设置，若8bit留不下所需输入，就再评估低位方案是否保住了这些关键信息。",
  "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": "gemma3-official",
      "url": "https://raw.githubusercontent.com/google-gemma/docs/main/docs/models/gemma-3/index.md",
      "retrieved_at": "2026-11-25T11:28:43.769677+00:00"
    },
    {
      "id": "gemma3-config-code",
      "url": "https://raw.githubusercontent.com/google/gemma_pytorch/main/gemma/config.py",
      "retrieved_at": "2026-11-25T11:31:21.126309+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-2193fff0da9f/",
    "json": "https://gpuatlas.top/data/articles/T-2193fff0da9f.json",
    "markdown": "https://gpuatlas.top/data/articles/T-2193fff0da9f.md"
  }
}
