<?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[7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3]]></title><description><![CDATA[<h1>7900 XTX 跑 125B MoE：prefill 2086→3205，decode 64.7→96.3</h1>
<p dir="auto">一张 Radeon RX 7900 XTX（24 GB），跑 Qwen3.8-Flash-Next 125B MoE，128K 上下文。</p>
<p dir="auto">官方预编译引擎 <strong>prefill 2086 / decode 64.7</strong>，调优后 <strong>prefill 3205 / decode 96.3</strong>。</p>
<h2><strong>+54% 和 +49%。</strong><br />
———————人话分界线其他都是AI写的————————<br />
说明一下这个2086/64.7是我昨天第一次调过后的成绩，strata开箱直接用的prefill肯定没有2086，我记得好像是不到1000还是1000多。总之就是人在一边看，AI自己干，调优全过程都是deepseek flash免费模型给我做的，我就在一边抽鞭子来着。<br />
———————人话分界线其他都是AI写的————————</h2>
<h2>环境</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>GPU</td>
<td>Radeon RX 7900 XTX，24 GB，gfx1100（RDNA3）</td>
</tr>
<tr>
<td>CPU</td>
<td>Intel i7-13700KF</td>
</tr>
<tr>
<td>内存</td>
<td>64 GB</td>
</tr>
<tr>
<td>系统</td>
<td>Windows 11</td>
</tr>
<tr>
<td>模型</td>
<td>Qwen3.8-Flash-Next（abliterated），125B MoE，IQ3_S</td>
</tr>
<tr>
<td>上下文</td>
<td>131072</td>
</tr>
<tr>
<td>服务</td>
<td>strata，OpenAI / Anthropic 兼容 API</td>
</tr>
</tbody>
</table>
<p dir="auto">测试协议：<strong>27549 token prompt / 400 token 输出 / 各 3 轮</strong>。</p>
<hr />
<h2>本来是</h2>
<p dir="auto">官方组合：strata 预编译引擎 <code>0.1.54</code> + hipBLASLt <code>100500</code> + 32 行社区调优表 + <code>--lookup-chain 3</code> + <code>--host-core sibling</code>。</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="text-align:right">prefill（三轮）</th>
<th style="text-align:right">中位</th>
<th style="text-align:right">decode（三轮）</th>
<th style="text-align:right">中位</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:right">2095.3 / 2069.1 / 2086.2</td>
<td style="text-align:right"><strong>2086</strong></td>
<td style="text-align:right">65.5 / 64.2 / 64.7</td>
<td style="text-align:right"><strong>64.7</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">27.5K 上下文要 13.2 秒才出第一个字。</p>
<hr />
<h2>调优措施</h2>
<h3>换引擎</h3>
<p dir="auto">自编译 RDNA3 fork <code>0.1.43</code>（比官方的 0.1.54 更老，但更快），hipBLASLt 调优表从 <code>100500</code> 换成 <code>100100</code>，和 fork 的 ROCm 对齐。</p>
<h3>38 个环境变量</h3>
<p dir="auto"><strong>矩阵乘</strong></p>
<pre><code>STRATA_HIP_WMMA=1              STRATA_SELECT_WMMA=1
STRATA_RDNA_MMVQ_WAVE=3        STRATA_PF_F16=2
</code></pre>
<p dir="auto"><strong>Prefill 路径</strong></p>
<pre><code>STRATA_PF_GEMM=1               STRATA_PF_FUSED=1
STRATA_PF_PAD=1                STRATA_PF_GROUP_RES=1
STRATA_PF_HCDOWN=1             STRATA_PREFILL_AUTO_MAX=32768
STRATA_PREFILL_CPU_SHARE=auto  STRATA_PREFILL_CPU_SHARE_MAX=6144
STRATA_PREFILL_RING=192        STRATA_PREFILL_MMQ_TILE_ROWS=32
</code></pre>
<p dir="auto"><strong>GDN（线性注意力）融合</strong></p>
<pre><code>STRATA_GDN_HEAD=1        STRATA_GDN_CHUNKED=1
STRATA_GDN_CHUNK_GDV=0   STRATA_GDN_PP=1
STRATA_GDN_CONVL2=1      STRATA_GDN_NOY=1
STRATA_FUSE_CONVAB=1
</code></pre>
<p dir="auto"><strong>Attention 与 KV</strong></p>
<pre><code>STRATA_QSA_SPLIT_ATTN=1  STRATA_PA_KLDS=1
STRATA_PA_FAST=1         STRATA_KV_HOST_DMA=1
</code></pre>
<p dir="auto"><strong>调度与流水</strong></p>
<pre><code>STRATA_QFUSE=1           STRATA_COMBINE_CPU=1
STRATA_WAIT_FUSE=1       STRATA_ROUTE_PUBLISH=1
STRATA_GR_INJ_UP=1       STRATA_GR_FUSED=1
STRATA_STAGER_RING=64    STRATA_HC_UPMIX=1
STRATA_HEAD_MIX_MULTI=1  STRATA_VERIFY_QDEDUP=1
STRATA_SH_STREAM=0       GPU_MAX_HW_QUEUES=6
</code></pre>
<h3>引擎参数</h3>
<pre><code>--lookup-chain 3         --adapt-async 1
--kv-resident 32768      --ple-io direct
--ple-row-cache 1048576  --pcie-frac 0
--mtp-window 4096        --pool-workers 12
--vram-reserve-mib 1728  --host-core first
--kv int8                --spec 4
--spec-min-p 0.5         --max-context 131072
</code></pre>
<h3>三个关键点</h3>
<ul>
<li><code>STRATA_PREFILL_AUTO_MAX</code> 从默认 12288 提到 <strong>32768</strong>（官方日志里能看到它自动选了 12288，13K 以上上下文要分两次处理）。<strong>32768 是安全上限，65536 会崩。</strong></li>
<li><code>STRATA_RDNA_MMVQ_WAVE=3</code> —— decode 收益的主要来源。预编译引擎不认这个变量，必须自编译。</li>
<li><code>--host-core first</code> —— fork 不认 <code>sibling</code>，照搬官方配置的写法会启动失败。</li>
</ul>
<hr />
<h2>现在是</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="text-align:right">prefill</th>
<th style="text-align:right">decode</th>
<th style="text-align:right">相对本来</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:right"><strong>3205</strong></td>
<td style="text-align:right"><strong>96.3</strong></td>
<td style="text-align:right"><strong>+54% / +49%</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">三轮明细：prefill 3317 / 3205 / 3167，峰值 <strong>3313</strong>（背靠背第 2 轮）。</p>
<p dir="auto">更长上下文（54.8K）：prefill <strong>3308.8</strong>、decode <strong>99.9</strong> —— 上下文翻倍，速度不掉。</p>
<hr />
<h2>对比</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th></th>
<th style="text-align:right">本来</th>
<th style="text-align:right">现在</th>
<th style="text-align:right">提升</th>
</tr>
</thead>
<tbody>
<tr>
<td>prefill @27.5K</td>
<td style="text-align:right">2086</td>
<td style="text-align:right"><strong>3205</strong></td>
<td style="text-align:right"><strong>+54%</strong></td>
</tr>
<tr>
<td>prefill 峰值</td>
<td style="text-align:right">2046</td>
<td style="text-align:right"><strong>3313</strong></td>
<td style="text-align:right"><strong>+62%</strong></td>
</tr>
<tr>
<td>decode @27.5K</td>
<td style="text-align:right">64.7</td>
<td style="text-align:right"><strong>96.3</strong></td>
<td style="text-align:right"><strong>+49%</strong></td>
</tr>
<tr>
<td>prefill @54.8K</td>
<td style="text-align:right">—</td>
<td style="text-align:right"><strong>3308.8</strong></td>
<td style="text-align:right">—</td>
</tr>
<tr>
<td>decode @54.8K</td>
<td style="text-align:right">—</td>
<td style="text-align:right"><strong>99.9</strong></td>
<td style="text-align:right">—</td>
</tr>
<tr>
<td>27.5K 首字延迟</td>
<td style="text-align:right">13.2 s</td>
<td style="text-align:right"><strong>8.6 s</strong></td>
<td style="text-align:right"><strong>-4.6 s</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">参考：一台 128 GB 内存的 Linux 机器同模型跑 3432 / 100.4，我们这台 64 GB 的 Windows 消费机到 <strong>93% / 96%</strong>。</p>
<hr />
<p dir="auto"><em>Radeon RX 7900 XTX (gfx1100) / i7-13700KF / 64 GB / Windows 11 / Qwen3.8-Flash-Next abliterated IQ3_S / strata 0.1.43（自编译 RDNA3 fork）</em></p>
]]></description><link>https://lcz.me/topic/2745</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 07:39:52 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/2745.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 31 Oct 2026 13:49:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Sun, 08 Nov 2026 05:00:52 GMT]]></title><description><![CDATA[<p dir="auto">qwen 3.8 flash netxt 首字token速度要几十秒,你们是这样吗</p>
]]></description><link>https://lcz.me/post/31862</link><guid isPermaLink="true">https://lcz.me/post/31862</guid><dc:creator><![CDATA[zzsoszz]]></dc:creator><pubDate>Sun, 08 Nov 2026 05:00:52 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Thu, 05 Nov 2026 14:01:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E7%A9%BA%E8%AF%AD" aria-label="Profile: 空语">@<bdi>空语</bdi></a> 可以啊兄弟,比我厉害. 担心兄弟过的苦,又怕兄弟开路虎.</p>
]]></description><link>https://lcz.me/post/31365</link><guid isPermaLink="true">https://lcz.me/post/31365</guid><dc:creator><![CDATA[Goitex]]></dc:creator><pubDate>Thu, 05 Nov 2026 14:01:23 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Mon, 02 Nov 2026 15:12:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j-z-0" aria-label="Profile: J-Z-0">@<bdi>J-Z-0</bdi></a></p>
<p dir="auto">我是在ubuntu24.04.5 LTS中用的 IQ3_S, 所以内存很富裕。</p>
<p dir="auto">记得某次agent进行了对比测试后给我的说法是，把ple io 设成 ram，对decode的速度几乎没有影响，反而因为要多读20多G数据到内存，增加了系统加载模型的时间。按默认的设置，由于专家命中率较高，所以运行中strata每次从ssd上仅仅读取很少的数据到内存，而且有预判的提前读取，对速度影响微乎其微。</p>
<p dir="auto">尽管它这么说 ，但我还是坚持设为ram，至少strata运行时基本不读ssd了。IQ3_S比较小些，目前内存占用最多时约100G左右。</p>
]]></description><link>https://lcz.me/post/30605</link><guid isPermaLink="true">https://lcz.me/post/30605</guid><dc:creator><![CDATA[Y G 0]]></dc:creator><pubDate>Mon, 02 Nov 2026 15:12:09 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Mon, 02 Nov 2026 14:31:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/y-g-0" aria-label="Profile: Y-G-0">@<bdi>Y-G-0</bdi></a> 这个是可以的， 我的agent也真的干了， 成功了。rdna3 的作者这几天也有基于新引擎的更新， 我也都测试了。 不过我的问题是，我用128g内存跑Q4_K_XL. 0.1.43引擎可以把PLE io 设成ram （差不多还剩10g的ram余量）， 是最快的。 引擎从某个版本开始， 对内存占用提高了，结果就是只能选direct或mmap，否则就是OOM，把东西挤回硬盘， 都没有原版rdna3设成ram快。   我估计很长一段时间内， 我都没法更新了， 不过这样也比原版strata快不少， 7900xtx单卡， 干长活60tps， 写一段简单代码80+tps</p>
]]></description><link>https://lcz.me/post/30595</link><guid isPermaLink="true">https://lcz.me/post/30595</guid><dc:creator><![CDATA[J Z 0]]></dc:creator><pubDate>Mon, 02 Nov 2026 14:31:52 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Mon, 02 Nov 2026 13:53:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E6%9D%8E%E9%87%8E%E7%81%AB" aria-label="Profile: 李野火">@<bdi>李野火</bdi></a> 我默认就是开启思考的。要观测速度，我得等两天，因为这两天我在用一张AMD的超级老卡，驱动环境已经全换了，在重新编译Strata runtime，弄完了我换回7900再回复</p>
]]></description><link>https://lcz.me/post/30585</link><guid isPermaLink="true">https://lcz.me/post/30585</guid><dc:creator><![CDATA[空语]]></dc:creator><pubDate>Mon, 02 Nov 2026 13:53:47 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Mon, 02 Nov 2026 02:53:29 GMT]]></title><description><![CDATA[<p dir="auto">可以帮试一下，开启思考模式，速度能有多少吗?</p>
]]></description><link>https://lcz.me/post/30453</link><guid isPermaLink="true">https://lcz.me/post/30453</guid><dc:creator><![CDATA[李野火]]></dc:creator><pubDate>Mon, 02 Nov 2026 02:53:29 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Sun, 01 Nov 2026 13:32:22 GMT]]></title><description><![CDATA[<p dir="auto">调的很优秀啊，windows下都能跑这么多</p>
]]></description><link>https://lcz.me/post/30320</link><guid isPermaLink="true">https://lcz.me/post/30320</guid><dc:creator><![CDATA[tom23]]></dc:creator><pubDate>Sun, 01 Nov 2026 13:32:22 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Sun, 01 Nov 2026 10:49:00 GMT]]></title><description><![CDATA[<p dir="auto">你指的是跟linux比吗，<a class="plugin-mentions-user plugin-mentions-a" href="/user/ron-z" aria-label="Profile: RON-z">@<bdi>RON-z</bdi></a> 你继续抽他鞭子，他也能干成，说不定还干的更好</p>
]]></description><link>https://lcz.me/post/30261</link><guid isPermaLink="true">https://lcz.me/post/30261</guid><dc:creator><![CDATA[空语]]></dc:creator><pubDate>Sun, 01 Nov 2026 10:49:00 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Sun, 01 Nov 2026 02:33:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E7%A9%BA%E8%AF%AD" aria-label="Profile: 空语">@<bdi>空语</bdi></a> 楼主你好，我把你这个贴子丢给dsh跑一遍，它给我这样回复了：<br />
剩下那 24% 的 decode 缺口，只能拿到作者的 fork，或者自己改写 src/kernels/cuda/native_mmvq.cu 的 MMVQ 波前布局——那属于原创内核开发，不是复现了。<br />
我的配置是7900xtx，cpu9700x，64g内存。感谢你的回复哈</p>
]]></description><link>https://lcz.me/post/30046</link><guid isPermaLink="true">https://lcz.me/post/30046</guid><dc:creator><![CDATA[RON z]]></dc:creator><pubDate>Sun, 01 Nov 2026 02:33:37 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Sat, 31 Oct 2026 17:12:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/y-g-0" aria-label="Profile: Y-G-0">@<bdi>Y-G-0</bdi></a> 谢谢谢谢～</p>
]]></description><link>https://lcz.me/post/29952</link><guid isPermaLink="true">https://lcz.me/post/29952</guid><dc:creator><![CDATA[空语]]></dc:creator><pubDate>Sat, 31 Oct 2026 17:12:02 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Sat, 31 Oct 2026 16:46:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E7%A9%BA%E8%AF%AD" aria-label="Profile: 空语">@<bdi>空语</bdi></a></p>
<p dir="auto">以下全部来自实测日志（非估算），中位数取自每臂 2–3 次重复：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>指标</th>
<th>0.1.45 原版</th>
<th>0.1.45 + RDNA3 env</th>
<th>0.1.45 + RDNA3 + 全套调优</th>
<th>升级至0.1.54</th>
<th>升级至0.1.55</th>
</tr>
</thead>
<tbody>
<tr>
<td>4K prefill tok/s</td>
<td>1179</td>
<td>1997</td>
<td>2094</td>
<td>2041</td>
<td>2017</td>
</tr>
<tr>
<td>16K prefill tok/s</td>
<td>1766</td>
<td>2761</td>
<td>2805</td>
<td>2697</td>
<td>2710</td>
</tr>
<tr>
<td>32K prefill tok/s</td>
<td>1779</td>
<td>3029</td>
<td>3194</td>
<td>3074</td>
<td>3108</td>
</tr>
<tr>
<td>chat decode 中位 tok/s</td>
<td>78.2</td>
<td>79.2</td>
<td>80.5</td>
<td>77.1</td>
<td>82.7</td>
</tr>
<tr>
<td>agent decode tok/s</td>
<td>88.2</td>
<td>92.0</td>
<td>87.6</td>
<td>95.0</td>
<td>97.1</td>
</tr>
<tr>
<td>agent cache hit %</td>
<td>—</td>
<td>—</td>
<td>68.65</td>
<td>69.25</td>
<td>69.42</td>
</tr>
</tbody>
</table>
<p dir="auto">供参考。</p>
]]></description><link>https://lcz.me/post/29947</link><guid isPermaLink="true">https://lcz.me/post/29947</guid><dc:creator><![CDATA[Y G 0]]></dc:creator><pubDate>Sat, 31 Oct 2026 16:46:13 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Sat, 31 Oct 2026 16:03:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/y-g-0" aria-label="Profile: Y-G-0">@<bdi>Y-G-0</bdi></a> 真的吗明天试试看，毕竟用老引擎还得考虑将来升级的事</p>
]]></description><link>https://lcz.me/post/29941</link><guid isPermaLink="true">https://lcz.me/post/29941</guid><dc:creator><![CDATA[空语]]></dc:creator><pubDate>Sat, 31 Oct 2026 16:03:43 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Sat, 31 Oct 2026 16:00:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E6%87%92%E4%BA%BA%E7%83%98%E5%9F%B9" aria-label="Profile: 懒人烘培">@<bdi>懒人烘培</bdi></a> 我很满足，出了3090本来有点落差，忽然补上去了，我3090之前prefill也不过2500+，Decode高一些，可惜4090夏天就出了，没赶上Strata。越用越倒退，省钱吃饭了哈哈</p>
]]></description><link>https://lcz.me/post/29939</link><guid isPermaLink="true">https://lcz.me/post/29939</guid><dc:creator><![CDATA[空语]]></dc:creator><pubDate>Sat, 31 Oct 2026 16:00:48 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Sat, 31 Oct 2026 15:12:22 GMT]]></title><description><![CDATA[<p dir="auto">可以可以，windows下成绩也很好~</p>
]]></description><link>https://lcz.me/post/29911</link><guid isPermaLink="true">https://lcz.me/post/29911</guid><dc:creator><![CDATA[懒人烘培]]></dc:creator><pubDate>Sat, 31 Oct 2026 15:12:22 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Sat, 31 Oct 2026 15:07:42 GMT]]></title><description><![CDATA[<p dir="auto">其实不必非得编译 RDNA3 fork 0.1.43，用strata的0.1.45和0.1.54都行，只要让agent去借鉴一下strata rdna3的参数配置，一样能达到差不多的这个速度，也不影响引擎的升级。</p>
]]></description><link>https://lcz.me/post/29907</link><guid isPermaLink="true">https://lcz.me/post/29907</guid><dc:creator><![CDATA[Y G 0]]></dc:creator><pubDate>Sat, 31 Oct 2026 15:07:42 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX单卡：prefill 2086→3205，decode 64.7→96.3 on Sat, 31 Oct 2026 13:52:05 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://upload.lcz.me/uploads/70d31a20-0ae0-413f-ba78-db0f56ca76eb.png" alt="strata-rdna3-poster-AI版.png" class="img-markdown  img-fluid" /></p>
]]></description><link>https://lcz.me/post/29887</link><guid isPermaLink="true">https://lcz.me/post/29887</guid><dc:creator><![CDATA[空语]]></dc:creator><pubDate>Sat, 31 Oct 2026 13:52:05 GMT</pubDate></item></channel></rss>