{
  "schema_version": "1.0",
  "id": "T-71824d69661d",
  "url": "https://gpuatlas.top/articles/T-71824d69661d/",
  "title": "48G 显存给多人提供 API，怎么测实际能承受多少请求？",
  "summary": "48G API需联合测试所有实例，以混合请求的响应和恢复判断容量，实例预算不等于设备隔离。",
  "language": "zh-Hans",
  "category": {
    "id": "c-11",
    "name": "按显存找方案",
    "url": "https://gpuatlas.top/categories/c-11/"
  },
  "topics": [],
  "body_text": "48G显存提供API，先确定是一份模型服务多人、多个副本，还是多个不同模型。几种结构的驻留和调度不同，不能让每个进程都按整卡空闲量独立申请，再把各自通过当成联合可用。\n\n固定文件、精度和请求范围，先完成单请求。随后按日常比例混合短问答、长材料与长输出，逐步增加活动请求，分别记录排队、首字和完整延迟、失败率与峰值。\n\n多个实例必须同时运行目标负载。框架显存预算是实例资源安排，不是整卡强隔离；静态截图相加还可能漏掉输入处理和生成时的临时峰值。CPU混合时再加入主存与完整等待。\n\n延迟变差时先分辨排队、预填充还是生成。扩大队列只允许更久等待；调整活动序列、长度或量化会改变不同压力，应逐项比较，修改精度后重新核对质量。\n\n同卡两个模型各自测试正常，只说明单独运行可用。让它们同时接收日常长短请求，再分别检查超时、取消、截断和错误，观察负载下降后能否恢复。实例设置、任务比例及响应目标应与联合结果相连；用这份记录判断48G是否够用，扩容后也才知道瓶颈是否改变。",
  "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": "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": "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": "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-71824d69661d/",
    "json": "https://gpuatlas.top/data/articles/T-71824d69661d.json",
    "markdown": "https://gpuatlas.top/data/articles/T-71824d69661d.md"
  }
}
