{
  "schema_version": "1.0",
  "id": "T-b3a8a69df5c0",
  "url": "https://gpuatlas.top/articles/T-b3a8a69df5c0/",
  "title": "RTX 4090 24G 跑 DeepSeek R1 0528 Qwen3 8B，量化和上下文该怎么选？",
  "summary": "RTX 4090 24G运行R1 0528 Qwen3 8B可先建高精度短题基线，再按长思考和材料比较量化余量。",
  "language": "zh-Hans",
  "category": {
    "id": "c-10",
    "name": "显卡与模型组合",
    "url": "https://gpuatlas.top/categories/c-10/"
  },
  "topics": [
    {
      "id": "gpu-fc423f40d1",
      "name": "RTX 4090",
      "kind": "gpu",
      "description": "24G 显存跑大模型，需要在精度与上下文之间做选择。这里同时整理常见模型搭配和硬件比较。",
      "url": "https://gpuatlas.top/topics/gpu-fc423f40d1/"
    },
    {
      "id": "model-3387ea7659",
      "name": "Qwen3",
      "kind": "model",
      "description": "从小模型到更大参数档位，按显卡搭配查看 Qwen3 的运行条件，并查找长文本微调与适配器验证问题。",
      "url": "https://gpuatlas.top/topics/model-3387ea7659/"
    },
    {
      "id": "model-b64bc5faa8",
      "name": "DeepSeek R1",
      "kind": "model",
      "description": "完整版与蒸馏版的硬件需求不能混算。分别查看权重预算、多卡部署、量化运行及微调相关问题。",
      "url": "https://gpuatlas.top/topics/model-b64bc5faa8/"
    },
    {
      "id": "task-dce84928dd",
      "name": "量化",
      "kind": "task",
      "description": "权重变小以后，速度和效果会怎样变化？这里收录量化格式选择、运行支持及显存不足时的取舍。",
      "url": "https://gpuatlas.top/topics/task-dce84928dd/"
    }
  ],
  "body_text": "RTX 4090 24G运行DeepSeek-R1-0528-Qwen3-8B，短推理可先建立较高精度基线，长材料或长思考再比较量化余量。配置与分词器应来自DeepSeek对应仓库，结构相同也不能只替换原版Qwen3权重。\n\n按基础模型约8.2B规模，16bit原始数据约16.4GB、理想4bit约4.1GB。常规单序列16bit KV在8K约1.125GiB、32K约4.5GiB，实际文件、分页和缓冲另核，权重位宽不自动改变缓存。\n\n可以选十道有参考答案的日常题，覆盖短算术、带条件推理和代码分析，保存提示、采样与全部输出。先固定题目比较精度，再固定文件增加长度，统计完整答对、答错、重复和截断，不能只保留成功样例。\n\n两种精度差异明显时，先核对文件和模板，再用多次采样观察。一次输出随机性可能掩盖差异，某题偶然成功不能代表整体质量，较长思考也不能单独算优势。\n\n分别记录输入处理、首字、生成总量、完整等待与峰值。只看首字不能代表复杂题完成时间，截断后的短耗时不能算正常提速。CPU卸载时加入主存与设备映射。\n\n把这十道题接入日常服务后，重点回看原先最长、最容易重复或截断的题，确认活动请求和其他组件没有改变完成情况。某档精度只在短题占优，就不要据此覆盖复杂任务。完整R1-0528的成绩与这里的8B不同，4090上的选择仍应由这组题的完整结果和等待决定。",
  "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": "r1-0528-8b",
      "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-0528-Qwen3-8B/raw/main/README.md",
      "retrieved_at": "2026-11-25T11:23:02.755600+00:00"
    },
    {
      "id": "r1-0528-8b-config",
      "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1-0528-Qwen3-8B/resolve/main/config.json",
      "retrieved_at": "2026-11-25T11:23:02.755600+00:00"
    },
    {
      "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-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-b3a8a69df5c0/",
    "json": "https://gpuatlas.top/data/articles/T-b3a8a69df5c0.json",
    "markdown": "https://gpuatlas.top/data/articles/T-b3a8a69df5c0.md"
  }
}
