<svg xmlns="http://www.w3.org/2000/svg" width="960" height="540" viewBox="0 0 960 540" preserveAspectRatio="xMidYMid meet" role="img" aria-labelledby="title desc" data-image-type="decision_matrix">
  <title id="title">GPU 推理副本数初始判断矩阵</title><desc id="desc">image_type: decision_matrix; section_position: 图1，先确认单副本能否稳定装下模型；reader_task: 根据显存余量和延迟压力选择压测、扩容或调度优化方向。</desc>
  <defs><style>text{font-family:system-ui,Arial,Helvetica,"Microsoft YaHei","PingFang SC",sans-serif;fill:#17263a}.h{font-size:20px;font-weight:700}.s{font-size:16px;fill:#40536b}.m{font-size:14px;fill:#5d6c80}.axis{font-size:17px;font-weight:700;fill:#263d59}.cell{stroke:#c4d4e8;stroke-width:2}.good{fill:#eaf7ff}.risk{fill:#fff6e8}.hold{fill:#eef8ef}.stop{fill:#fff0ef}</style></defs>
  <rect width="960" height="540" fill="#f7fbff"/><rect x="82" y="54" width="796" height="430" rx="26" fill="#fff" stroke="#d9e6f5"/>
  <text x="480" y="96" text-anchor="middle" class="h">按显存余量与延迟压力定初始策略</text><text x="480" y="126" text-anchor="middle" class="s">矩阵用于上线前估算，最终以压测和线上校准为准</text>
  <text x="112" y="276" transform="rotate(-90 112 276)" text-anchor="middle" class="axis">显存余量</text><text x="480" y="440" text-anchor="middle" class="axis">并发 / P95延迟</text>
  <rect x="190" y="154" width="280" height="108" rx="18" class="cell hold"/><text x="330" y="188" text-anchor="middle" class="h">余量充足 / 压力低</text><text x="330" y="220" text-anchor="middle" class="s">1 到 2 个副本起步</text><text x="330" y="248" text-anchor="middle" class="m">保留预热与维护窗口</text>
  <rect x="494" y="154" width="280" height="108" rx="18" class="cell good"/><text x="634" y="188" text-anchor="middle" class="h">余量充足 / 压力高</text><text x="634" y="220" text-anchor="middle" class="s">按单副本容量倒推</text><text x="634" y="248" text-anchor="middle" class="m">结合弹性指标</text>
  <rect x="190" y="286" width="280" height="108" rx="18" class="cell risk"/><text x="330" y="320" text-anchor="middle" class="h">余量紧张 / 压力低</text><text x="330" y="352" text-anchor="middle" class="s">先优化模型与缓存</text><text x="330" y="380" text-anchor="middle" class="m">量化、批处理、隔离</text>
  <rect x="494" y="286" width="280" height="108" rx="18" class="cell stop"/><text x="634" y="320" text-anchor="middle" class="h">余量紧张 / 压力高</text><text x="634" y="352" text-anchor="middle" class="s">不要直接加副本</text><text x="634" y="380" text-anchor="middle" class="m">先换规格或调度边界</text>
  <rect x="184" y="462" width="592" height="36" rx="18" fill="#eef4fb" stroke="#c4d4e8"/><text x="480" y="486" text-anchor="middle" class="m">图例：以压测确认单副本容量、冷启动时间与调度粒度</text>
</svg>
