{
  "schema_version": "1.0",
  "id": "T-5718f2bdf91c",
  "url": "https://gpuatlas.top/articles/T-5718f2bdf91c/",
  "title": "vLLM 用 FP8、AWQ 还是 BF16，怎么核对显卡支持？",
  "summary": "vLLM精度支持需同时核对数值类型、量化方法、格式及实际内核，不能只按位数或显卡品牌判断。",
  "language": "zh-Hans",
  "category": {
    "id": "c-09",
    "name": "框架配置与故障",
    "url": "https://gpuatlas.top/categories/c-09/"
  },
  "topics": [
    {
      "id": "framework-87185e8f7f",
      "name": "vLLM",
      "kind": "framework",
      "description": "准备提供模型 API，或遇到张量并行和加载报错？从服务配置、量化支持与运行环境逐项检查。",
      "url": "https://gpuatlas.top/topics/framework-87185e8f7f/"
    }
  ],
  "body_text": "vLLM选FP8、AWQ或BF16，先把标签含义分开。BF16是数值类型，FP8涉及具体编码和量化执行，AWQ是量化方法及对应实现，不能只用位数比较所有显卡是否可用。\n\n列出GPU架构、vLLM版本、精确模型和权重格式，再核对该版本支持表及后端说明。主线文档和实现会变化，旧截图不能当永久兼容表，推理可用也不能推反向训练支持。\n\n启动日志查看实际选择的线性、注意力和专家内核，核对是否回退或改变激活精度。文件能加载不等于采用预期的原生低精度路径，硬件与模型架构也会分别限制实现。\n\n先用明确支持的基线完成短请求，再逐档加入日常长度和活动请求。低位失败时保留第一条错误，区分量化元数据、架构不支持、片上内核资源和总显存，处理方式不同。\n\n把现有BF16服务换成AWQ之前，先让两种格式回答同一组日常问题，再核对实际内核、答案和等待。若FP8路径在这张卡上不能按预期执行，就先查支持条件，而不是继续从文件大小推速度。多卡部署还要逐张核对，不能以其中一张的支持情况代表整组设备。",
  "published_at": null,
  "modified_at": "2026-11-26T15:00:32.276655+00:00",
  "evidence": {
    "type": "documentation_and_conditional_estimates",
    "hardware_tested": false,
    "note": "资料解释与条件估算，非硬件实测。"
  },
  "sources": [
    {
      "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"
    },
    {
      "id": "vllm-cache-config",
      "url": "https://raw.githubusercontent.com/vllm-project/vllm/main/vllm/config/cache.py",
      "retrieved_at": "2026-11-25T10:59:37.755333+00:00"
    },
    {
      "id": "torch-dtypes",
      "url": "https://docs.pytorch.org/docs/2.15/tensor_attributes.html",
      "retrieved_at": "2026-11-25T10:13:38.582093+00:00"
    },
    {
      "id": "vllm-troubleshooting",
      "url": "https://raw.githubusercontent.com/vllm-project/vllm/main/docs/usage/troubleshooting.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+00:00"
    }
  ],
  "revision_note": "更新使用说明与操作示例；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-5718f2bdf91c/",
    "json": "https://gpuatlas.top/data/articles/T-5718f2bdf91c.json",
    "markdown": "https://gpuatlas.top/data/articles/T-5718f2bdf91c.md"
  }
}
