<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AI 系統設計 on GuanLin's Latent Space</title><link>https://blog.my-techcore.com/categories/ai-%E7%B3%BB%E7%B5%B1%E8%A8%AD%E8%A8%88/</link><description>Recent content in AI 系統設計 on GuanLin's Latent Space</description><generator>Hugo -- gohugo.io</generator><language>zh-TW</language><copyright>© 2026 GuanLin's Latent Space. All rights reserved.</copyright><lastBuildDate>Sat, 11 Jul 2026 20:00:00 +0800</lastBuildDate><atom:link href="https://blog.my-techcore.com/categories/ai-%E7%B3%BB%E7%B5%B1%E8%A8%AD%E8%A8%88/index.xml" rel="self" type="application/rss+xml"/><item><title>2026 LLM Serving Stack 選型指南：從推論引擎到 AI Gateway 的架構視角</title><link>https://blog.my-techcore.com/posts/vllm-inference-framework-selection-methodology/</link><pubDate>Sat, 11 Jul 2026 20:00:00 +0800</pubDate><guid>https://blog.my-techcore.com/posts/vllm-inference-framework-selection-methodology/</guid><description>&lt;p>2026 年如果要部署 LLM，大部分人最後都會碰到同一個問題：到底該選什麼推論引擎是 vLLM、SGLang 還是 TensorRT-LLM？&lt;/p>
&lt;p>在實際部署 OCR、VLM、Agent 與多模型服務之後，我發現真正困難的不是「哪個引擎最快」，而是當模型數量增加、需求改變、團隊需要維護時，這套 Serving Stack 是否能穩定運作。真正的 Production AI 早就不是「單一推論引擎」的選擇，而是一整個 Serving Stack——從底層的推論引擎，到分散式編排，再到最上面的 AI Gateway，每一層都會影響最終的效能、成本與可維運性。&lt;/p>
&lt;p>這篇先把整個 Stack 的骨架跟選型方法論建起來——KV Cache 管理、Benchmark 細節、Orchestration 深入比較不會在這篇展開，這篇先彙整需要的骨架跟判斷順序。&lt;/p>

&lt;h2 class="relative group">TL;DR(Too Long; Didn&amp;rsquo;t Read)：懶人包
 &lt;div id="tldrtoo-long-didnt-read懶人包" class="anchor">&lt;/div>
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none">
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#tldrtoo-long-didnt-read%e6%87%b6%e4%ba%ba%e5%8c%85" aria-label="">#&lt;/a>
 &lt;/span>
 
&lt;/h2>
&lt;p>先給結論，層級怎麼分下面會有：&lt;/p>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>情境&lt;/th>
 &lt;th>選項&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>CPU／Apple Silicon／邊緣&lt;/td>
 &lt;td>llama.cpp&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>快速驗證、Demo、個人使用&lt;/td>
 &lt;td>Ollama&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>通用高併發 Production 服務&lt;/td>
 &lt;td>vLLM&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Agent／高 Prefix 重複率&lt;/td>
 &lt;td>SGLang&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>固定模型、極致 NVIDIA 效能&lt;/td>
 &lt;td>TensorRT-LLM&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>多節點編排、Autoscaling 需求&lt;/td>
 &lt;td>Dynamo／Ray Serve&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>多供應商路由、金鑰治理&lt;/td>
 &lt;td>LiteLLM／Kong&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;p>這張表能先縮小範圍，但實際要不要選它，建議還是要經過邏輯判斷與測試。&lt;/p></description></item></channel></rss>