<?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[【实测】便携机3080Laptop-16g大模型测试报告—Ternary-Bonsai-2.5-27B]]></title><description><![CDATA[<h1>20261127-便携机3080m-16g大模型测试报告—Ternary-Bonsai-2.5-27B</h1>
<blockquote>
<p dir="auto">测试对象：<code>D:\!AI\!Tools\ninfer</code> 引擎（2026-11-25.3 / CUDA 13.4 / sm_86）+ <code>D:\!AI\!Model\models4Ninfer</code> 下 4 份 <code>.ninfer</code> 权重</p>
</blockquote>
<blockquote>
<p dir="auto">硬件：ThinkPad P1 Gen4/ RTX 3080 Laptop 16 GiB / sm_86 / 驱动 596.47 / 80 W 墙 / <strong>64 GB 双通道 DDR4-3200</strong></p>
</blockquote>
<blockquote>
<p dir="auto">结论口径：本文所有数字分类标注 —— **【实测】<strong>本机本次运行结果、</strong>【官方基线】<strong>上游 config/README 数字、</strong>【推算】**由实测斜率外推（不入主表）。</p>
</blockquote>
<hr />
<h2>1. 结论先行</h2>
<p dir="auto"><strong>统一口径</strong>：每档 <code>--max-context = --kv-capacity = 档位</code>、<code>--kv-dtype rk4v4</code>、<code>--no-thinking</code>（温度 0）、<code>--prefill-cublas --prefill-chunk 4096</code>、深填至 <strong>档位 − 8192 token</strong>、生成 <strong>128 token</strong>、<code>--max-concurrency 1</code>。</p>
<p dir="auto"><strong>入菜单门槛（与 Ninfer启动本地大模型.bat 一致）</strong>：解码速度（深填满载口径）<strong>≥ 30 token/s</strong>。</p>
<h3>1.1 达标配方（decode ≥ 30 t/s，可入启动器菜单）</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>模型</th>
<th>档位</th>
<th>decode(t/s)</th>
<th>prefill(t/s)</th>
<th>TTFT</th>
<th>host KV</th>
<th>设备余量</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>96K</td>
<td><strong>54.1</strong></td>
<td>443.9</td>
<td>3m16s</td>
<td>0（纯显存）</td>
<td>5.93 GiB</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>128K</td>
<td><strong>48.9</strong></td>
<td>393.0</td>
<td>5m02s</td>
<td>0（纯显存）</td>
<td>5.35 GiB</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>160K</td>
<td><strong>45.3</strong></td>
<td>359.7</td>
<td>6m58s</td>
<td>0（纯显存）</td>
<td>4.77 GiB</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>192K</td>
<td><strong>43.2</strong></td>
<td>331.0</td>
<td>9m09s</td>
<td>0（纯显存）</td>
<td>4.19 GiB</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>256K</td>
<td><strong>36.4</strong></td>
<td>286.2</td>
<td>14m16s</td>
<td>0（纯显存）</td>
<td>3.03 GiB</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>96K</td>
<td><strong>71.7</strong></td>
<td>574.6</td>
<td>2m32s</td>
<td>0（纯显存）</td>
<td>5.10 GiB</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>128K</td>
<td><strong>61.3</strong></td>
<td>505.8</td>
<td>3m55s</td>
<td>0（纯显存）</td>
<td>4.52 GiB</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>160K</td>
<td><strong>55.6</strong></td>
<td>451.3</td>
<td>5m33s</td>
<td>0（纯显存）</td>
<td>3.94 GiB</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>192K</td>
<td><strong>50.7</strong></td>
<td>408.9</td>
<td>7m25s</td>
<td>0（纯显存）</td>
<td>3.36 GiB</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>256K</td>
<td><strong>42.8</strong></td>
<td>342.4</td>
<td>11m56s</td>
<td>0（纯显存）</td>
<td>2.20 GiB</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q2LynnStyle-Q4MTP</td>
<td>96K</td>
<td><strong>39.8</strong></td>
<td>394.8</td>
<td>3m40s</td>
<td>0（纯显存）</td>
<td>0.38 GiB</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q2LynnStyle-Q4MTP</td>
<td>128K</td>
<td><strong>38.0</strong></td>
<td>360.6</td>
<td>5m29s</td>
<td>0（纯显存）</td>
<td>0.00 GiB</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q2LynnStyle-Q4MTP</td>
<td>160K</td>
<td><strong>32.0</strong></td>
<td>323.3</td>
<td>7m45s</td>
<td>0（纯显存）</td>
<td>0.00 GiB</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q3LynnStyle-16G-MTP</td>
<td>96K</td>
<td><strong>39.5</strong></td>
<td>401.5</td>
<td>3m37s</td>
<td>0（纯显存）</td>
<td>0.38 GiB</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q3LynnStyle-16G-MTP</td>
<td>128K</td>
<td><strong>36.7</strong></td>
<td>363.4</td>
<td>5m26s</td>
<td>0（纯显存）</td>
<td>0.00 GiB</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q3LynnStyle-16G-MTP</td>
<td>160K</td>
<td><strong>32.7</strong></td>
<td>330.7</td>
<td>7m34s</td>
<td>0（纯显存）</td>
<td>0.00 GiB</td>
</tr>
</tbody>
</table>
<h3>1.2 96K 档解码速览（满载深填口径）</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>模型</th>
<th>档位</th>
<th>decode(t/s)</th>
<th>prefill(t/s)</th>
<th>TTFT</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>96K</td>
<td>54.1</td>
<td>443.9</td>
<td>3m16s</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>96K</td>
<td>71.7</td>
<td>574.6</td>
<td>2m32s</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q2LynnStyle-Q4MTP</td>
<td>96K</td>
<td>39.8</td>
<td>394.8</td>
<td>3m40s</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q3LynnStyle-16G-MTP</td>
<td>96K</td>
<td>39.5</td>
<td>401.5</td>
<td>3m37s</td>
</tr>
</tbody>
</table>
<hr />
<h2>2. 测试环境与口径</h2>
<h3>2.1 机器与系统【实测】</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项</th>
<th>值</th>
</tr>
</thead>
<tbody>
<tr>
<td>机型</td>
<td>LENOVO ThinkPad P1 Gen 4i（20Y4S3XD00）</td>
</tr>
<tr>
<td>CPU</td>
<td>i7-11850H 8C16T @2.50 GHz</td>
</tr>
<tr>
<td>内存</td>
<td><strong>64 GB（2×32 GB DDR4-3200 双通道，物理 63.7 GiB）</strong>；注：上一轮 261009 为 32 GB 单通道，本轮已升级</td>
</tr>
<tr>
<td>系统</td>
<td>Windows 11 x64，WDDM 驱动模型</td>
</tr>
<tr>
<td>GPU</td>
<td>NVIDIA GeForce RTX 3080 Laptop GPU，16384 MiB，sm_86（8.6）</td>
</tr>
<tr>
<td>驱动</td>
<td>596.47（CUDA 13.2 / 编译 13.4）</td>
</tr>
<tr>
<td>磁盘可用</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f627.png?v=2bf455356c3" class="not-responsive emoji emoji-android emoji--anguished" style="height:1.4em;width:auto;vertical-align:middle" title="D:" alt="😧" /> 约 59.9 GB</td>
</tr>
</tbody>
</table>
<h3>2.2 测量口径定义（全项目统一）</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项</th>
<th>定义</th>
</tr>
</thead>
<tbody>
<tr>
<td>档位</td>
<td><code>--max-context</code>：98304 / 131072 / 163840 / 196608 / 262144（96K/128K/160K/192K/256K）</td>
</tr>
<tr>
<td>填充</td>
<td><strong>档位 − 8192 token</strong>，中英混合句池重复填充，尾部固定指令（列 1–200 数字）；实际填充 token 由引擎 <code>usage.prompt_tokens</code> 自报</td>
</tr>
<tr>
<td>生成预算</td>
<td><code>max_tokens=128</code>，温度 0（greedy）</td>
</tr>
<tr>
<td>decode tok/s</td>
<td>引擎自报 <code>timings.predicted_per_second</code>（生成 token ÷ decode 墙钟，不扣首 token，无 prompt 缓存）</td>
</tr>
<tr>
<td>prefill tok/s</td>
<td>引擎自报 <code>timings.prompt_per_second</code></td>
</tr>
<tr>
<td>TTFT</td>
<td>请求日志 <code>request_done.timings_seconds.ttft</code>（prefill 完成到首 token）</td>
</tr>
<tr>
<td>host KV</td>
<td>请求日志 <code>context_cache.occupancy.host_kv_bytes</code>（KV 卸载到内存的字节数，0 表示纯显存）</td>
</tr>
<tr>
<td>设备余量</td>
<td>请求日志 <code>server_start.memory.available_after_startup_bytes</code>（加载+本次 KV 分配后剩余显存）</td>
</tr>
</tbody>
</table>
<blockquote>
<p dir="auto">注：Qwen Q2/Q3 的 160K 档使用 <code>rk2v4-e8</code>（2-bit K + 4-bit V，更省）；96K/128K 用 <code>rk4v4</code>；192K/256K 因 16GB device 装不下 12.3 GiB 权重 + KV 池而<strong>启动失败</strong>【实测】。</p>
</blockquote>
<h3>2.3 与上一轮（261009）的关键差异</h3>
<ul>
<li><strong>引擎</strong>：261009 用社区 sm_86 移植 E_TER（build 2026-10-06，<code>rk4v4</code> 非法）；本轮为官方 universal 包 <strong>2026-11-25.3</strong>（architectures 含 86，<code>rk4v4</code> 可用，且 serve 默认 pin 8 GiB host KV）。</li>
<li><strong>内存</strong>：32 GB 单通道 → <strong>64 GB 双通道</strong>（host KV 池与内存带宽均翻倍）。</li>
<li><strong>模型</strong>：261009 的 M_TER（Bonsai-2 Heretic）/ M_ORN（35B）→ 本轮 <strong>Ternary-Bonsai-2.5-27B（PTQ1_0 / PQ2_0）</strong> 与 <strong>Qwen3.8-27B-Coder390（Q2 / Q3-16G）</strong>。</li>
</ul>
<hr />
<h2>3. 引擎与模型</h2>
<h3>3.1 引擎【实测】</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项</th>
<th>值</th>
</tr>
</thead>
<tbody>
<tr>
<td>版本</td>
<td>2026-11-25.3+5fe3107</td>
</tr>
<tr>
<td>CUDA / 编译</td>
<td>13.4（nvcc 13.4.92），运行时 13.2</td>
</tr>
<tr>
<td>architectures</td>
<td>75 / 80 / <strong>86</strong> / 89 / 120a（含本机 sm_86）</td>
</tr>
<tr>
<td>命令</td>
<td>ninfer / ninfer-serve / ninfer_bench / ninfer-calibrate / ninfer-perplexity / ninfer-ngram-profile</td>
</tr>
<tr>
<td>KV dtype 实测可用</td>
<td>rk4v4（长上下文首选，比 rk8v4 省 31%）</td>
</tr>
<tr>
<td>argv 注意</td>
<td><strong>非 ASCII 路径会使 serve 在 engine ready 后崩溃</strong>（本报告 §6 实测复现并规避，逻辑同 261009 §8.4）</td>
</tr>
</tbody>
</table>
<h3>3.2 模型清单【实测】</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>模型</th>
<th>文件</th>
<th>文件字节</th>
<th>加载权重</th>
<th>spec</th>
<th>启动要点</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ternary-Bonsai-2.5-27B PTQ1_0</td>
<td>PTQ1_0-ninfer-v3.ninfer</td>
<td>6,625,487,872</td>
<td>5.88 GiB（含草稿头）</td>
<td>mtp×3</td>
<td>直接启动（PTQ1 亦带 MTP 草稿头）</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B PQ2_0</td>
<td>PQ2_0-ninfer-v3.ninfer</td>
<td>7,916,473,344</td>
<td>6.70 GiB</td>
<td>mtp×3</td>
<td>直接启动</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390 Q2</td>
<td>Q2LynnStyle-Q4MTP.ninfer</td>
<td>13,568,617,472</td>
<td>12.1 GiB</td>
<td>mtp×3</td>
<td>需 <code>--wddm-evictable-budget --embedding-residency host</code></td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390 Q3-16G</td>
<td>Q3LynnStyle16G-MTP.ninfer</td>
<td>13,765,136,896</td>
<td>12.1 GiB</td>
<td>mtp×3</td>
<td>需 <code>--wddm-evictable-budget --embedding-residency host</code></td>
</tr>
</tbody>
</table>
<blockquote>
<p dir="auto">Qwen 权重在默认 bf16 KV + 默认 WDDM 记账下，加载 12.1 GiB 后 <code>runtime reservation ... 0 bytes available</code> 直接启动失败【实测】；<code>--wddm-evictable-budget</code> 打开后 <code>free after weights = 3.31 GiB</code> 成功启动，<code>--embedding-residency host</code> 再把 embedding(~0.8 GiB) 移到内存、<code>planned slack</code> 2.90→3.11 GiB。<code>--lm-head-q6</code> / <code>--embedding-q4</code> 与该 Coder390 权重<strong>不兼容</strong>（要求 Q8_G32 布局）；<code>--expert-residency</code> 要求 MoE（该模型为<strong>稠密</strong>，不可用）。</p>
</blockquote>
<hr />
<h2>6. 结论与建议</h2>
<h3>6.1 达标清单（decode ≥ 30 t/s，满载深填口径）</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>模型</th>
<th>档位</th>
<th>decode(t/s)</th>
<th>prefill(t/s)</th>
<th>TTFT</th>
<th>host KV</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>96K</td>
<td><strong>71.7</strong></td>
<td>574.6</td>
<td>2m32s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>128K</td>
<td><strong>61.3</strong></td>
<td>505.8</td>
<td>3m55s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>160K</td>
<td><strong>55.6</strong></td>
<td>451.3</td>
<td>5m33s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>96K</td>
<td><strong>54.1</strong></td>
<td>443.9</td>
<td>3m16s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>192K</td>
<td><strong>50.7</strong></td>
<td>408.9</td>
<td>7m25s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>128K</td>
<td><strong>48.9</strong></td>
<td>393.0</td>
<td>5m02s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>160K</td>
<td><strong>45.3</strong></td>
<td>359.7</td>
<td>6m58s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>192K</td>
<td><strong>43.2</strong></td>
<td>331.0</td>
<td>9m09s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>256K</td>
<td><strong>42.8</strong></td>
<td>342.4</td>
<td>11m56s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q2LynnStyle-Q4MTP</td>
<td>96K</td>
<td><strong>39.8</strong></td>
<td>394.8</td>
<td>3m40s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q3LynnStyle-16G-MTP</td>
<td>96K</td>
<td><strong>39.5</strong></td>
<td>401.5</td>
<td>3m37s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q2LynnStyle-Q4MTP</td>
<td>128K</td>
<td><strong>38.0</strong></td>
<td>360.6</td>
<td>5m29s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q3LynnStyle-16G-MTP</td>
<td>128K</td>
<td><strong>36.7</strong></td>
<td>363.4</td>
<td>5m26s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>256K</td>
<td><strong>36.4</strong></td>
<td>286.2</td>
<td>14m16s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q3LynnStyle-16G-MTP</td>
<td>160K</td>
<td><strong>32.7</strong></td>
<td>330.7</td>
<td>7m34s</td>
<td>0（纯显存）</td>
</tr>
<tr>
<td>Qwen3.8-27B-Coder390  Q2LynnStyle-Q4MTP</td>
<td>160K</td>
<td><strong>32.0</strong></td>
<td>323.3</td>
<td>7m45s</td>
<td>0（纯显存）</td>
</tr>
</tbody>
</table>
<h3>6.2 解码随上下文衰减（96K → 256K，仅取两者都成功的模型）</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>模型</th>
<th>96K decode(t/s)</th>
<th>256K decode(t/s)</th>
<th>衰减</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ternary-Bonsai-2.5-27B  PTQ1_0</td>
<td>54.1</td>
<td>36.4</td>
<td>−32.8%</td>
</tr>
<tr>
<td>Ternary-Bonsai-2.5-27B  PQ2_0</td>
<td>71.7</td>
<td>42.8</td>
<td>−40.4%</td>
</tr>
</tbody>
</table>
<blockquote>
<p dir="auto">参照：上一轮 261009 的 Bonsai-2（M_TER，int8 KV + MTP K=2）64K→128K 只掉 14.4%；本轮用 rk4v4 KV（比 int8/rk8v4 更省），显存更宽裕。</p>
</blockquote>
<h3>6.3 与同机其他引擎的量级对比（不同量化/引擎，不可直接等价）</h3>
<ul>
<li><strong>本轮 NInfer（新引擎 2026-11-25.3）</strong>：Bonsai-2.5 深填满载 prefill 412–465 t/s；上一轮 261009 旧引擎仅 104–118 t/s，提速约 <strong>4 倍</strong>（主因 <code>--prefill-cublas --prefill-chunk 4096</code>）。</li>
<li>同机 KVMem（llama.cpp 分支）+ Bonsai PTQ1_0：解码 ≈16 t/s（ctx 无关，冷机首轮 22），prefill 193.3 t/s（261003/26106 实测）。</li>
<li>同机 llama-prism Bonsai（PTQ1_0/PQ2_0）：18.3 / 14.4 / 11.8 t/s @ 32K/64K/98K，随 ctx 掉约 36%（26106 实测）。</li>
<li>wei231 README（3080 <strong>20G 改卡、240 W</strong>）声称 78.7 t/s @32K：<strong>与本机 16 GiB、80 W 墙不可比</strong>（功耗墙差 3 倍）。</li>
</ul>
<h3>6.4 推荐落点（供日常使用，优先判据 = 深填满载 decode）</h3>
<ul>
<li>见 §6.1 达标清单：达标项即为「可入启动器菜单」的档位；未达 30 t/s 的档位仅作上限压测参考，不作为日常推荐。</li>
<li>长上下文是「首轮 prefill 慢、前缀复用命中后秒级」：与 261009 §6.1 一致，常驻服务 + 前后缀不变时，第二轮起 TTFT 可降到秒级（本轮未复测复用，仅引用上轮结论）。</li>
</ul>
<h3>6.5 诚实标注（限制与未验证项）</h3>
<ul>
<li><strong>每格单次样本</strong>：每 (模型 × 档位) 只跑 1 次；decode 窗口 128 token，样本较短。</li>
<li><strong>深填口径</strong>：数字是「档位 −8K 满载」下的解码；短提示词的实际 decode 会明显更高（261009 实测 48-token 短提示 53.3 t/s vs 满载 18.8 t/s）。</li>
<li><strong>生成输出高度可预测（对 MTP 有利）</strong>：尾部固定指令「列出 1–200」使投机解码的草稿接受率接近 100%（实测 PQ2@96K 95/95），因此<strong>带 MTP/投机档的 decode 是乐观上界</strong>，真实对话/编码输出会更低；<strong>无投机档（PTQ1）不受此影响</strong>。</li>
<li><strong>PTQ1 同样带 MTP 草稿头（本报告补测）</strong>：其无投机对照为 96K 24.6 / 128K 22.1 / 160K 20.3 / 192K 18.8 / 256K 16.0 t/s；开 <code>--spec mtp</code> 后见 §4.1，提升显著（2K 短测 40.8→70.4 t/s、接受率 83.3%）。</li>
<li><strong>Qwen 160K 启用 rk2v4-e8</strong>：<code>rk2v4-e8</code>（2-bit K + 4-bit V）比 <code>rk4v4</code> 更省 KV，才能在 16GB 卡上把 160K 塞进 device；192K/256K 实测<strong>启动失败</strong>（192K 仅差 ~90 MB），是 12.3 GiB 权重 + KV 池的 device 硬约束（<code>host_kv</code> 始终 0，与本引擎的 host-KV 无关）。</li>
<li><strong>未做质量评估</strong>：本轮只测速度与显存，未跑 perplexity/下游任务；rk4v4 KV 相对 rk8v4 官方口径 +0.10% ppl 未在本机复核。</li>
<li><strong>argv 非 ASCII 坑</strong>：<code>--request-log-jsonl</code> 指向中文路径会使 serve 启动即 FATAL（本报告 §3.1），复现务必用纯 ASCII 目录。</li>
</ul>
<hr />
]]></description><link>https://lcz.me/topic/3379</link><generator>RSS for Node</generator><lastBuildDate>Sun, 29 Nov 2026 03:01:59 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/3379.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Nov 2026 13:02:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 【实测】便携机3080Laptop-16g大模型测试报告—Ternary-Bonsai-2.5-27B on Sun, 29 Nov 2026 02:42:12 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=2bf455356c3" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 版主审定：本帖设为<strong>优秀</strong>，作者 <strong>+3 积分</strong>奖励，继续加油！</p>
<blockquote>
<p dir="auto">奖励凭证：优秀 +3 分 · 编号 e3379-4429-1</p>
</blockquote>
]]></description><link>https://lcz.me/post/36382</link><guid isPermaLink="true">https://lcz.me/post/36382</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Sun, 29 Nov 2026 02:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to 【实测】便携机3080Laptop-16g大模型测试报告—Ternary-Bonsai-2.5-27B on Sun, 29 Nov 2026 02:42:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/philipshi2026" aria-label="Profile: PhilipShi2026">@<bdi>PhilipShi2026</bdi></a> 卧槽，现在也算是高配啊，有这个配置，买个二手本子也能玩玩啊，散热改改，还挺能打的。</p>
]]></description><link>https://lcz.me/post/36381</link><guid isPermaLink="true">https://lcz.me/post/36381</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Sun, 29 Nov 2026 02:42:01 GMT</pubDate></item><item><title><![CDATA[Reply to 【实测】便携机3080Laptop-16g大模型测试报告—Ternary-Bonsai-2.5-27B on Sun, 29 Nov 2026 00:27:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/philipshi2026" aria-label="Profile: philipshi2026">@<bdi>philipshi2026</bdi></a> 这得分「质量」和「速度」两说，因为这两份包的量化精度其实是一样的。</p>
<p dir="auto"><strong>质量上，两者理论上应该完全一致。</strong> PQ2_0 和 PTQ1_0 是同一组三值权重、同一套 per-128 scale 的两种打包：PTQ1_0 把 5 个 trit 塞进 1 字节（1.75 bit/权重），PQ2_0 用 2-bit 槽位（2.125 bit/权重）——注意 2-bit 不是多了一级精度，4 个码里只用了 3 个，纯粹为了对齐和解包方便。NInfer 的转换文档明确写「PQ2_0 and PTQ1_0 hold the same ternary values and scales」，第三方移植报告也测到两者 ppl 到小数点后 5 位相同。所以如果你体感 PQ2_0 答得更好，先别归因到「2 bit 精度更高」：更可能是两次跑的采样/模板/上下文或 KV dtype 没完全对齐；greedy 下不同 kernel 的累加顺序也可能让 logits 末位有差，偶尔改掉一个 token 的分支。要验证就固定 prompt、temperature 0、同 context、同 <code>--kv-dtype rk4v4</code>、同 MTP 开关，对比逐 token 输出；或 <code>ninfer-perplexity</code> 同一语料各跑一遍，差异应在 1e-4 量级。</p>
<p dir="auto"><strong>速度上 PQ2_0 更快是真的，但不是因为它更小。</strong> 它文件反而大 19%（7.92 GB vs 6.63 GB）。差在解包：PTQ1_0 的 base-3 打包，一个 32 值切片要从不同字节里取不同位，NInfer 得走专门的 <code>ggml_bridge_ptq1*.cuh</code> 路径，查表/移位多；PQ2_0 是标准 2-bit，mask + shift 就能解，能复用成熟的 Q2_0/整数 tensor core kernel，指令数少一截。你这张 3080 Laptop 有 80W 墙，decode 先撞的是指令和功耗，不是显存带宽，所以「多读 20% 字节」的代价小于「少做一堆位操作」。ToshLLM 在 Vega 上也测到 PTQ1_0 的 mat-vec 是 instruction-limited。</p>
<p dir="auto"><strong>怎么选：</strong></p>
<ul>
<li>96K–256K 纯看速度：PQ2_0 全面占优（96K 71.7 vs 54.1，256K 42.8 vs 36.4），日常首选。</li>
<li>想给 KV 或并发留更多余量、以后上更长上下文：PTQ1_0 加载权重省约 0.8 GiB（96K 余量 5.93 vs 5.10 GiB），代价是 decode 慢约 15–25%。</li>
<li>补 32K/64K TTFT 曲线时建议两个包都跑，<code>--prefill-chunk 4096</code>、<code>--spec mtp</code> 保持一致，才能把「上下文长度」和「打包/kernel」的贡献分开。</li>
</ul>
]]></description><link>https://lcz.me/post/36370</link><guid isPermaLink="true">https://lcz.me/post/36370</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Sun, 29 Nov 2026 00:27:15 GMT</pubDate></item><item><title><![CDATA[Reply to 【实测】便携机3080Laptop-16g大模型测试报告—Ternary-Bonsai-2.5-27B on Sun, 29 Nov 2026 00:24:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiaote" aria-label="Profile: xiaote">@<bdi>xiaote</bdi></a> 可以补一条 32K/64K 的 TTFT 曲线找 knee，比继续往 256K 堆更有用——有道理，稍后补测下。PQ2_0比PTQ1_0效果要好，这是为什么？</p>
]]></description><link>https://lcz.me/post/36369</link><guid isPermaLink="true">https://lcz.me/post/36369</guid><dc:creator><![CDATA[PhilipShi2026]]></dc:creator><pubDate>Sun, 29 Nov 2026 00:24:20 GMT</pubDate></item><item><title><![CDATA[Reply to 【实测】便携机3080Laptop-16g大模型测试报告—Ternary-Bonsai-2.5-27B on Sun, 29 Nov 2026 00:02:50 GMT]]></title><description><![CDATA[<p dir="auto">3080 Laptop 确实有 16G 版本（GA103/GA104 的 16GB SKU），P1 Gen4 这块是 80W 墙，不是桌面 3080 的功耗口径——先回一下站长的疑问。</p>
<p dir="auto">这组数据里最值得看的是 96K→256K 这一段：TTFT 从 3m16s 涨到 14m16s（约 4.4×），decode 只从 54.1 掉到 36.4（约 1.5×）。说明长上下文在这张卡上是 prefill 主导，不是带宽主导；256K 属于「能开」，日常 agent 负载 64-96K 才是甜点。</p>
<p dir="auto">几个建议：</p>
<ul>
<li>rk4v4 KV 在 16G 上是正确取舍；再压 KV 的收益不如直接限 context，因为 TTFT 随上下文是二次项。</li>
<li>80W 墙下 --max-concurrency 1 是合理的；真要并发，先看功耗而不是显存余量——5.9 GiB 余量看着多，实际会先撞功耗墙。</li>
<li>PTQ1_0 能把 27B 塞进 16G 很漂亮，但质量要自己验：代码补全、长文摘要、指令跟随各挑一组，和 Q4 对照，别只看困惑度。三值权重在 sm_86 上没有原生算力，kernel 里还是要反量化再乘，收益主要在省显存和带宽。</li>
<li>可以补一条 32K/64K 的 TTFT 曲线找 knee，比继续往 256K 堆更有用。</li>
</ul>
]]></description><link>https://lcz.me/post/36366</link><guid isPermaLink="true">https://lcz.me/post/36366</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Sun, 29 Nov 2026 00:02:50 GMT</pubDate></item><item><title><![CDATA[Reply to 【实测】便携机3080Laptop-16g大模型测试报告—Ternary-Bonsai-2.5-27B on Sat, 28 Nov 2026 15:35:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry" aria-label="Profile: terry">@<bdi>terry</bdi></a> 有的；典型的是：ThinkPad P1 Gen4高配版本带的是RTX 3080 Laptop 16 GiB显卡。Dell和HP工作站中也有类似的。不过带3080显卡的比较少，当时算高配。</p>
]]></description><link>https://lcz.me/post/36337</link><guid isPermaLink="true">https://lcz.me/post/36337</guid><dc:creator><![CDATA[PhilipShi2026]]></dc:creator><pubDate>Sat, 28 Nov 2026 15:35:49 GMT</pubDate></item><item><title><![CDATA[Reply to 【实测】便携机3080Laptop-16g大模型测试报告—Ternary-Bonsai-2.5-27B on Sat, 28 Nov 2026 15:20:14 GMT]]></title><description><![CDATA[<p dir="auto">3080有16G版本的?笔记本的?</p>
]]></description><link>https://lcz.me/post/36334</link><guid isPermaLink="true">https://lcz.me/post/36334</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Sat, 28 Nov 2026 15:20:14 GMT</pubDate></item><item><title><![CDATA[Reply to 【实测】便携机3080Laptop-16g大模型测试报告—Ternary-Bonsai-2.5-27B on Sat, 28 Nov 2026 13:10:22 GMT]]></title><description><![CDATA[<p dir="auto">后端测试Ternary-Bonsai-2.5-27B，前端在上网，便携机运行运行顺畅，没有丝毫卡顿。</p>
<p dir="auto">便携机本地运行大模型的日子也不远了。</p>
]]></description><link>https://lcz.me/post/36322</link><guid isPermaLink="true">https://lcz.me/post/36322</guid><dc:creator><![CDATA[PhilipShi2026]]></dc:creator><pubDate>Sat, 28 Nov 2026 13:10:22 GMT</pubDate></item></channel></rss>