<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="675" viewBox="0 0 1200 675" preserveAspectRatio="xMidYMid meet" role="img" data-image-type="decision-tree">
  <title>K8s GPU共享方案选择路径</title>
  <desc>image_type=decision-tree; target_section=开篇选择结论后; purpose=按隔离强度、负载稳定性和显存边界选择GPU共享方案; key_terms=K8s GPU共享,MIG,时间片,显存边界,隔离强度,负载稳定性; reader_task=帮助读者快速判断应优先评估MIG还是时间片。</desc>
  <style>
    text{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif;fill:#172033}.title{font-size:26px;font-weight:700}.sub{font-size:18px;fill:#5b677a}.step{font-size:21px;font-weight:700}.body{font-size:18px}.result{font-size:23px;font-weight:700}.note{font-size:20px;font-weight:700;fill:#ffffff}
  </style>
  <rect width="1200" height="675" fill="#f7fbff"/>
  <rect x="70" y="56" width="1060" height="563" rx="34" fill="#ffffff" stroke="#d8e4f2" stroke-width="2"/>
  <text x="600" y="105" text-anchor="middle" class="title">先按隔离、负载与显存边界做三步判断</text>
  <text x="600" y="137" text-anchor="middle" class="sub">从隔离强度、负载稳定和显存边界判断共享方案</text>

  <rect x="112" y="176" width="300" height="136" rx="24" fill="#eaf3ff" stroke="#7db3ff" stroke-width="2"/>
  <text x="262" y="218" text-anchor="middle" class="step">1 看隔离强度</text>
  <text x="262" y="254" text-anchor="middle" class="body">租户影响是否</text>
  <text x="262" y="282" text-anchor="middle" class="body">需要硬边界</text>

  <rect x="112" y="342" width="300" height="136" rx="24" fill="#eefdf7" stroke="#50c79a" stroke-width="2"/>
  <text x="262" y="384" text-anchor="middle" class="step">2 看负载稳定</text>
  <text x="262" y="420" text-anchor="middle" class="body">短任务能否接受</text>
  <text x="262" y="448" text-anchor="middle" class="body">性能波动</text>

  <rect x="112" y="508" width="300" height="82" rx="24" fill="#fff7ed" stroke="#f59e0b" stroke-width="2"/>
  <text x="262" y="538" text-anchor="middle" class="step">3 看显存边界</text>
  <text x="262" y="566" text-anchor="middle" class="body">固定且可解释</text>

  <rect x="520" y="206" width="260" height="146" rx="28" fill="#e8fff7" stroke="#14b889" stroke-width="2.5"/>
  <text x="650" y="250" text-anchor="middle" class="result">优先评估MIG</text>
  <text x="650" y="292" text-anchor="middle" class="body">硬隔离更强</text>
  <text x="650" y="322" text-anchor="middle" class="body">规格与显存清晰</text>

  <rect x="520" y="398" width="260" height="146" rx="28" fill="#eef4ff" stroke="#3b82f6" stroke-width="2.5"/>
  <text x="650" y="442" text-anchor="middle" class="result">评估时间片</text>
  <text x="650" y="484" text-anchor="middle" class="body">弹性复用更强</text>
  <text x="650" y="514" text-anchor="middle" class="body">需接受性能抖动</text>

  <rect x="868" y="206" width="220" height="338" rx="30" fill="#f4f0ff" stroke="#8b5cf6" stroke-width="2"/>
  <text x="978" y="254" text-anchor="middle" class="result">治理前提</text>
  <text x="978" y="306" text-anchor="middle" class="body">调度可解释</text>
  <text x="978" y="340" text-anchor="middle" class="body">监控能分层</text>
  <text x="978" y="374" text-anchor="middle" class="body">队列有边界</text>
  <text x="978" y="408" text-anchor="middle" class="body">故障可回退</text>
  <text x="978" y="464" text-anchor="middle" class="body">能力不足时</text>
  <text x="978" y="494" text-anchor="middle" class="body">先灰度节点池</text>

  <rect x="456" y="570" width="288" height="40" rx="20" fill="#172033"/>
  <text x="600" y="596" text-anchor="middle" class="note">先小范围验证，再扩大共享范围</text>
</svg>
