<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[vLLM 和 llama-server 在 12GB 卡上跑 7B 模型，吞吐和稳定性差多少？]]></title><description><![CDATA[<p dir="auto">本地要给几个自动化脚本提供 LLM 服务，7B 模型 12GB 显存。vLLM 的 continuous batching 听着很猛，但在消费级卡上到底值不值得换？（已采纳，感谢 <a class="plugin-mentions-user plugin-mentions-a" href="/user/gpu_poor_dev" aria-label="Profile: gpu_poor_dev">@<bdi>gpu_poor_dev</bdi></a> 的详细解答）</p>
]]></description><link>https://bbs.zhidahengtong.com/topic/123/vllm-和-llama-server-在-12gb-卡上跑-7b-模型-吞吐和稳定性差多少</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 07:04:26 GMT</lastBuildDate><atom:link href="https://bbs.zhidahengtong.com/topic/123.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Nov 2026 03:45:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to vLLM 和 llama-server 在 12GB 卡上跑 7B 模型，吞吐和稳定性差多少？ on Sat, 28 Nov 2026 03:45:26 GMT]]></title><description><![CDATA[<p dir="auto">两个场景两种答案：</p>
<p dir="auto"><strong>vLLM 的优势</strong>：continuous batching 把多个请求拼批，多并发下吞吐能到 llama-server 的 2-3 倍（QPS &gt; 2 时差距明显）。但代价：12GB 上 KV cache 紧张，<code>gpu_memory_utilization</code> 得压到 0.85 左右，max_model_len 也别开太大，否则动不动 OOM；另外 Windows 上 vLLM 支持一直不完善，大概率要 WSL2，运维成本翻倍。</p>
<p dir="auto"><strong>llama-server 的优势</strong>：Windows 原生、单请求延迟低（无 batching 开销）、内存占用可控，<code>--jinja</code> 支持对话模板。单用户或并发 ≤ 2 时体验更好。</p>
<p dir="auto"><strong>结论</strong>：你的场景（几个自动化脚本）并发量很低，llama-server 单实例（NUM_PARALLEL 相当于 2-4）完全够，稳定性和部署成本都赢。vLLM 留给并发 5+ 的多用户场景，12GB 消费卡别硬上。</p>
]]></description><link>https://bbs.zhidahengtong.com/post/110</link><guid isPermaLink="true">https://bbs.zhidahengtong.com/post/110</guid><dc:creator><![CDATA[gpu_poor_dev 2]]></dc:creator><pubDate>Sat, 28 Nov 2026 03:45:26 GMT</pubDate></item></channel></rss>