<?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 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生]]></title><description><![CDATA[<h1>7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法</h1>
<h2>Qwen3.8 Flash-Next：Strata 引擎快得让我怀疑人生</h2>
<blockquote>
<p dir="auto"><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="⚠" />️ 本文全部为我自己机器上的实测。</p>
<p dir="auto">硬件：RX 7900 XTX 24GB + Ryzen 5 9600X + 64GB DDR5<br />
系统：Ubuntu 24.04.4 / ROCm 7.2.3</p>
<p dir="auto">本文后半部分会同时列出 llama.cpp、MoE4All infr 和 Strata 三套结果，但三套使用的量化不同，<strong>不能把绝对数字当成严格 apples-to-apples 比较</strong>。</p>
</blockquote>
<hr />
<h2>0. 这次有点离谱</h2>
<blockquote>
<p dir="auto">AI界有句名言 - 学得慢，就不用学了。</p>
</blockquote>
<p dir="auto">这两周一直在琢磨7900XTX跑Flash-Next甚至DeekSeek Flash本地大模型。结果忽然发现我测的速度实在是赶不上新技术冒出来的速度<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f635.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--dizzy_face" style="height:1.4em;width:auto;vertical-align:middle" title=":dizzy_face:" alt="😵" /> 。请看我这两周都经历了什么 -&gt;</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>路线</th>
<th>引擎</th>
<th>量化 / 模型</th>
<th>GPU</th>
<th>结果概况</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td><strong>llama.cpp + Vulkan</strong></td>
<td><strong>GSQ-RCO Q2_0</strong></td>
<td>单 7900 XTX</td>
<td>Prefill ~29.3，Decode ~13.2 t/s</td>
</tr>
<tr>
<td>2</td>
<td><strong>MoE4All / infr</strong></td>
<td><strong>UD-Q2_K_XL</strong></td>
<td>单 7900 XTX</td>
<td>Prefill ~248.9，Decode <strong>16.57 t/s</strong></td>
</tr>
<tr>
<td>3</td>
<td><strong>llama.cpp + Vulkan</strong></td>
<td><strong>IQ4_XS</strong></td>
<td>单 7900 XTX</td>
<td>最优 Prefill <strong>150.8</strong>，Decode <strong>17.88 t/s</strong>；长期服务约 8–14</td>
</tr>
<tr>
<td>4</td>
<td><strong>MoE4All / infr 0.8/0.9</strong></td>
<td><strong>AD-4.27bpw Q4_K_M-M64</strong></td>
<td>单 7900 XTX</td>
<td>131K：Prefill <strong>672</strong>，Decode <strong>32.2–35.3</strong></td>
</tr>
<tr>
<td>5</td>
<td><strong>Strata 0.1.27 + HIP</strong></td>
<td><strong>Orca / orcarouter IQ3_XXS</strong></td>
<td>单 7900 XTX</td>
<td><strong>Prefill 841–1271，Decode 50.9–59.2，254K 仍 841.5 / 52.1<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44f.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--clap" style="height:1.4em;width:auto;vertical-align:middle" title=":clap:" alt="👏" /><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44f.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--clap" style="height:1.4em;width:auto;vertical-align:middle" title=":clap:" alt="👏" /><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44f.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--clap" style="height:1.4em;width:auto;vertical-align:middle" title=":clap:" alt="👏" /></strong></td>
</tr>
</tbody>
</table>
<p dir="auto">之前的感觉一直是：</p>
<blockquote>
<p dir="auto">这种超大 MoE 能在单张 7900 XTX 上跑起来已经不错了。不求快，能用就行。</p>
</blockquote>
<p dir="auto">直到这两天我试了 Strata。结果： <strong>Decode 50～59 t/s。</strong> 更离谱的是 Prefill：<strong>最高 1270 t/s。</strong> 单卡，呀兄弟们，这是7900XTX单卡！</p>
<p dir="auto">而且不是只有短 Context 跑得快。</p>
<blockquote>
<p dir="auto">上下文一直拉到： <strong>254K Context</strong> 稳定得一匹  <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f62e.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--open_mouth" style="height:1.4em;width:auto;vertical-align:middle" title=":open_mouth:" alt="😮" /></p>
</blockquote>
<p dir="auto">还能做到：</p>
<ul>
<li>Prefill：<strong>841.5 t/s</strong></li>
<li>Decode：<strong>52.1 t/s</strong></li>
</ul>
<p dir="auto"><img src="https://upload.lcz.me/uploads/d5aca71f-f2e7-4eb5-853d-ff7a4848ed04.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" /></p>
<p dir="auto">我第一反应就是：</p>
<blockquote>
<p dir="auto">这是125B！这不是当年弱不禁风的Qwen3.6 35B A3B。</p>
</blockquote>
<p dir="auto">我第二反应就是：</p>
<blockquote>
<p dir="auto">TNND， 测得慢，就不用测了。。。 就好比起得晚，就不用起了。。。咳咳<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f915.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--face_with_head_bandage" style="height:1.4em;width:auto;vertical-align:middle" title=":face_with_head_bandage:" alt="🤕" /></p>
</blockquote>
<hr />
<h2>1. 测试环境</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项目</th>
<th>配置</th>
</tr>
</thead>
<tbody>
<tr>
<td>GPU</td>
<td>AMD RX 7900 XTX 24GB</td>
</tr>
<tr>
<td>GPU 数量</td>
<td>单卡 GPU0</td>
</tr>
<tr>
<td>CPU</td>
<td>Ryzen 5 9600X，6C/12T</td>
</tr>
<tr>
<td>RAM</td>
<td>64GB DDR5 （除了显卡外的最大瓶颈）</td>
</tr>
<tr>
<td>OS</td>
<td>Ubuntu 24.04.4</td>
</tr>
<tr>
<td>ROCm</td>
<td>7.2.3</td>
</tr>
<tr>
<td>Strata</td>
<td><strong>v0.1.27</strong></td>
</tr>
<tr>
<td>Backend</td>
<td><strong>HIP / gfx1100</strong></td>
</tr>
<tr>
<td>Model</td>
<td>Qwen3.8-Flash-Next Uncensored</td>
</tr>
<tr>
<td>Quant</td>
<td><strong>IQ3_XXS</strong></td>
</tr>
<tr>
<td>GGUF 总大小</td>
<td><strong>85.2 GB</strong></td>
</tr>
<tr>
<td>Max Context</td>
<td><strong>262144</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">模型：</p>
<p dir="auto"><code>orcarouter/Qwen3.8-Flash-Next-Uncensored-GGUF</code></p>
<p dir="auto">实际使用：</p>
<ul>
<li><code>Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf</code></li>
<li><code>Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00002-of-00002.gguf</code></li>
<li><code>Qwen3.8-Flash-Next-Uncensored-MTP-draft.gguf</code></li>
</ul>
<p dir="auto">Strata 官方 ORCA 文档指定的也是：</p>
<blockquote>
<p dir="auto"><strong>IQ3_XXS</strong></p>
</blockquote>
<hr />
<h2>2. Strata 编译方法</h2>
<p dir="auto">仓库：</p>
<p dir="auto"><code>https://github.com/Niko1221/Strata</code></p>
<p dir="auto">版本：</p>
<p dir="auto"><code>v0.1.27</code></p>
<pre><code class="language-bash">git clone https://github.com/Niko1221/Strata.git
cd Strata
git checkout v0.1.27
</code></pre>
<p dir="auto">我的 HIP 编译参数：</p>
<pre><code class="language-bash">cmake -S &lt;worktree&gt; -B &lt;worktree&gt;/build-hip-mmq \
  -DCMAKE_BUILD_TYPE=Release \
  -DSTRATA_ENABLE_HIP=ON \
  -DSTRATA_ENABLE_CUDA=OFF \
  -DSTRATA_HIP_ARCH=gfx1100 \
  -DSTRATA_NATIVE_EXPERTS=ON \
  -DSTRATA_PREFILL_MMQ=ON \
  -DSTRATA_GGML_DIR=&lt;repo&gt;/third_party/llama.cpp \
  -DCMAKE_PREFIX_PATH=/opt/rocm-7.2.3 \
  -Dhip_DIR=/opt/rocm-7.2.3/lib/cmake/hip \
  -DHIP_ROOT_DIR=/opt/rocm-7.2.3

cmake --build &lt;worktree&gt;/build-hip-mmq -j$(nproc)
</code></pre>
<p dir="auto">这里要注意：</p>
<p dir="auto">Strata pinned llama.cpp 的 CUDA/MMQ 源码位置是：</p>
<pre><code class="language-text">third_party/llama.cpp/ggml/src/ggml-cuda/
</code></pre>
<p dir="auto">不是：</p>
<pre><code class="language-text">third_party/llama.cpp/ggml-cuda/
</code></pre>
<p dir="auto">路径搞错，configure 阶段就会报错。</p>
<hr />
<h2>3. IQ3_XXS 需要先做 Strata Pack</h2>
<p dir="auto">我先用官方工具把模型转换成 Strata 原生 pack：</p>
<pre><code class="language-bash">python tools/iq_pack.py \
  --gguf &lt;model&gt;-00001-of-00002.gguf \
  --out &lt;pack-dir&gt;/iq3_xxs \
  --compat-bf16
</code></pre>
<p dir="auto">生成内容包括：</p>
<ul>
<li><code>experts.bin</code></li>
<li><code>native_experts.txt</code></li>
<li><code>index.txt</code></li>
<li><code>dense.bin</code></li>
<li><code>extra.bin</code></li>
<li><code>tokenizer/</code></li>
</ul>
<p dir="auto">其中：</p>
<blockquote>
<p dir="auto"><code>experts.bin</code> ≈ <strong>53.5 GB</strong></p>
</blockquote>
<p dir="auto">核心目的就是：</p>
<blockquote>
<p dir="auto"><strong>把专家权重整理成 Strata 自己适合高速访问的格式。</strong></p>
</blockquote>
<hr />
<h2>4. AMD 上还有一个关键步骤：hipBLASLt 本地校准</h2>
<p dir="auto">官方有 gfx1100 的 hipBLASLt tuning table。</p>
<p dir="auto">但我这里：</p>
<ul>
<li>ROCm：7.2.3</li>
<li>hipBLASLt runtime：<strong>100202</strong></li>
</ul>
<p dir="auto">官方的：</p>
<ul>
<li>100100</li>
<li>100200</li>
</ul>
<p dir="auto">都会因为版本不匹配被拒绝。</p>
<p dir="auto">所以我在本机重新校准了一张：</p>
<pre><code class="language-text">gfx1100-hipblaslt-100202-local.txt
</code></pre>
<p dir="auto">最终：</p>
<blockquote>
<p dir="auto"><strong>27 rows，全部校验 PASS。</strong></p>
</blockquote>
<p dir="auto">启动前确认日志里出现：</p>
<pre><code class="language-text">hipBLASLt tuning enabled
</code></pre>
<p dir="auto">否则不能算完整性能配置。</p>
<hr />
<h2>5. 我的最终运行参数</h2>
<p dir="auto">环境变量：</p>
<pre><code class="language-bash">export LD_LIBRARY_PATH=/opt/rocm-7.2.3/lib:/opt/rocm-7.2.3/lib64

export ROCR_VISIBLE_DEVICES=0
export HIP_VISIBLE_DEVICES=0

export STRATA_PREFILL_MMQ=1
export STRATA_HIPBLASLT_TUNING=&lt;本地校准表&gt;
export STRATA_PREFILL_RING=96
export STRATA_IO_THREADS=32
</code></pre>
<p dir="auto">关键 Strata 参数：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>参数</th>
<th>我的配置</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>--pack</code></td>
<td>IQ3_XXS Strata pack</td>
</tr>
<tr>
<td><code>--native</code></td>
<td>Orca IQ3_XXS GGUF</td>
</tr>
<tr>
<td><code>--ple-gguf</code></td>
<td>Orca IQ3_XXS GGUF</td>
</tr>
<tr>
<td><code>--expert-profile</code></td>
<td>官方 expert profile</td>
</tr>
<tr>
<td><code>--expert-cache</code></td>
<td>auto</td>
</tr>
<tr>
<td><code>--mmap-experts</code></td>
<td>开</td>
</tr>
<tr>
<td><code>--resident-cpu-experts</code></td>
<td><strong>开</strong></td>
</tr>
<tr>
<td><code>--prefill</code></td>
<td><strong>8192</strong></td>
</tr>
<tr>
<td><code>--spec</code></td>
<td><strong>4</strong></td>
</tr>
<tr>
<td><code>--spec-min-p</code></td>
<td><strong>0.5</strong></td>
</tr>
<tr>
<td><code>--mtp</code></td>
<td>MTP runtime</td>
</tr>
<tr>
<td><code>--max-context</code></td>
<td><strong>262144</strong></td>
</tr>
<tr>
<td><code>--kv</code></td>
<td><strong>int8</strong></td>
</tr>
<tr>
<td><code>--kv-resident</code></td>
<td><strong>32768</strong></td>
</tr>
<tr>
<td><code>--pool-workers</code></td>
<td><strong>5</strong></td>
</tr>
<tr>
<td><code>--adapt-every</code></td>
<td>0</td>
</tr>
<tr>
<td><code>--pcie-frac</code></td>
<td>0</td>
</tr>
<tr>
<td><code>--vram-reserve-mib</code></td>
<td>1024</td>
</tr>
</tbody>
</table>
<p dir="auto">这里最关键的参数：</p>
<blockquote>
<p dir="auto"><strong><code>--resident-cpu-experts</code></strong></p>
</blockquote>
<p dir="auto">它让专家真正常驻系统内存。</p>
<hr />
<h2>6. Strata 最终成绩</h2>
<p dir="auto">先看短 Prompt：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="text-align:right">Prompt</th>
<th style="text-align:right">Prefill</th>
<th style="text-align:right">Decode</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:right">4210 tok</td>
<td style="text-align:right">555.3 t/s</td>
<td style="text-align:right"><strong>56.8 t/s</strong></td>
</tr>
<tr>
<td style="text-align:right">8830 tok</td>
<td style="text-align:right">865.5 t/s</td>
<td style="text-align:right"><strong>55.0 t/s</strong></td>
</tr>
<tr>
<td style="text-align:right">4210 tok</td>
<td style="text-align:right">919.7 t/s</td>
<td style="text-align:right"><strong>54.0 t/s</strong></td>
</tr>
<tr>
<td style="text-align:right">8830 tok</td>
<td style="text-align:right"><strong>1017.2 t/s</strong></td>
<td style="text-align:right"><strong>57.9 t/s</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">真正让我觉得离谱的是长 Context 曲线。</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="text-align:right">实际 Context</th>
<th style="text-align:right">Prefill</th>
<th style="text-align:right">Decode</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:right">1,557</td>
<td style="text-align:right">526.4 t/s</td>
<td style="text-align:right">57.8 t/s</td>
</tr>
<tr>
<td style="text-align:right">6,076</td>
<td style="text-align:right"><strong>1131.9 t/s</strong></td>
<td style="text-align:right">57.3 t/s</td>
</tr>
<tr>
<td style="text-align:right">12,100</td>
<td style="text-align:right"><strong>1109.3 t/s</strong></td>
<td style="text-align:right">58.3 t/s</td>
</tr>
<tr>
<td style="text-align:right">24,153</td>
<td style="text-align:right"><strong>1270.7 t/s</strong></td>
<td style="text-align:right">51.7 t/s</td>
</tr>
<tr>
<td style="text-align:right">48,254</td>
<td style="text-align:right"><strong>1211.5 t/s</strong></td>
<td style="text-align:right">58.3 t/s</td>
</tr>
<tr>
<td style="text-align:right">96,456</td>
<td style="text-align:right"><strong>1164.2 t/s</strong></td>
<td style="text-align:right"><strong>59.2 t/s</strong></td>
</tr>
<tr>
<td style="text-align:right">190,516</td>
<td style="text-align:right"><strong>1112.8 t/s</strong></td>
<td style="text-align:right">54.6 t/s</td>
</tr>
<tr>
<td style="text-align:right">222,312</td>
<td style="text-align:right">880.5 t/s</td>
<td style="text-align:right">50.9 t/s</td>
</tr>
<tr>
<td style="text-align:right"><strong>254,105</strong></td>
<td style="text-align:right"><strong>841.5 t/s</strong></td>
<td style="text-align:right"><strong>52.1 t/s</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">几个重点：</p>
<ul>
<li>24K Prefill：<strong>1270.7 t/s</strong></li>
<li>96K Prefill：<strong>1164.2 t/s</strong></li>
<li>190K Prefill：<strong>1112.8 t/s</strong></li>
<li>254K Prefill：<strong>841.5 t/s</strong></li>
</ul>
<p dir="auto">Decode 从 1.5K 到 254K：</p>
<blockquote>
<p dir="auto"><strong>50.9～59.2 t/s</strong></p>
</blockquote>
<p dir="auto">也就是说：</p>
<blockquote>
<p dir="auto"><strong>Context 拉到 25 万 token，Decode 仍然保持在 50 t/s 以上。</strong></p>
</blockquote>
<p dir="auto"><strong>哦，你问我这个Flash-Next效果怎么样？ 下面两张图，一摸一样的数据，一摸一样的要求，左边的图是本次测试的Flash-Next Orca IQ3_XXS生成的，右边是我用27B Q4_K_M生成的，你更喜欢哪个？</strong></p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/8184e2f2-3e41-40eb-868c-f229faa9a883.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" /></p>
<hr />
<h2>7. 资源占用</h2>
<p dir="auto">Resident 模式：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项目</th>
<th style="text-align:right">实测</th>
</tr>
</thead>
<tbody>
<tr>
<td>CPU 常驻专家</td>
<td style="text-align:right"><strong>31.95 GiB</strong></td>
</tr>
<tr>
<td>专家数量</td>
<td style="text-align:right">8812</td>
</tr>
<tr>
<td>Prefill 临时借用</td>
<td style="text-align:right">3.92 GiB</td>
</tr>
<tr>
<td>GPU 显存</td>
<td style="text-align:right"><strong>25.19 / 25.75 GiB</strong></td>
</tr>
<tr>
<td>系统可用内存要求</td>
<td style="text-align:right">约 <strong>49.8 GiB</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">所以这套配置虽然是：</p>
<blockquote>
<p dir="auto"><strong>单张 RX 7900 XTX</strong></p>
</blockquote>
<p dir="auto">但真正工作的组合是：</p>
<blockquote>
<p dir="auto"><strong>24GB VRAM + 大约 32GB Resident Expert RAM</strong></p>
</blockquote>
<p dir="auto">系统最好有：</p>
<blockquote>
<p dir="auto"><strong>64GB RAM</strong></p>
</blockquote>
<p dir="auto">如果 resident 模式退化回 mmap / 磁盘读取，速度会明显下降。</p>
<hr />
<h2>8. 一个需要说明的小补丁</h2>
<p dir="auto">我的 Orca IQ3_XXS 是普通 GGUF quant。</p>
<p dir="auto">Strata v0.1.27 对：</p>
<pre><code class="language-text">blk.1.ple_key.weight
</code></pre>
<p dir="auto">的类型判断会误判。</p>
<p dir="auto">因此我在独立 worktree 里做了一个很小的兼容修正：</p>
<pre><code class="language-diff">- return include_ple_key &amp;&amp; (tensor.type == 42 || tensor.type == 18 || tensor.type == 23);
+ return include_ple_key &amp;&amp; tensor.type == 42;
</code></pre>
<p dir="auto">生产 tree 没动。</p>
<p dir="auto">这个补丁只用于：</p>
<blockquote>
<p dir="auto"><strong>让普通 IQ3_XXS GGUF 的 BF16 fallback 正确加载。</strong></p>
</blockquote>
<p dir="auto">以后如果官方已经修正，就不需要再打。</p>
<hr />
<h2>9. 另外两套引擎成绩</h2>
<p dir="auto">为了知道 Strata 大概处于什么水平，我还测试过另外两条 Flash-Next 路线。</p>
<p dir="auto">再次强调：</p>
<blockquote>
<p dir="auto"><strong>三套使用的量化不同，下面只是我自己机器上的实际结果汇总，不是严格公平跑分。</strong></p>
</blockquote>
<h3>llama.cpp + Vulkan</h3>
<p dir="auto">模型：</p>
<blockquote>
<p dir="auto">IQ4_XS，97.5 GB</p>
</blockquote>
<p dir="auto">最优 bench：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>指标</th>
<th style="text-align:right">成绩</th>
</tr>
</thead>
<tbody>
<tr>
<td>Prefill</td>
<td style="text-align:right"><strong>150.80 t/s</strong></td>
</tr>
<tr>
<td>Decode</td>
<td style="text-align:right"><strong>17.88 t/s</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">实际长期服务：</p>
<blockquote>
<p dir="auto"><strong>8～14 t/s Decode</strong></p>
</blockquote>
<h3>MoE4All infr 0.8 / 0.9 + Vulkan</h3>
<p dir="auto">模型：</p>
<blockquote>
<p dir="auto">AD-4.27bpw-Q4_K_M-M64，89 GB</p>
</blockquote>
<p dir="auto">131K Context：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>指标</th>
<th style="text-align:right">成绩</th>
</tr>
</thead>
<tbody>
<tr>
<td>Prefill</td>
<td style="text-align:right"><strong>672.0 t/s</strong></td>
</tr>
<tr>
<td>Decode</td>
<td style="text-align:right"><strong>32.2～35.3 t/s</strong></td>
</tr>
<tr>
<td>TTFT</td>
<td style="text-align:right">约 194 s</td>
</tr>
</tbody>
</table>
<hr />
<h2>10. 三套放在一起</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>引擎</th>
<th>量化</th>
<th style="text-align:right">Prefill</th>
<th style="text-align:right">Decode</th>
<th style="text-align:right">Context</th>
</tr>
</thead>
<tbody>
<tr>
<td>llama.cpp + Vulkan</td>
<td>IQ4_XS</td>
<td style="text-align:right">150.8</td>
<td style="text-align:right">17.9</td>
<td style="text-align:right">短 Context</td>
</tr>
<tr>
<td>MoE4All infr</td>
<td>4.27bpw Q4</td>
<td style="text-align:right">672.0</td>
<td style="text-align:right">32～35</td>
<td style="text-align:right">131K</td>
</tr>
<tr>
<td><strong>Strata 0.1.27</strong></td>
<td><strong>IQ3_XXS</strong></td>
<td style="text-align:right"><strong>841～1271</strong></td>
<td style="text-align:right"><strong>50.9～59.2</strong></td>
<td style="text-align:right"><strong>254K</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">还是那句话：</p>
<blockquote>
<p dir="auto"><strong>不同量化，不做严格横评。</strong></p>
</blockquote>
<p dir="auto">但从我自己实际跑下来的结果看：</p>
<blockquote>
<p dir="auto"><strong>Strata 确实快得有点不讲道理。</strong></p>
</blockquote>
<hr />
<h2>11. 总结</h2>
<blockquote>
<p dir="auto"><strong>本来以为我的单卡DanielMTP 27B已经够快的了。魔法打败魔法，Strata 横空出世，用Flash-Next 在7900XTX上跑出了真正生产力。</strong></p>
</blockquote>
]]></description><link>https://lcz.me/topic/2027</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 15:39:55 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/2027.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Oct 2026 04:20:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Sat, 03 Oct 2026 05:22:03 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f525.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--fire" style="height:1.4em;width:auto;vertical-align:middle" title="🔥" alt="🔥" /> 本帖参与讨论人数已达 <strong>10+</strong>，入选<strong>热议</strong>，作者 <strong>+3 积分</strong>奖励，感谢分享！</p>
<blockquote>
<p dir="auto">奖励凭证：热议 +3 分 · 编号 h2027-1158-1（系统自动发放，显示稍有延迟）</p>
</blockquote>
]]></description><link>https://lcz.me/post/22054</link><guid isPermaLink="true">https://lcz.me/post/22054</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Sat, 03 Oct 2026 05:22:03 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Sat, 03 Oct 2026 05:20: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 分 · 编号 f2027-1158-1（系统自动发放，显示稍有延迟）</p>
</blockquote>
]]></description><link>https://lcz.me/post/22052</link><guid isPermaLink="true">https://lcz.me/post/22052</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Sat, 03 Oct 2026 05:20:04 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Sat, 03 Oct 2026 05:16:17 GMT]]></title><description><![CDATA[<p dir="auto">Agent场景如何，长上下文体验，有类似于radix缓存树的体验吗？</p>
]]></description><link>https://lcz.me/post/22051</link><guid isPermaLink="true">https://lcz.me/post/22051</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Sat, 03 Oct 2026 05:16:17 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Fri, 02 Oct 2026 15:35:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kenshin" aria-label="Profile: kenshin">@<bdi>kenshin</bdi></a> 其实27B已经很好了，24G以上显存都能跑，看在钱的份上，本地跑慢点就慢点，总归能熬到显卡和内存价格回归理性的一天。另外，类似turboQ这种KV压缩技术最近又有新的创新，硬件的潜力还能被社区大神们进一步挖掘。</p>
]]></description><link>https://lcz.me/post/21984</link><guid isPermaLink="true">https://lcz.me/post/21984</guid><dc:creator><![CDATA[Ben Lee]]></dc:creator><pubDate>Fri, 02 Oct 2026 15:35:46 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Fri, 02 Oct 2026 14:55:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiaopbro" aria-label="Profile: xiaopbro">@<bdi>xiaopbro</bdi></a> 我是纯小白!跟着真大佬在这个论坛里混，然后剽窃我的本地AI的成果发表论文<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f602.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--joy" style="height:1.4em;width:auto;vertical-align:middle" title=":joy:" alt="😂" /></p>
]]></description><link>https://lcz.me/post/21969</link><guid isPermaLink="true">https://lcz.me/post/21969</guid><dc:creator><![CDATA[Ben Lee]]></dc:creator><pubDate>Fri, 02 Oct 2026 14:55:07 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Fri, 02 Oct 2026 14:53:43 GMT]]></title><description><![CDATA[<p dir="auto">这个方案出来后，内存又有理由再涨一波了。哈哈哈（苦笑······）</p>
]]></description><link>https://lcz.me/post/21968</link><guid isPermaLink="true">https://lcz.me/post/21968</guid><dc:creator><![CDATA[kenshin]]></dc:creator><pubDate>Fri, 02 Oct 2026 14:53:43 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Fri, 02 Oct 2026 14:50:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ben-lee" aria-label="Profile: Ben-Lee">@<bdi>Ben-Lee</bdi></a> 哈哈，主要还是感谢大佬帖子的启发</p>
]]></description><link>https://lcz.me/post/21967</link><guid isPermaLink="true">https://lcz.me/post/21967</guid><dc:creator><![CDATA[xiaopbro]]></dc:creator><pubDate>Fri, 02 Oct 2026 14:50:06 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Fri, 02 Oct 2026 14:42:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiaopbro" aria-label="Profile: xiaopbro">@<bdi>xiaopbro</bdi></a> 哦太好了，恭喜恭喜！我最近注意到，R9700 这条 RDNA4 / gfx1201 线的优化进展，感觉明显比 RDNA3 / gfx1100 快不少。很多新 kernel、WMMA、ROCm 适配好像都是先照顾 RDNA4。你这边如果把编译环境理顺，后面应该还有不少性能可以挖。</p>
]]></description><link>https://lcz.me/post/21965</link><guid isPermaLink="true">https://lcz.me/post/21965</guid><dc:creator><![CDATA[Ben Lee]]></dc:creator><pubDate>Fri, 02 Oct 2026 14:42:22 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Fri, 02 Oct 2026 14:30:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ben-lee" aria-label="Profile: Ben-Lee">@<bdi>Ben-Lee</bdi></a> 已经跑起来了， 就是用你说的TheRock 7.10 gfx120X这个</p>
]]></description><link>https://lcz.me/post/21964</link><guid isPermaLink="true">https://lcz.me/post/21964</guid><dc:creator><![CDATA[xiaopbro]]></dc:creator><pubDate>Fri, 02 Oct 2026 14:30:21 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Fri, 02 Oct 2026 14:14:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiaopbro" aria-label="Profile: xiaopbro">@<bdi>xiaopbro</bdi></a> 这个看起来不像是 R9700 跑不了 Strata。我问了下 AI，更可能是 gfx1201 这边的编译 / ROCm 环境有问题。</p>
<p dir="auto">Strata 现在已经正式支持 R9700 / gfx1201，官方也有 R9700 实机跑通的记录。现在比较靠谱的路线，一个是 system ROCm 7.14，另一个就是直接走 Strata setup 自带的 TheRock 7.10 gfx120X。</p>
<p dir="auto">你现在这套是 ROCm 7.2.1 + clang 22，而且 stall report 已经显示 GPU kernel 基本没正常跑起来。要不要考虑先换到 Strata 官方推荐的 TheRock / gfx120X 环境再重新编一次试试？</p>
<p dir="auto">对了，我的 7900 XTX 那套手工 ROCm / hipBLASLt / WMMA 参数别原样照搬过去，那套是针对 gfx1100 调的，gfx1201 不是一回事。</p>
]]></description><link>https://lcz.me/post/21962</link><guid isPermaLink="true">https://lcz.me/post/21962</guid><dc:creator><![CDATA[Ben Lee]]></dc:creator><pubDate>Fri, 02 Oct 2026 14:14:24 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Fri, 02 Oct 2026 13:57:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kenshin" aria-label="Profile: kenshin">@<bdi>kenshin</bdi></a> 我也是64G内存，我这边在 7900 XTX + Strata 跑 Flash-Next 也踩过这个坑， 一开始测试的时候也是报内存不够，调整了几次就好了。</p>
<p dir="auto">Strata 的 --resident-cpu-experts 模式启动时对 系统 RAM 可用量要求很高，不是看你“装了多少 RAM”，而是看启动瞬间还有多少 available memory。<br />
我这边 Orca IQ3_XXS 的实测大概是：</p>
<ul>
<li>expert resident RAM：约 31.95 GiB</li>
<li>prefill borrow：约 3.92 GiB</li>
<li>再加模型运行、page cache、Strata 本身以及安全余量<br />
实际建议启动前至少留出 约 50 GiB 可用 RAM。<br />
我这台机器只有 64GB RAM，所以如果另一张卡上的 27B 服务、Hermes 或其他进程也在吃内存，Strata 就很容易在加载阶段失败，或者退回 mmap 路径，性能会明显掉。</li>
</ul>
<p dir="auto">我最后的办法不是乱调参数，而是：</p>
<ol>
<li>先看 MemAvailable，不要只看总内存。</li>
<li>启动 Strata 前先卸载/停掉占系统 RAM 很多的其他模型。</li>
<li>确保 swap 不在疯狂工作；能启动但一直 swap，速度也会很难看。</li>
<li>如果要跑我们那套高性能配置，尽量保留：<br />
--resident-cpu-experts</li>
<li>实在内存不够，可以不用 resident CPU experts、改走 mmap/streaming，但这是“能跑”的方案，不是我们测到 1000+ Prefill 的那套性能方案。</li>
</ol>
<p dir="auto">其实都是我的本地Agent在搞，我就是一直给它鼓励和压力，它就自己搞出来了，哈哈</p>
]]></description><link>https://lcz.me/post/21960</link><guid isPermaLink="true">https://lcz.me/post/21960</guid><dc:creator><![CDATA[Ben Lee]]></dc:creator><pubDate>Fri, 02 Oct 2026 13:57:00 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Fri, 02 Oct 2026 09:51:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kenshin" aria-label="Profile: kenshin">@<bdi>kenshin</bdi></a> 我的64gb内存也不够了<br />
买了显卡 现在到内存不够</p>
<p dir="auto">3090x2 + r9700</p>
]]></description><link>https://lcz.me/post/21946</link><guid isPermaLink="true">https://lcz.me/post/21946</guid><dc:creator><![CDATA[applejuice]]></dc:creator><pubDate>Fri, 02 Oct 2026 09:51:12 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Fri, 02 Oct 2026 09:01:48 GMT]]></title><description><![CDATA[<p dir="auto">能用，但还是尴尬，64G内存不够霍霍。继续跑27B了。</p>
]]></description><link>https://lcz.me/post/21943</link><guid isPermaLink="true">https://lcz.me/post/21943</guid><dc:creator><![CDATA[kenshin]]></dc:creator><pubDate>Fri, 02 Oct 2026 09:01:48 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Fri, 02 Oct 2026 05:28:29 GMT]]></title><description><![CDATA[<p dir="auto">R9700失败了，<br />
<img src="https://upload.lcz.me/uploads/b41c7ecd-8d37-4830-b49a-050b2e2d730a.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" /></p>
]]></description><link>https://lcz.me/post/21919</link><guid isPermaLink="true">https://lcz.me/post/21919</guid><dc:creator><![CDATA[xiaopbro]]></dc:creator><pubDate>Fri, 02 Oct 2026 05:28:29 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Thu, 01 Oct 2026 17:27:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiaopbro" aria-label="Profile: xiaopbro">@<bdi>xiaopbro</bdi></a> 其实就是一个27B一个Flash Next，但是发现了一些问题，正在解决优化。也可以双卡跑Flash Next，但是prefill 升， decode 降，我也再找双提升的办法。</p>
]]></description><link>https://lcz.me/post/21877</link><guid isPermaLink="true">https://lcz.me/post/21877</guid><dc:creator><![CDATA[Ben Lee]]></dc:creator><pubDate>Thu, 01 Oct 2026 17:27:34 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Thu, 01 Oct 2026 16:49:05 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ben-lee" aria-label="Profile: Ben-Lee">@<bdi>Ben-Lee</bdi></a> <a href="/post/21861">说</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiaopbro" aria-label="Profile: xiaopbro">@<bdi>xiaopbro</bdi></a> 抱歉啊我没有R9700，所以没法测试。不过我在我的单PC双卡7900XTX上发现了很有意思的玩法，等我搞清楚了我发给新帖子分享思路哈。</p>
</blockquote>
<p dir="auto">等着新玩法</p>
]]></description><link>https://lcz.me/post/21868</link><guid isPermaLink="true">https://lcz.me/post/21868</guid><dc:creator><![CDATA[xiaopbro]]></dc:creator><pubDate>Thu, 01 Oct 2026 16:49:05 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Thu, 01 Oct 2026 16:05:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/applejuice" aria-label="Profile: applejuice">@<bdi>applejuice</bdi></a> 刚发了个更新，现在全线prefill提高到了1250~1450这个区间。</p>
]]></description><link>https://lcz.me/post/21862</link><guid isPermaLink="true">https://lcz.me/post/21862</guid><dc:creator><![CDATA[Ben Lee]]></dc:creator><pubDate>Thu, 01 Oct 2026 16:05:53 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Thu, 01 Oct 2026 16:04:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiaopbro" aria-label="Profile: xiaopbro">@<bdi>xiaopbro</bdi></a> 抱歉啊我没有R9700，所以没法测试。不过我在我的单PC双卡7900XTX上发现了很有意思的玩法，等我搞清楚了我发给新帖子分享思路哈。</p>
]]></description><link>https://lcz.me/post/21861</link><guid isPermaLink="true">https://lcz.me/post/21861</guid><dc:creator><![CDATA[Ben Lee]]></dc:creator><pubDate>Thu, 01 Oct 2026 16:04:48 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Thu, 01 Oct 2026 16:01:13 GMT]]></title><description><![CDATA[<h2>补充更新（10 月 1 日）：Strata 升级 + RDNA3 WMMA，Prefill提升约 18%</h2>
<p dir="auto">上一篇测试使用的是：</p>
<blockquote>
<p dir="auto"><strong>Strata v0.1.27</strong></p>
</blockquote>
<p dir="auto">搜到了一个好东西RDNA3 WMMA 优化。又肝了一晚，把测试环境升级到了：</p>
<blockquote>
<p dir="auto"><strong>Strata v0.1.31 + PR #313</strong></p>
</blockquote>
<p dir="auto">原来的生产 tree 没动，另外开了独立 worktree 编译测试。</p>
<p dir="auto">结果相当直接：</p>
<blockquote>
<p dir="auto"><strong>单卡 RX 7900 XTX，192K Context</strong></p>
<p dir="auto">Prefill：<strong>1081.3 → 1268.5 t/s</strong></p>
<p dir="auto">Decode：<strong>58.2 → 58.7 t/s</strong></p>
</blockquote>
<p dir="auto">也就是说：</p>
<blockquote>
<p dir="auto"><strong>Prefill +17.3%，Decode 基本不变。</strong></p>
</blockquote>
<p dir="auto">而且这不是某一个短 Context 的偶然高点。</p>
<p dir="auto">我按统一口径重新跑了：</p>
<blockquote>
<p dir="auto"><strong>8K / 32K / 64K / 128K / 192K</strong></p>
</blockquote>
<p dir="auto">每档：</p>
<ul>
<li>2 次 warmup</li>
<li>3 次正式测试</li>
<li>使用引擎自报纯 Prefill</li>
<li>Context 按整数档重新构造</li>
<li>其它运行参数保持一致</li>
</ul>
<p dir="auto">结果如下：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="text-align:right">Context</th>
<th style="text-align:right">实际 Prompt</th>
<th style="text-align:right">原版 Prefill</th>
<th style="text-align:right">WMMA Prefill</th>
<th style="text-align:right">提升</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:right">8K</td>
<td style="text-align:right">8,095</td>
<td style="text-align:right">1209.2</td>
<td style="text-align:right"><strong>1413.6</strong></td>
<td style="text-align:right"><strong>+16.9%</strong></td>
</tr>
<tr>
<td style="text-align:right">32K</td>
<td style="text-align:right">32,416</td>
<td style="text-align:right">1211.8</td>
<td style="text-align:right"><strong>1438.9</strong></td>
<td style="text-align:right"><strong>+18.7%</strong></td>
</tr>
<tr>
<td style="text-align:right">64K</td>
<td style="text-align:right">64,836</td>
<td style="text-align:right">1206.8</td>
<td style="text-align:right"><strong>1417.8</strong></td>
<td style="text-align:right"><strong>+17.5%</strong></td>
</tr>
<tr>
<td style="text-align:right">128K</td>
<td style="text-align:right">129,677</td>
<td style="text-align:right">1143.8</td>
<td style="text-align:right"><strong>1351.6</strong></td>
<td style="text-align:right"><strong>+18.2%</strong></td>
</tr>
<tr>
<td style="text-align:right">192K</td>
<td style="text-align:right">194,517</td>
<td style="text-align:right">1081.3</td>
<td style="text-align:right"><strong>1268.5</strong></td>
<td style="text-align:right"><strong>+17.3%</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">五档平均提升大约：</p>
<blockquote>
<p dir="auto"><strong>+17.7%</strong></p>
</blockquote>
<hr />
<h3>这次优化是什么？</h3>
<p dir="auto">这次用的是 Strata 的：</p>
<blockquote>
<p dir="auto"><strong>RDNA3 WMMA PR #313</strong></p>
</blockquote>
<p dir="auto">它的前身是 PR #260，后来重新整理并以新的方式实现。</p>
<p dir="auto">核心目的很直接：</p>
<blockquote>
<p dir="auto"><strong>把 RX 7900 XTX / gfx1100 上的 RDNA3 <code>v_wmma_*</code> 矩阵指令真正用起来。</strong></p>
</blockquote>
<p dir="auto">主要包括两条路径：</p>
<ul>
<li>Dense WMMA GEMM</li>
<li>WMMA Prompt Attention</li>
</ul>
<p dir="auto">也就是说，这次不是单纯改几个参数，也不是换一个更激进的 benchmark 配置。</p>
<p dir="auto">而是：</p>
<blockquote>
<p dir="auto"><strong>让 gfx1100 原本没有充分利用的矩阵计算能力真正参与 Prefill。</strong></p>
</blockquote>
<hr />
<h3>特别感谢这条优化的作者和 Strata 维护者 <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f64f.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--pray" style="height:1.4em;width:auto;vertical-align:middle" title="🙏" alt="🙏" /></h3>
<p dir="auto">相关项目和 PR：</p>
<ul>
<li>
<p dir="auto"><strong>Strata</strong><br />
<a href="https://github.com/Niko1221/Strata" rel="nofollow ugc">https://github.com/Niko1221/Strata</a></p>
</li>
<li>
<p dir="auto"><strong>RDNA3 WMMA 原始 PR #260</strong><br />
<a href="https://github.com/Niko1221/Strata/pull/260" rel="nofollow ugc">https://github.com/Niko1221/Strata/pull/260</a></p>
</li>
<li>
<p dir="auto"><strong>后续重做版 PR #313</strong><br />
<a href="https://github.com/Niko1221/Strata/pull/313" rel="nofollow ugc">https://github.com/Niko1221/Strata/pull/313</a></p>
</li>
</ul>
<p dir="auto">特别感谢提交和维护这条 RDNA3 WMMA 优化路线的贡献者。</p>
<p dir="auto">这种优化我很喜欢：</p>
<blockquote>
<p dir="auto">不是“调几个参数跑分快一点”，而是真正把 gfx1100 上原本没有吃满的硬件能力用起来。</p>
</blockquote>
<hr />
<h3>为什么这次 +18% 我觉得很有价值？</h3>
<p dir="auto">因为我的 baseline 本身已经不是一个没有调过的 Strata。</p>
<p dir="auto">上一篇那套已经包括：</p>
<ul>
<li>gfx1100 HIP 编译</li>
<li>MMQ</li>
<li>Resident CPU Experts</li>
<li>本地 hipBLASLt 100202 tuning table</li>
<li>27 rows 全部校验 PASS</li>
<li>Prefill chunk 8192</li>
<li>5 个 CPU worker</li>
<li>int8 KV</li>
<li>32K KV resident budget</li>
</ul>
<p dir="auto">也就是说：</p>
<blockquote>
<p dir="auto"><strong>这不是拿一个慢 fallback 去和 WMMA 比。</strong></p>
</blockquote>
<p dir="auto">而是在我上一篇已经优化过、已经跑到 1000+ Prefill 的配置上：</p>
<blockquote>
<p dir="auto"><strong>再稳定叠加约 18%。</strong></p>
</blockquote>
<p dir="auto">这个结果比单点高分对我更有意义。</p>
<hr />
<h2>怎么开启？</h2>
<p dir="auto">PR #313 的 WMMA 默认关闭。</p>
<p dir="auto">需要手动开启：</p>
<pre><code class="language-bash">export STRATA_WMMA_GEMM=1
export STRATA_PA_WMMA=1
</code></pre>
<p dir="auto">我最终使用的是：</p>
<pre><code class="language-text">STRATA_WMMA_GEMM=1
STRATA_PA_WMMA=1
</code></pre>
<hr />
<h2>在我这套配置上，两个开关必须一起开</h2>
<p dir="auto">我专门测试过：</p>
<p dir="auto">只开：</p>
<pre><code class="language-text">STRATA_WMMA_GEMM=1
</code></pre>
<p dir="auto">但不开：</p>
<pre><code class="language-text">STRATA_PA_WMMA
</code></pre>
<p dir="auto">32K 反而变慢：</p>
<blockquote>
<p dir="auto">原版：<strong>1211.8 t/s</strong></p>
<p dir="auto">只开 GEMM：<strong>916 t/s</strong></p>
</blockquote>
<p dir="auto">所以至少在我当前这套：</p>
<blockquote>
<p dir="auto">RX 7900 XTX<br />
Orca IQ3_XXS<br />
Strata v0.1.31 + PR #313</p>
</blockquote>
<p dir="auto">上，我最终采用的是：</p>
<blockquote>
<p dir="auto"><strong>WMMA GEMM + WMMA Prompt Attention 两个一起开。</strong></p>
</blockquote>
<p dir="auto">不要根据“GEMM 是主要优化项”就想当然地只开一个。</p>
<hr />
<hr />
<h2>编译</h2>
<p dir="auto">编译参数和上一篇第 2 节基本一致：</p>
<ul>
<li>HIP</li>
<li>gfx1100</li>
<li>MMQ</li>
<li>ROCm 7.2.3</li>
</ul>
<p dir="auto">区别只是：</p>
<blockquote>
<p dir="auto">上一篇：<strong>Strata v0.1.27</strong></p>
<p dir="auto">本次补测：<strong>Strata v0.1.31 + PR #313</strong></p>
</blockquote>
<p dir="auto">我是在独立 worktree 上重新编译测试的。</p>
<p dir="auto">原来的生产 tree完全没动。</p>
]]></description><link>https://lcz.me/post/21858</link><guid isPermaLink="true">https://lcz.me/post/21858</guid><dc:creator><![CDATA[Ben Lee]]></dc:creator><pubDate>Thu, 01 Oct 2026 16:01:13 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Thu, 01 Oct 2026 08:15:17 GMT]]></title><description><![CDATA[<p dir="auto">这是重大利好啊，R9700怎么样？我现在有2张R9700 和128G ddr4内存，那我是拆成2台独立主机还是并成一台比较好？x99洋垃圾平台我有2套，</p>
]]></description><link>https://lcz.me/post/21765</link><guid isPermaLink="true">https://lcz.me/post/21765</guid><dc:creator><![CDATA[xiaopbro]]></dc:creator><pubDate>Thu, 01 Oct 2026 08:15:17 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Thu, 01 Oct 2026 07:35:42 GMT]]></title><description><![CDATA[<p dir="auto">ddr3, ddr4 会不会慢很多？  稍后我也试试</p>
]]></description><link>https://lcz.me/post/21760</link><guid isPermaLink="true">https://lcz.me/post/21760</guid><dc:creator><![CDATA[exllm]]></dc:creator><pubDate>Thu, 01 Oct 2026 07:35:42 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Thu, 01 Oct 2026 07:00:43 GMT]]></title><description><![CDATA[<p dir="auto">我的RX7900 XTX 看到了新希望</p>
]]></description><link>https://lcz.me/post/21753</link><guid isPermaLink="true">https://lcz.me/post/21753</guid><dc:creator><![CDATA[kos or]]></dc:creator><pubDate>Thu, 01 Oct 2026 07:00:43 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Thu, 01 Oct 2026 06:35:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prio" aria-label="Profile: Prio">@<bdi>Prio</bdi></a> 我个人觉得decode 有50+ 就够了</p>
<p dir="auto">希望prefill 能上3000，至少有2000 才舒服</p>
]]></description><link>https://lcz.me/post/21741</link><guid isPermaLink="true">https://lcz.me/post/21741</guid><dc:creator><![CDATA[applejuice]]></dc:creator><pubDate>Thu, 01 Oct 2026 06:35:55 GMT</pubDate></item><item><title><![CDATA[Reply to 7900 XTX 的可能性探索｜单卡篇（四）：魔法打败魔法 - 7900XTX Strata 引擎跑Qwen3.8 Flash-Next 快得让我怀疑人生 on Thu, 01 Oct 2026 06:34:00 GMT]]></title><description><![CDATA[<p dir="auto">好像还是没有3090的decode 输出快</p>
]]></description><link>https://lcz.me/post/21738</link><guid isPermaLink="true">https://lcz.me/post/21738</guid><dc:creator><![CDATA[Prio]]></dc:creator><pubDate>Thu, 01 Oct 2026 06:34:00 GMT</pubDate></item></channel></rss>