<?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[R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比]]></title><description><![CDATA[<h1>Strata Qwen3.8-Flash-Next 125B 部署与对比测试报告</h1>
<p dir="auto"><strong>日期</strong>：2026-10-02<br />
<strong>测试机</strong>：192.168.1.12（AMD Radeon AI PRO R9700 32GB / Xeon E5-2686 v4 36线程 / 128GB DDR4-2133 四通道）<br />
<strong>对比对象</strong>：部署在 8081 的 <strong>Strata Qwen3.8-Flash-Next（125B MoE, IQ3_S）</strong> vs 部署在 8080 的 <strong>Qwen3.8-27B（vLLM, MXFP4 + MTP 投机解码）</strong></p>
<hr />
<h3>不废话，先上结果</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="text-align:right">prompt tokens</th>
<th style="text-align:right">Strata prefill</th>
<th style="text-align:right">Strata decode</th>
<th style="text-align:right">27B prefill</th>
<th style="text-align:right">27B decode</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:right">~400</td>
<td style="text-align:right">307 t/s</td>
<td style="text-align:right"><strong>56.0 / 63.4</strong></td>
<td style="text-align:right">2000 t/s</td>
<td style="text-align:right"><strong>102.8 / 104.8</strong></td>
</tr>
<tr>
<td style="text-align:right">~1900</td>
<td style="text-align:right">707 t/s</td>
<td style="text-align:right"><strong>60.1 / 61.7</strong></td>
<td style="text-align:right">2988 t/s</td>
<td style="text-align:right"><strong>121.0 / 116.6</strong></td>
</tr>
<tr>
<td style="text-align:right">~7500</td>
<td style="text-align:right">1158 t/s</td>
<td style="text-align:right"><strong>61.0 / 63.1</strong></td>
<td style="text-align:right">3090 t/s</td>
<td style="text-align:right"><strong>73.9 / 77.2</strong></td>
</tr>
<tr>
<td style="text-align:right">~15000</td>
<td style="text-align:right">1191 t/s</td>
<td style="text-align:right"><strong>59.6 / 63.9</strong></td>
<td style="text-align:right">3044 t/s</td>
<td style="text-align:right"><strong>79.6 / 78.9</strong></td>
</tr>
<tr>
<td style="text-align:right"><strong>中位</strong></td>
<td style="text-align:right"><strong>1158 t/s</strong></td>
<td style="text-align:right"><strong>61.7 t/s</strong></td>
<td style="text-align:right"><strong>3022 t/s</strong></td>
<td style="text-align:right"><strong>102.8 t/s</strong></td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>TTFT 对比（16K prompt）</strong>：Strata <strong>12.6s</strong> vs 27B <strong>4.9s</strong></p>
<h2>一、结论摘要</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项目</th>
<th>结果</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>部署</strong></td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 成功，性能问题已定位并修复</td>
</tr>
<tr>
<td><strong>性能问题根因</strong></td>
<td>编译用的 <strong>系统 ROCm 7.2.1</strong>（比官方验证版本落后两代）</td>
</tr>
<tr>
<td><strong>修复后性能</strong></td>
<td>decode <strong>61.7 t/s</strong>（修复前 1.2 t/s，<strong>提升 51 倍</strong>）；prefill <strong>~1190 t/s</strong>（修复前 1.9 t/s）</td>
</tr>
<tr>
<td><strong>与 27B 的速度关系</strong></td>
<td>短上下文 27B 快 1.7 倍；<strong>长上下文只快 1.3 倍</strong>（27B 吐词随上下文衰减 25%，Strata 不衰减）</td>
</tr>
<tr>
<td><strong>与 27B 的智力关系</strong></td>
<td>手写 11 题：Strata <strong>10/11</strong> vs 27B <strong>9/11</strong>（样本量小，仅定性参考）</td>
</tr>
<tr>
<td><strong>已知缺陷</strong></td>
<td>Strata 无 API 鉴权（局域网内任何人可用）；两者显存互斥，无法同时运行</td>
</tr>
</tbody>
</table>
<hr />
<h2>二、测试环境</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项</th>
<th>值</th>
</tr>
</thead>
<tbody>
<tr>
<td>GPU</td>
<td>AMD Radeon AI PRO R9700（gfx1201, RDNA4）, 32GB VRAM, PCIe 4.0 x16 满速</td>
</tr>
<tr>
<td>CPU</td>
<td>Intel Xeon E5-2686 v4（18核36线程, AVX2）</td>
</tr>
<tr>
<td>RAM</td>
<td>128GB DDR4-2133 四通道（理论带宽 <strong>~68 GB/s</strong>）</td>
</tr>
<tr>
<td>内核</td>
<td>7.0.0-34</td>
</tr>
<tr>
<td>编译工具链</td>
<td>TheRock ROCm <strong>7.10.0a20251120</strong>（修复后）/ 系统 ROCm 7.2.1（修复前）</td>
</tr>
<tr>
<td>Strata 版本</td>
<td>v0.1.34（main 分支 HEAD 同 commit）</td>
</tr>
<tr>
<td>Strata 模型</td>
<td>Qwen3.8-Flash-Next IQ3_S，125B MoE，双分片 84GB</td>
</tr>
<tr>
<td>Strata 运行时</td>
<td>专家加载 <strong>46.84 GiB 到 RAM</strong>，GPU 专家缓存 <strong>25.09 GiB VRAM</strong>，KV 1.55 GiB pinned RAM</td>
</tr>
<tr>
<td>27B 模型</td>
<td>Qwen3.8-27B-Huihui-MXFP4-mtpfp8（MXFP4 4bit + MTP draft）</td>
</tr>
<tr>
<td>27B 引擎</td>
<td>vLLM Radiance 0.9.3（docker，容器 <code>vllmmxfp4074</code>，镜像 13.7 GB）</td>
</tr>
</tbody>
</table>
<hr />
<h2>三、部署与性能修复（本次核心工作）</h2>
<h3>3.1 症状</h3>
<p dir="auto">初次部署完成、模型加载正常，但：</p>
<ul>
<li>decode <strong>1.2 t/s</strong>（R9700 参考值 91 t/s，差 <strong>~75 倍</strong>）</li>
<li>大 prompt 时 GPU 直接挂死（<code>stall report: GPU rang 0</code>，17 个专家 worker 全睡眠，最终 SIGABRT）</li>
</ul>
<h3>3.2 排查过程中排除的因素（全部实测）</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>假设</th>
<th>实测结论</th>
</tr>
</thead>
<tbody>
<tr>
<td>GPU 硬件故障</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--x" style="height:1.4em;width:auto;vertical-align:middle" title="❌" alt="❌" /> 排除。裸 torch bf16 GEMM <strong>88 TFLOPS</strong>，GEMV 0.087ms，完全正常</td>
</tr>
<tr>
<td>磁盘 I/O 瓶颈</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--x" style="height:1.4em;width:auto;vertical-align:middle" title="❌" alt="❌" /> 排除。2.25 GB/s 读取，非瓶颈</td>
</tr>
<tr>
<td>快速 kernel 未编译</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--x" style="height:1.4em;width:auto;vertical-align:middle" title="❌" alt="❌" /> 排除。<code>sudot4</code> / WMMA f16_w32 builtin 在 gfx1201 上均存在</td>
</tr>
<tr>
<td>GPU 降频 / idle-busy bug</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--x" style="height:1.4em;width:auto;vertical-align:middle" title="❌" alt="❌" /> 排除。满载 2745MHz 292W</td>
</tr>
<tr>
<td>NUMA / 内存通道问题</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--x" style="height:1.4em;width:auto;vertical-align:middle" title="❌" alt="❌" /> 排除。单路单 NUMA，4 通道全插</td>
</tr>
<tr>
<td>hugepage 缺失</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--x" style="height:1.4em;width:auto;vertical-align:middle" title="❌" alt="❌" /> 无效。配 48GB 2MB 页后引擎用上了，性能不变</td>
</tr>
<tr>
<td>Strata 版本问题</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--x" style="height:1.4em;width:auto;vertical-align:middle" title="❌" alt="❌" /> 排除。v0.1.31 / v0.1.34 表现相同</td>
</tr>
</tbody>
</table>
<h3>3.3 根因</h3>
<p dir="auto"><strong>编译用的 ROCm 版本太旧。</strong> 系统装的是 ROCm 7.2.1（hipBLASLt 1.2.2），而 Strata 官方验证、且 R9700 能跑出 91 t/s 的配置（GitHub issue #432）用的是 <strong>TheRock 7.10</strong>。旧版 hipBLASLt 缺 gfx1201 的 kernel 调优，且编译器 codegen 会产出在这张卡上挂死的 kernel。</p>
<p dir="auto"><strong>关键坑</strong>：Strata 的 <code>setup.py</code> 里 <code>rocm_root()</code> 的逻辑是「<code>/opt/rocm</code> 里有 hipcc 且版本 ≥ 7.0 就直接用系统 ROCm」——所以它会<strong>自动选中那个错误的旧版本</strong>，必须用环境变量骗过它才能走 .venv 里的 TheRock：</p>
<pre><code class="language-bash">ROCM_PATH=/nonexistent-xyz ./setup.sh --backend hip --family qwen --model IQ3_S \
  --context 131072 --yes --port 8081
</code></pre>
<h3>3.4 修复前后对比</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>指标</th>
<th>修复前（ROCm 7.2.1）</th>
<th><strong>修复后（TheRock 7.10）</strong></th>
<th>提升</th>
</tr>
</thead>
<tbody>
<tr>
<td>decode</td>
<td>1.2 t/s</td>
<td><strong>61.7 t/s</strong></td>
<td><strong>51×</strong></td>
</tr>
<tr>
<td>prefill</td>
<td>1.9 t/s</td>
<td><strong>~1190 t/s</strong></td>
<td><strong>~630×</strong></td>
</tr>
<tr>
<td>GPU 挂死</td>
<td>常见</td>
<td>未再出现</td>
<td>—</td>
</tr>
</tbody>
</table>
<h3>3.5 修复后与官方参考值的差距</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th></th>
<th>本机</th>
<th>参考 #432（同卡 R9700）</th>
<th>达成率</th>
</tr>
</thead>
<tbody>
<tr>
<td>decode</td>
<td>61.7 t/s</td>
<td>91 t/s</td>
<td>68%</td>
</tr>
<tr>
<td>prefill</td>
<td>~1190 t/s</td>
<td>1310 t/s</td>
<td>91%</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>差距来源是内存带宽</strong>：参考机为 DDR5（~90 GB/s），本机 DDR4-2133 四通道（~68 GB/s），低 25%。decode 是内存带宽瓶颈（专家权重每 token 搬一遍），实测比例与该带宽差吻合。<strong>这是这台机器应有的水平，不是故障。</strong></p>
<h3>3.6 附带的工程发现：下载加速</h3>
<p dir="auto">TheRock CDN 单连接极慢（0.07–2.6 MB/s 剧烈波动），但 <strong>16 并发 range 合计可达 13 MB/s</strong>。10GB 的包用 <code>aria2c -x16 -s16</code> 几分钟下完（pip 单线程需数小时）。此外 <code>rocm</code> 元包是 sdist，需要先装 setuptools 并用 <code>--no-build-isolation</code> 才能离线安装。</p>
<hr />
<h2>四、性能测试</h2>
<h3>4.1 方法</h3>
<ul>
<li><strong>TTFT（首 token 延迟）</strong> = 从发请求到收到第一个输出 token 的时间，主要由 <strong>prefill</strong> 决定</li>
<li><strong>prefill t/s</strong> = prompt_tokens ÷ TTFT</li>
<li><strong>decode（吐词）t/s</strong> = (输出 token 数 − 1) ÷ (最后一个 token 时间 − 第一个 token 时间)，<strong>剔除 prefill</strong>，即纯稳态生成速度</li>
<li>temperature=0，固定 <code>max_tokens=400</code>，每个长度测 2 次取中位，<strong>两个模型用同一套脚本同一套 prompt</strong></li>
</ul>
<p dir="auto"><strong><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/26a0.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--warning" style="height:1.4em;width:auto;vertical-align:middle" title="⚠" alt="⚠" />️ 方法学要点</strong>：每条 prompt 前必须加<strong>唯一随机前缀</strong>。否则长 prompt 包含短 prompt 作前缀，会命中 vLLM 的 prefix cache，只计算增量——首次测试因此得出「12277 token 只需 0.61s = 20016 t/s」的物理上不可能的结果。</p>
<h3>4.2 关键发现</h3>
<ol>
<li><strong>27B 的吐词速度随上下文衰减 25%</strong>（103 → 79 t/s），因为其 attention/KV 开销随上下文线性增长。</li>
<li><strong>Strata 的吐词速度几乎不随上下文变化</strong>（56–64 t/s 全程平稳）——它把 KV 固定放在 1.55 GiB pinned RAM，瓶颈只在专家权重的内存搬运。</li>
<li><strong>结果就是长上下文下差距急剧缩小</strong>：短上下文 27B 快 1.7 倍，15K 上下文时只快 1.3 倍。</li>
<li>Strata 引擎自报 <code>expert cache 92.4% hit</code>，与客户端测得速度吻合。</li>
</ol>
<hr />
<h2>五、智力测试</h2>
<h3>5.1 手写 11 题对照（temperature=0，同题库）</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>题目</th>
<th>Strata-125B</th>
<th>Qwen-27B</th>
</tr>
</thead>
<tbody>
<tr>
<td>鸡兔同笼（方程）</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 23鸡12兔</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 23鸡12兔</td>
</tr>
<tr>
<td>9.11 vs 9.9 哪个大</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /></td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /></td>
</tr>
<tr>
<td><strong>西瓜竖直切三刀最多几块</strong></td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> <strong>7</strong></td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--x" style="height:1.4em;width:auto;vertical-align:middle" title="❌" alt="❌" /> <strong>8</strong></td>
</tr>
<tr>
<td>找 Bug（求最大值函数）</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 全负数+空列表，3种修法</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 全负数+空列表，1种修法</td>
</tr>
<tr>
<td>写回文判断函数</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 双指针 O(n)/O(1)</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 同</td>
</tr>
<tr>
<td>恰好 4 个汉字回答</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/26a0.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--warning" style="height:1.4em;width:auto;vertical-align:middle" title="⚠" alt="⚠" />️「四个季节」</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/26a0.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--warning" style="height:1.4em;width:auto;vertical-align:middle" title="⚠" alt="⚠" />️「四个季节」</td>
</tr>
<tr>
<td>三开关/三盏灯</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 热灯泡解法</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /></td>
</tr>
<tr>
<td>5 台机器 5 分钟</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 5 分钟</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /></td>
</tr>
<tr>
<td>「不对」vs「不错」</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /></td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /></td>
</tr>
<tr>
<td>两孩至少一女，两女概率</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 1/3</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 1/3</td>
</tr>
<tr>
<td>狼羊白菜过河</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 7 步</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 7 步</td>
</tr>
<tr>
<td><strong>得分</strong></td>
<td><strong>10/11</strong></td>
<td><strong>9/11</strong></td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>分胜负的是"西瓜"题</strong>：限定"竖直"切三刀时正确答案是 <strong>7 块</strong>（等价于平面三线切饼 1→2→4→7），<strong>8 块必须有一刀横切</strong>。Strata 抓住了限定词，27B 套用了经典答案。</p>
<p dir="auto"><strong>存疑项</strong>：两模型对"恰好 4 个汉字"都答「四个季节」——<strong>题目本身有歧义</strong>（既可理解为字数约束），此题为无效区分项。</p>
<h3>5.2 标准基准（lm-evaluation-harness）</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>基准</th>
<th>Strata-125B</th>
<th>Qwen-27B</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>GSM8K</strong>（小学数学应用题，0-shot CoT，40 题）</td>
<td>未测</td>
<td><strong>80%</strong>（±6.4%）</td>
</tr>
<tr>
<td>MMLU（57 学科知识）</td>
<td>未测</td>
<td>未测</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>MMLU 未完成的原因</strong>：数据集需从 HuggingFace 下载，而本机流量经 Clash 透明代理（fake-ip 198.18.x.x:443），lm-eval 的下载会被挂死（进程存活、CPU 近 0、连接处于 <code>futex_do_wait</code>，服务端却完全空闲）。按用户指示停止智力测试，MMLU 相关数据已清理。</p>
<h3>5.3 智力测试的局限（务必注意）</h3>
<ul>
<li>手写 11 题 <strong>样本量太小</strong>，1 题之差（10 vs 9）<strong>没有统计显著性</strong>，只能作为定性参考。</li>
<li>GSM8K 40 题的标准误 ±6.4%，80% 的置信区间约 [67%, 93%]，与其它模型比较时需谨慎。</li>
<li>标准基准存在<strong>数据污染</strong>问题（题目可能已进训练集）。</li>
<li>两个模型都属 Qwen3.8 家族，能力本应接近；测试反映的差异更多在"审题严谨性"而非知识量。</li>
</ul>
<hr />
<h2>六、与 Qwen3.8-27B 的全面对比</h2>
<h3>6.1 总览</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>维度</th>
<th><strong>Strata Qwen3.8-Flash-Next</strong></th>
<th><strong>Qwen3.8-27B (vLLM)</strong></th>
<th>优势方</th>
</tr>
</thead>
<tbody>
<tr>
<td>模型规模</td>
<td><strong>125B</strong> MoE（专家按需路由，激活参数少）</td>
<td>27B dense（每 token 全量计算）</td>
<td>—</td>
</tr>
<tr>
<td>量化</td>
<td>IQ3_S（~3.5 bit）</td>
<td>MXFP4（4 bit）</td>
<td>27B（精度更高）</td>
</tr>
<tr>
<td>推理引擎</td>
<td>Strata 自研引擎（HIP，须自行编译）</td>
<td>vLLM Radiance 0.9.3（Docker）</td>
<td>27B（成熟生态）</td>
</tr>
<tr>
<td>磁盘占用</td>
<td>模型 <strong>86 GB</strong>（78 + 1.5 + 6.5）+ <code>.venv</code> 11 GB + 引擎 18 MB</td>
<td>模型 <strong>37 GB</strong> + 镜像 13.7 GB</td>
<td><strong>27B（省 57%）</strong></td>
</tr>
<tr>
<td>VRAM 占用</td>
<td>34.09 GB（32GB 卡全占）</td>
<td>33.96 GB</td>
<td>持平</td>
</tr>
<tr>
<td>RAM 占用</td>
<td>专家 <strong>46.84 GiB</strong> + KV 1.55 GiB（pinned）</td>
<td>未实测</td>
<td>—</td>
</tr>
<tr>
<td>上下文窗口</td>
<td><strong>131,072</strong></td>
<td><strong>220,000</strong></td>
<td><strong>27B</strong></td>
</tr>
<tr>
<td>启动到就绪</td>
<td><strong>~2–3 分钟</strong>（专家加载实测 48 秒）</td>
<td><strong>~5.5 分钟</strong>（实测等待 330 秒）</td>
<td><strong>Strata</strong></td>
</tr>
<tr>
<td>prefill</td>
<td>~1190 t/s</td>
<td><strong>~3050 t/s</strong></td>
<td><strong>27B（2.6×）</strong></td>
</tr>
<tr>
<td>首 token（16K prompt）</td>
<td>12.6 s</td>
<td><strong>4.9 s</strong></td>
<td><strong>27B（2.6×）</strong></td>
</tr>
<tr>
<td>decode（短上下文）</td>
<td>56–63 t/s</td>
<td><strong>103–121 t/s</strong></td>
<td><strong>27B（1.7×）</strong></td>
</tr>
<tr>
<td>decode（15K 上下文）</td>
<td>60–64 t/s</td>
<td><strong>79–80 t/s</strong></td>
<td><strong>27B（1.3×）</strong></td>
</tr>
<tr>
<td>decode 随上下文衰减</td>
<td><strong>几乎不衰减（−4%）</strong></td>
<td>衰减 <strong>−25%</strong></td>
<td><strong>Strata</strong></td>
</tr>
<tr>
<td>投机解码</td>
<td>有（MTP draft head）</td>
<td>有（MTP，实测接受长度 3.5–5.0）</td>
<td>持平</td>
</tr>
<tr>
<td>显存/内存策略</td>
<td>专家缓存 25.09 GiB VRAM（<strong>命中率 92.4%</strong>）+ KV 固定在 pinned RAM</td>
<td>整模型常驻显存 + KV cache</td>
<td>各有取舍</td>
</tr>
<tr>
<td>API 兼容</td>
<td>OpenAI <code>/v1/chat/completions</code> + Anthropic <code>/v1/messages</code></td>
<td>同</td>
<td>持平</td>
</tr>
<tr>
<td>鉴权</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--x" style="height:1.4em;width:auto;vertical-align:middle" title="❌" alt="❌" /> <strong>无</strong>（局域网开放，日志有 <code>WARNING: no API key</code>）</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> API key</td>
<td><strong>27B</strong></td>
</tr>
<tr>
<td>部署难度</td>
<td><strong>高</strong>（自编译引擎、86GB 模型下载、ROCm 版本敏感、需绕开系统 ROCm）</td>
<td><strong>低</strong>（Docker 一键 + <code>vllm-on.sh</code>）</td>
<td><strong>27B</strong></td>
</tr>
</tbody>
</table>
<h3>6.2 速度对比解读</h3>
<p dir="auto"><strong>为什么 27B 更快？</strong> 27B dense 模型 37GB 全部常驻显存，计算完全在 GPU 内完成；Strata 的 125B 专家权重常驻 <strong>RAM</strong>，每个 token 都要根据路由把选中的专家从内存搬到显存（靠在 32GB 显存里缓存 25 GiB 专家、命中率 92.4% 来缓解）。所以 Strata 的瓶颈是 <strong>PCIe + 内存带宽</strong>，而不是 GPU 算力。</p>
<p dir="auto"><strong>为什么长上下文下差距缩小？</strong> 27B 的 KV cache 随上下文增长，attention 开销线性上升，吐词从 103 掉到 79（−25%）；Strata 的 KV 固定在 1.55 GiB pinned RAM、专家搬运量不随上下文变化，所以 56–64 t/s 全程平稳。<strong>上下文越长，Strata 的相对劣势越小。</strong></p>
<p dir="auto"><strong>代价对比</strong>：27B 用 <strong>1/2.3 的磁盘、1/4.6 的模型规模</strong>，换来短上下文 1.7 倍的吐词速度和 2.6 倍的首 token 速度。</p>
<p dir="auto"><strong>换句话说</strong>：Strata 用「慢 1.3–1.7 倍」换来「大 4.6 倍的模型」——单位速度的模型能力更高，但绝对速度更慢。</p>
<h3>6.3 智力对比</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th></th>
<th>Strata-125B</th>
<th>Qwen-27B</th>
</tr>
</thead>
<tbody>
<tr>
<td>手写 11 题（定性）</td>
<td><strong>10/11</strong></td>
<td>9/11</td>
</tr>
<tr>
<td>GSM8K 40 题（标准）</td>
<td>未测</td>
<td><strong>80%</strong>（±6.4%）</td>
</tr>
<tr>
<td>答题风格</td>
<td>简洁、爱用 LaTeX 公式</td>
<td>详尽、爱加验证步骤和表格（找 Bug 题：27B 1018 tok / Strata 2513 tok）</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>结论</strong>：两者<strong>同档</strong>，1 题之差在 n=11 下无统计意义。唯一可复现的差异是"西瓜竖直三刀"那题的审题严谨性（Strata 答对 7、27B 套用经典答案 8）。<strong>不应据此宣称 Strata 更聪明。</strong></p>
<h3>6.4 选型建议</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>使用场景</th>
<th>推荐</th>
<th>理由</th>
</tr>
</thead>
<tbody>
<tr>
<td>日常对话、代码助手、短 prompt</td>
<td><strong>Qwen3.8-27B</strong></td>
<td>吐词快 1.7 倍、首 token 快 2.6 倍、磁盘省 57%、有鉴权</td>
</tr>
<tr>
<td>长文档分析、超长 system prompt（16K+）</td>
<td><strong>Strata-125B</strong></td>
<td>速度差距缩到 1.3 倍，而模型大 4.6 倍</td>
</tr>
<tr>
<td>需要 220K 上下文</td>
<td><strong>Qwen3.8-27B</strong></td>
<td>Strata 上限 131K</td>
</tr>
<tr>
<td>需要反复冷启动/切换</td>
<td><strong>Strata-125B</strong></td>
<td>就绪快一倍（2–3 分钟 vs 5.5 分钟）</td>
</tr>
<tr>
<td>需要鉴权 / 多用户</td>
<td><strong>Qwen3.8-27B</strong></td>
<td>Strata 当前无 API key</td>
</tr>
<tr>
<td>磁盘紧张</td>
<td><strong>Qwen3.8-27B</strong></td>
<td>需 51 GB vs Strata 97 GB</td>
</tr>
<tr>
<td>需要 GPU 跑其它任务（ComfyUI 等）</td>
<td>两者都要先停</td>
<td>显存互斥</td>
</tr>
</tbody>
</table>
<hr />
<h2>七、通用基准测试方法论（供参考）</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>标准工具</strong></td>
<td>EleutherAI <strong>lm-evaluation-harness</strong>（业界标准，HF Open LLM Leaderboard 即用它）</td>
</tr>
<tr>
<td><strong>主流题库</strong></td>
<td>MMLU（57 学科 14042 题）、GSM8K（1319 题）、BBH（23 项高难推理）、IFEval（541 指令遵循）、HumanEval/MBPP（代码）、GPQA/MATH（研究生级/竞赛数学）、C-Eval/CMMLU（中文）</td>
</tr>
<tr>
<td><strong>两种打分方式</strong></td>
<td>① <strong>loglikelihood</strong>：选择题比较各选项的 log P，不生成，快且确定（MMLU/ARC/HellaSwag 用）；② <strong>生成式 + 答案抽取</strong>：让模型写，正则抽取最终答案后精确匹配（GSM8K/BBH/MATH 用）</td>
</tr>
<tr>
<td><strong>固定协议</strong></td>
<td>固定 few-shot 数（MMLU 5-shot、GSM8K 8-shot CoT）、temperature 0、固定 max_gen_toks、官方 prompt 模板——<strong>换模型必须用同一套</strong>，否则结果不可比</td>
</tr>
<tr>
<td><strong>报告方式</strong></td>
<td>准确率 + <strong>标准误</strong>；样本越小误差越大（n=40 时 ±6~8%）</td>
</tr>
</tbody>
</table>
<h3>本地端点评测的 6 个坑（本次实测）</h3>
<ol>
<li><code>local-chat-completions</code> 的 <code>base_url</code> 必须写<strong>完整端点</strong>（含 <code>/chat/completions</code>），写 <code>.../v1</code> 会 401</li>
<li>鉴权只认<strong>环境变量 <code>OPENAI_API_KEY</code></strong>；<code>auth_token</code> 参数仅用于 tokenizer 探测</li>
<li><strong>推理模型必须调大 <code>max_gen_toks</code></strong>：默认 ~256 会被 reasoning 吃光，<code>message.content</code> 返回 null，分数全错（日志有 <code>API returned null content</code> 警告）</li>
<li><strong>HF 数据集下载会被透明代理挂死</strong> → 预热缓存 + <code>HF_HUB_OFFLINE=1</code>，缺口用 <code>HF_ENDPOINT=https://hf-mirror.com</code> 单独补</li>
<li>vLLM 流式字段是 <strong><code>delta.reasoning</code></strong>（不是 OpenAI 标准的 <code>reasoning_content</code>）；Strata 用的是 <code>reasoning_content</code></li>
<li><strong>测速必须防 prefix cache</strong>（见 4.1）</li>
</ol>
<hr />
<h3>后续可做</h3>
<ul>
<li>试 <code>STRATA_HIP_WMMA=1</code>（官方报告 prefill +29~34%）</li>
<li>用 <code>tools/hip/tune_hipblaslt</code> 生成匹配当前 hipBLASLt 1.2.0 的 gfx1201 调优表（官方表是给 1.5.0 的）</li>
</ul>
<hr />
<p dir="auto"><em>报告生成：Hermes Agent | 所有速度数据均为客户端实测（服务器本地直连端点，排除网络因素）</em></p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/47b66e3b-618a-44cb-b257-455f519a5241.png" alt="2.png" class="img-markdown  img-fluid" /><br />
![3.png]<br />
涡轮噪音大，所以锁了250W功耗，性能大概下降10%<br />
(<a href="https://upload.lcz.me/uploads/277b6811-0238-47ee-af1a-3f183afac95b.png" rel="nofollow ugc">https://upload.lcz.me/uploads/277b6811-0238-47ee-af1a-3f183afac95b.png</a>)</p>
]]></description><link>https://lcz.me/topic/2046</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 14:26:56 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/2046.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Oct 2026 07:53:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Sat, 03 Oct 2026 10:35:20 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://github.com/Niko1221/Strata/releases" rel="nofollow ugc">https://github.com/Niko1221/Strata/releases</a></p>
<p dir="auto">v0.1.38 已经发布了，其中对R9700做了优化，</p>
<p dir="auto">v0.1.32 的 STRATA_HIP_WMMA=1 — R9700 prefill +36-51%（本人测试提升26%）</p>
<p dir="auto">v0.1.36 的 STRATA_PF_FUSED=1 — IQ3_S prefill 有提升（默认关，IQ 系列 "about even"，本人测试了没提升）</p>
<p dir="auto">v0.1.38 的 prefill 优化 — 通用提速</p>
]]></description><link>https://lcz.me/post/22105</link><guid isPermaLink="true">https://lcz.me/post/22105</guid><dc:creator><![CDATA[xiaopbro]]></dc:creator><pubDate>Sat, 03 Oct 2026 10:35:20 GMT</pubDate></item><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Sat, 03 Oct 2026 05:06:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brian" aria-label="Profile: Brian">@<bdi>Brian</bdi></a> 由奢入俭难，用习惯100+的就回不去了</p>
]]></description><link>https://lcz.me/post/22049</link><guid isPermaLink="true">https://lcz.me/post/22049</guid><dc:creator><![CDATA[xiaopbro]]></dc:creator><pubDate>Sat, 03 Oct 2026 05:06:10 GMT</pubDate></item><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Sat, 03 Oct 2026 05:04:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brian" aria-label="Profile: Brian">@<bdi>Brian</bdi></a> 是的，经过一天的测试，确实比27b思考的久很多</p>
]]></description><link>https://lcz.me/post/22048</link><guid isPermaLink="true">https://lcz.me/post/22048</guid><dc:creator><![CDATA[xiaopbro]]></dc:creator><pubDate>Sat, 03 Oct 2026 05:04:36 GMT</pubDate></item><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Fri, 02 Oct 2026 15:47:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/6cccccc" aria-label="Profile: 6cccccc">@<bdi>6cccccc</bdi></a> 感觉MOE模型，速度不到100t/s以上，体验很不好，貌似有特殊的思考链设计</p>
]]></description><link>https://lcz.me/post/21987</link><guid isPermaLink="true">https://lcz.me/post/21987</guid><dc:creator><![CDATA[Brian]]></dc:creator><pubDate>Fri, 02 Oct 2026 15:47:13 GMT</pubDate></item><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Fri, 02 Oct 2026 15:41:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brian" aria-label="Profile: Brian">@<bdi>Brian</bdi></a> 感觉思考还比27b 严重</p>
]]></description><link>https://lcz.me/post/21986</link><guid isPermaLink="true">https://lcz.me/post/21986</guid><dc:creator><![CDATA[applejuice]]></dc:creator><pubDate>Fri, 02 Oct 2026 15:41:14 GMT</pubDate></item><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Fri, 02 Oct 2026 15:39:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brian" aria-label="Profile: Brian">@<bdi>Brian</bdi></a> 确实好久，怎么感觉比27B还久，虽然27B的速度上更慢一些</p>
]]></description><link>https://lcz.me/post/21985</link><guid isPermaLink="true">https://lcz.me/post/21985</guid><dc:creator><![CDATA[6cccccc]]></dc:creator><pubDate>Fri, 02 Oct 2026 15:39:12 GMT</pubDate></item><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Fri, 02 Oct 2026 15:20:46 GMT]]></title><description><![CDATA[<p dir="auto">速度60-80t/s，prefill速度也不错，但是一个任务要干1个多小时，时间太长了，你们有感觉吗</p>
]]></description><link>https://lcz.me/post/21979</link><guid isPermaLink="true">https://lcz.me/post/21979</guid><dc:creator><![CDATA[Brian]]></dc:creator><pubDate>Fri, 02 Oct 2026 15:20:46 GMT</pubDate></item><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Fri, 02 Oct 2026 15:17:34 GMT]]></title><description><![CDATA[<p dir="auto">感谢这么详细地整理，信息很有帮助。我这边先把目前能确认的说一下：</p>
<p dir="auto">decode expert cache hit rate：我这边近期稳定在 98%～99% 左右，最新 ROCm 10.2 测试大约 99.0%～99.1%。</p>
<p dir="auto">expert arena / hugetlb：我之前主要走的是 resident-cpu-experts 路径，和你这套完整 pinned expert arena 不完全一样。我需要回头核一下启动日志里有没有 MAP_HUGETLB / 4 KB pages 的明确记录。</p>
<p dir="auto">prompt path borrow slots：这个我也准备从原始日志里把准确数字找出来再对比。</p>
<p dir="auto">另外提供的这几组 fresh prefill 日志，大多在 650–900 tok/s 左右，和我之前测试 IQ3_S 的结果其实已经比较接近了。</p>
<p dir="auto">方便的话，再请教一下原帖里大约 15K = 1191 tok/s 那次对应的原始日志，主要想确认是不是也是同一套启动参数和运行状态。</p>
]]></description><link>https://lcz.me/post/21977</link><guid isPermaLink="true">https://lcz.me/post/21977</guid><dc:creator><![CDATA[PhoenixRise2026]]></dc:creator><pubDate>Fri, 02 Oct 2026 15:17:34 GMT</pubDate></item><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Fri, 02 Oct 2026 14:44:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phoenixrise2026" aria-label="Profile: PhoenixRise2026">@<bdi>PhoenixRise2026</bdi></a> 我让hermes帮我回复的：</p>
<p dir="auto">好，帮你整理一下我这边 Strata 的完整配置，逐条回答：</p>
<ol>
<li>版本 /commit<br />
v0.1.34 原版，无本地 patch（git diff --stat 为空）<br />
commit SHA: 1678de333d0e0711bc414ad992b640e1a37dd814<br />
BUILD.json: source: local-hip, version: 0.1.34, archs: [gfx1201], src: 807f12b2eed96139<br />
ROCm: TheRock 轮子 rocm-7.10.0a20251120（非系统 ROCm）</li>
<li>环境变量<br />
没有设置 STRATA_PREFILL_ISSUER、STRATA_HIP_WMMA、STRATA_RESIDENT_PIN。<br />
日志里出现的 STRATA_* 只有两个（引擎内部提示，非我设的）：<br />
STRATA_HC_SPLIT=1（hyper-connection staged read，默认开启）<br />
STRATA_SSD_KEEPALIVE=0（SSD 保活，默认开）</li>
<li>Expert 路径<br />
不是 --mmap-experts --resident-cpu-experts。我这边用的是：</li>
</ol>
<p dir="auto">--expert-cache auto<br />
--prefill auto<br />
启动日志：<br />
expert cache auto: 25.94 GiB free, 700 MiB reserved (+218 MiB for the draft head) -&gt; 10100 slots<br />
expert cache 13193 slots, 25.04 GiB of VRAM<br />
R4 hit path ON - resident experts are computed on the GPU<br />
17 expert-pool workers + the host thread<br />
token graph hit path: 13193 resident experts, decided on the device<br />
the prompt path borrows 2399 CUDA0 cache slots (4.56 GiB)<br />
4. Prefill reused_tokens<br />
全部 reused_tokens=0，每次都是 fresh prefill。日志样本：</p>
<p dir="auto">prompt 40033 tokens = 0 reused + 40033 read in 44631 ms (897.0 tok/s)<br />
prompt 18282 tokens = 0 reused + 18282 read in 23513 ms (777.5 tok/s)<br />
prompt 8163 tokens  = 0 reused + 8163 read in 12592 ms (648.3 tok/s)<br />
prompt 22155 tokens = 0 reused + 22155 read in 27664 ms (800.9 tok/s)<br />
prompt 34570 tokens = 0 reused + 34570 read in 41507 ms (832.9 tok/s)<br />
5. 完整启动参数</p>
<p dir="auto">--pack /home/finn/Strata-data/packs/iq3_s<br />
--native /home/finn/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf<br />
--ple-gguf /home/finn/Strata-data/models/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf<br />
--expert-profile /home/finn/Strata/data/expert-profile.bin<br />
--expert-cache auto<br />
--prefill auto<br />
--spec 4<br />
--spec-min-p 0.5<br />
--mtp /home/finn/Strata-data/mtp/rt<br />
--max-context 131072<br />
--kv int8<br />
--kv-resident 32768<br />
6. 硬件 / CPU<br />
Xeon E5-2686 v4 @ 2.30GHz，单路 18 核（36 线程），单 NUMA<br />
无 AVX-512，只有 AVX2 → 引擎日志明确提示 this CPU has no AVX-512: the expert kernels run on AVX-2<br />
4 通道 DDR4-2133 全插<br />
关于 IQ3_S vs IQ3_XXS 的 expert copy wait 差异<br />
我这边只有 IQ3_S 的实测数据（prefill ~650-900 tok/s，decode ~53-82 tok/s）。IQ3_S 的 expert arena 是 46.84 GiB（IQ3_XXS 应该更小），expert cache 占 25 GiB VRAM。如果 IQ3_S 的 expert 搬运路径和 IQ3_XXS 不同（比如 cache 命中率、arena 大小影响 page fault 频率），那 expert copy wait 差异是合理的。<br />
一个关键差异点：我这边 hugetlb 2 MB pages 可用（expert arena: cudaHostRegister PORTABLE ok; hugetlb 2 MB pages），这应该能减少 page fault 对 expert copy 的影响。你那边如果 MAP_HUGETLB unavailable（走 4KB pages），expert copy wait 可能会更明显。<br />
可以对比一下：<br />
你那边 expert arena 那行日志，看 hugetlb 是否可用<br />
decode expert cache hit rate 我这边 79-93% 波动，你那边多少<br />
prompt path borrows 的 slot 数量</p>
]]></description><link>https://lcz.me/post/21966</link><guid isPermaLink="true">https://lcz.me/post/21966</guid><dc:creator><![CDATA[xiaopbro]]></dc:creator><pubDate>Fri, 02 Oct 2026 14:44:37 GMT</pubDate></item><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Fri, 02 Oct 2026 13:39:24 GMT]]></title><description><![CDATA[<p dir="auto">感谢分享，这个测试对我很有参考价值。我这边也是 R9700 + Strata v0.1.34 + TheRock 7.10，最近在复现你的 Prefill 数据。</p>
<p dir="auto">方便的话想请教几个细节：</p>
<p dir="auto">你的 Strata 是官方 v0.1.34 原版吗？能否提供一下 commit SHA / 是否有本地 patch？</p>
<p dir="auto">Prefill 时有设置 STRATA_PREFILL_ISSUER、STRATA_HIP_WMMA、STRATA_RESIDENT_PIN 或其他 STRATA_* 环境变量吗？</p>
<p dir="auto">expert 是 --mmap-experts --resident-cpu-experts 这一路径吗？</p>
<p dir="auto">测 PP 时能否确认 reused_tokens=0，也就是每次都是完整 fresh prefill？</p>
<p dir="auto">我这边同机对比后，IQ3_S 反而比 IQ3_XXS 慢一些，主要差在 expert copy wait，所以比较想确认是不是运行参数或 expert 搬运路径还有差异。</p>
<p dir="auto">再次感谢分享，如果方便贴一下实际启动参数就更好了。</p>
]]></description><link>https://lcz.me/post/21958</link><guid isPermaLink="true">https://lcz.me/post/21958</guid><dc:creator><![CDATA[PhoenixRise2026]]></dc:creator><pubDate>Fri, 02 Oct 2026 13:39:24 GMT</pubDate></item><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Fri, 02 Oct 2026 09:02:04 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2b50.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--star" style="height:1.4em;width:auto;vertical-align:middle" title="⭐" alt="⭐" /> 版主审定：本帖设为<strong>精华</strong>，作者 <strong>+5 积分</strong>奖励，希望再接再厉！</p>
<blockquote>
<p dir="auto">奖励凭证：精华 +5 分 · 编号 f2046-425-1（系统自动发放，显示稍有延迟）</p>
</blockquote>
]]></description><link>https://lcz.me/post/21944</link><guid isPermaLink="true">https://lcz.me/post/21944</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Fri, 02 Oct 2026 09:02:04 GMT</pubDate></item><item><title><![CDATA[Reply to R9700单卡 Strata Qwen3.8-Flash-Next 125B 部署与Qwen3.8-27b-MXFP4对比 on Fri, 02 Oct 2026 09:00:35 GMT]]></title><description><![CDATA[<p dir="auto">非常不错的对比，下次结论先行，后补数据。</p>
]]></description><link>https://lcz.me/post/21940</link><guid isPermaLink="true">https://lcz.me/post/21940</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Fri, 02 Oct 2026 09:00:35 GMT</pubDate></item></channel></rss>