<?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单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑]]></title><description><![CDATA[<h2>SGlang部署Qwen3.8 27B，180K ctx，PP2000/TG100(代码不再是90顶格)，大功告成！喜大奔普！</h2>
<blockquote>
<p dir="auto">由来：看到有大佬在开发双9700高并发的方案，再加上版主数次案例sglang的缓存树优势，所以就结合paiton方案的思路决定自己上手，改造一个个人使用的单R9700的框架，我想大多数人没有买两张的钱，也没有可以插两张卡的电脑。</p>
</blockquote>
<p dir="auto">以下是第二个checkpoint，2026-10-02，12.01 AEST</p>
<blockquote>
<p dir="auto">环境：R9700 32G（gfx1201）/ ROCm 7.2.4 / SGLang v0.5.20 + 72 个编号补丁<br />
模型：Qwen3.8-27B 混合 GDN（AWQ 原始权重）</p>
</blockquote>
<h1>R9700 单卡跑 SGLang：Qwen3.8-27B 从 AWQ 改造成 MXFP4 原生内核折腾实录</h1>
<p dir="auto">由来：看到有大佬在开发双9700高并发的方案，再加上版主数次案例sglang的缓存树优势，所以就结合paiton方案的思路决定自己上手，改造一个个人使用的单R9700的框架，我想大多数人没有买两张的钱，也没有可以插两张卡的电脑。</p>
<p dir="auto">环境：R9700 32G（gfx1201）/ ROCm 7.2.4 / SGLang v0.5.20 + 72 个编号补丁<br />
模型：Qwen3.8-27B 混合 GDN（AWQ 原始权重）</p>
<h2>一、库与结论</h2>
<p dir="auto">mattbucci 的 2×R9700 RDNA4 SGLang 仓库（SGLang v0.5.20 + 72 个 RDNA4 补丁），改成<strong>单卡</strong>；<br />
Qwen3.8-27B（AWQ INT4 checkpoint）+ DFlash2 投机；<br />
R9700 32G，单槽。</p>
<p dir="auto">结论：<strong>PP 1913 t/s、TG 91.3 t/s、上下文 229,376（KV 池 232,926 tokens）、视觉保留</strong>。<br />
相对最初能用的状态（PP 1379、上下文 90K），PP <strong>+39%</strong>、上下文 <strong>+154%</strong>；相对 MXFP4 上线前的自己，TG <strong>+21%</strong>。</p>
<p dir="auto">一句话：<strong>这条路买的是"用上 RDNA4 的 FP4 硬件"和"少读权重"，不是省显存</strong>——MXFP4 权重其实略大于 AWQ（4.25 vs 4.125 bit/param）。</p>
<hr />
<h2>二、最终启动参数</h2>
<pre><code class="language-bash">cd /home/fcc &amp;&amp; \
MODEL=/data/models/qwen38-awq QUANT=awq MEMF=0.94 CTX=229376 MAMBA=3 CHUNK=2048 MAX_RUN=1 \
LM_ARGS='--mamba-full-memory-ratio 0.12 --served-model-name Qwen3.8-27B-AWQ-R9700 --tool-call-parser qwen3_coder' \
CG_ARGS=--cuda-graph-max-bs-decode=4 \
SPEC_ARGS='--speculative-algorithm DFLASH --speculative-draft-model-path /data/models/qwen38-dflash2' \
RADIANCE_MXFP4_WPERM=1 SGLANG_EMBED_FP8=1 \
setsid nohup ./launch-qwen38-single.sh &gt; /tmp/sgl.log 2&gt;&amp;1 &lt; /dev/null &amp;
</code></pre>
<p dir="auto">四个不能动的硬约束：</p>
<ul>
<li><code>CHUNK=2048</code>：带 DFlash2 时 prefill 的 GDN/FLA 工作区随 chunk 缩放，<strong>8192 会在 <code>fla/chunk_o.py</code> 的 <code>chunk_fwd_o</code> 处 OOM 直接崩服务</strong>（实测两次）。</li>
<li><code>MEMF ≤ 0.94</code>：<strong>0.95 已实测在 15K prefill 上 OOM</strong>。</li>
<li><code>MAX_RUN=1</code>：单槽。2 路 256K 在 32G 上物理不可达，第七节有账。</li>
<li><code>RADIANCE_MXFP4_WPERM=1</code>：必须与"权重是否已转 fragment 序"一致，不一致 libr4d 把权重读成垃圾。</li>
</ul>
<hr />
<h2>三、折腾经过</h2>
<h3>1）单卡跑通，但 decode 只有 5 tok/s</h3>
<p dir="auto">剥离 TP 补丁、应用 72 个 RDNA4 补丁、跑通 AWQ INT4。PP 1304、<strong>TG 5.07 tok/s</strong>——Q4 模型不该这么慢。<br />
翻 profiler：<code>awq_dequantize</code> + 稠密 rocBLAS GEMM 占了 decode 的 94%。<br />
<strong>自写就地 fragment repack（零额外显存）+ 快拆包（逐位一致，2.6×）+ 快激活量化（9.4×）</strong> ⇒ <strong>5.07 → 24.86</strong>。</p>
<h3>2）盯上 RDNA4 的 FP4 硬件</h3>
<p dir="auto">RDNA4 的 FP4 WMMA 实际就是 <strong>MXFP4</strong>，而现成手写内核只有 MXFP4 的：<br />
从 Paiton 镜像里提取 <code>radiance_mxfp4_fp8</code>（fp8-WMMA "folded" 大 M 内核），另加 libr4d 的 <code>r4d_gemm_mxfp4a8_nt_m64</code>（小 M decode 内核）。<br />
调用约定用 2×2×2 扫参对着作者自己的 <code>_exact_ref</code> 定死：<strong>权重绝对不能 <code>permute_w</code></strong>（转了偏 156%）。<br />
层级精度 0.14%，端到端比自写 Triton W4A8 快 1.45–1.85×。</p>
<h3>3）13 轮的"输出垃圾"，根因是一行置换</h3>
<p dir="auto">MXFP4 能上场了（KV 池从 156,175 涨到 163,587 为证），<strong>但输出是垃圾</strong>，而且每次完全一样。<br />
排查了 13 轮，逐项排除：重量化公式、内核调用、uint8 拆包、合并层整块 vs 分段、<code>apply</code> 签名、reshape、draft 路径、运行时权重输入（与 checkpoint 逐位相同）……全都无罪。</p>
<p dir="auto"><strong>最后是靠一个从没做过的对拍抓到的</strong>：把我们的反量化结果和 <strong>SGLang 自己的 <code>awq_dequantize_triton</code></strong> 逐元素比——</p>
<pre><code>反量化约定: awq_dequantize_triton vs 我们的公式 -&gt; 相对差 108.83%
</code></pre>
<p dir="auto">不是精度问题，是<strong>完全错位</strong>。逆解出真实映射：<strong>AWQ 把 8 个输出列打进一个 int32 用的顺序是 <code>[0,2,4,6,1,3,5,7]</code></strong>，而我们是顺序读的 ⇒ 整个权重矩阵被按 8 列一组打乱。<br />
修一个置换向量：<strong>108.83% → 0.0103%</strong>（只剩 fp16 舍入）。金丝雀立刻回来。</p>
<p dir="auto"><strong>教训：转换/建缓存这一步，必须跟框架自己的实现对拍，不能跟自己写的参考实现对拍。</strong><br />
之前所有"0.14% 对拍"都是把<strong>同一份错权重</strong>同时喂给内核和参考实现——两边必然一致，天然看不见转换错误。这是<strong>循环验证</strong>。</p>
<h3>4）路径 A：同一时刻只允许一套权重</h3>
<p dir="auto">框架本身只加载一种格式（磁盘上的 AWQ）。"两份权重"是早先的补丁自己造的：算完 MXFP4 却不释放 AWQ，<br />
于是 24.8G 同时驻留 ⇒ 这才是 OOM 和"一释放就出错"死循环的来源。</p>
<p dir="auto">改成：<strong>加载期从本层自己的 AWQ 张量算出 MXFP4 → 立刻把 <code>qweight/qzeros/scales</code> 置 None → forward 只有一条路</strong>（不回退，因为回退要的东西已经没了）；<br />
并且<strong>不再调用原生 AWQ 的 <code>process_weights_after_loading</code></strong>（它会额外产出 libr4d 的 fragment 重排和主机副本，那才是货真价实的第二份）。</p>
<p dir="auto">显存占用是"AWQ 未转换的余量 + MXFP4 已转换的量"的单调过渡，<strong>峰值 ≈ max(12.2G, 12.6G) + 单层 fp32 临时</strong>，不是 12.2+12.6。</p>
<h3>5）decode 慢 4.7 倍，因为用错了内核波段</h3>
<p dir="auto">作者自己的封装写得很清楚：<strong>fp8-WMMA 内核只在 M≥256（prefill）才占优</strong>，decode 档要用 libr4d。<br />
我们一直拿 prefill 内核跑 decode。按 M≤64 / M&gt;64 分档后（共用 fragment 序权重，纯字节置换、不动数值）：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>M</th>
<th>libr4d m64</th>
<th>folded</th>
<th>倍数</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>0.069 ms</td>
<td>0.283 ms</td>
<td>4.12</td>
</tr>
<tr>
<td>8</td>
<td><strong>0.060 ms</strong></td>
<td>0.285 ms</td>
<td><strong>4.72</strong></td>
</tr>
<tr>
<td>64</td>
<td>0.125 ms</td>
<td>0.273 ms</td>
<td>2.18</td>
</tr>
<tr>
<td>2048</td>
<td>—</td>
<td>2.039 ms</td>
<td>—</td>
</tr>
</tbody>
</table>
<p dir="auto">顺带把激活量化从 torch 版换成单遍 Triton：<strong>PP 1595→1905、TG 68.9→75.5</strong>，这一项就有这么大。</p>
<h3>6）上下文从 155K 顶到 229K：两处"减少权重占用"</h3>
<p dir="auto">MEMF 钉死 0.94 不动，纯靠省权重换 KV：</p>
<ul>
<li><strong>embedding 存 fp8</strong>（−1.27 GB）：<code>per-row scale = max|x|/448</code> 必须先缩放再转——embedding 权重在 0.02 量级，直接 cast 会大量掉进 e4m3 的次正规区。缩放后重建误差 2.25%。</li>
<li><strong>lm_head 存 MXFP4</strong>（−1.87 GB，2.543 → 0.675 GB）：查代码发现 <code>AWQConfig.get_quant_method</code> 对非 <code>LinearBase</code> 一律返回 <code>None</code>，<strong>lm_head 一直以 fp16 全量加载</strong>；而它是 <strong>memory-bound 的 M=1 GEMM</strong> ⇒ <strong>每个 decode 步都要读 2.54 GB 权重</strong>。转成 MXFP4 后走已验证的双波段内核（M=1 命中 libr4d），<strong>TG 顺带从 75.5 涨到 91.3</strong>。</li>
</ul>
<p dir="auto">两处都写成<strong>新分片 + 只改 index 指向</strong>，旧分片一个字没动 ⇒ 回滚就是换个 index 备份。</p>
<hr />
<h2>四、性能对照</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>指标</th>
<th>改造前基准</th>
<th>现在</th>
<th>变化</th>
</tr>
</thead>
<tbody>
<tr>
<td>PP</td>
<td><strong>1379 t/s</strong>（1304–1453 均值）</td>
<td><strong>1913 t/s</strong></td>
<td><strong>+38.7%</strong></td>
</tr>
<tr>
<td>TG code-256</td>
<td>75.5 t/s（同脚本实测）</td>
<td><strong>91.3 t/s</strong></td>
<td><strong>+21%</strong></td>
</tr>
<tr>
<td>上下文</td>
<td>155,648（早期 90,112）</td>
<td><strong>229,376</strong></td>
<td><strong>+47%</strong></td>
</tr>
<tr>
<td>KV 池</td>
<td>156,175 tokens</td>
<td><strong>232,926 tokens</strong></td>
<td><strong>+49%</strong></td>
</tr>
<tr>
<td>主模型显存</td>
<td>18.76 GB</td>
<td><strong>17.06 GB</strong></td>
<td>−1.70 GB</td>
</tr>
<tr>
<td>启动加载</td>
<td>65 s</td>
<td>27.5 s</td>
<td>更快</td>
</tr>
</tbody>
</table>
<p dir="auto">profiler 硬证据（改造后）：</p>
<pre><code>prefill:  radiance_mxfp4_fp8_gemm_folded      768 次  188.8 ms  26.7%
          _w4a8_gemm_kernel（旧 Triton）        0 次    0.0 ms   ← 消失
          _unpack_fragment_kernel_v2            0 次    0.0 ms   ← 消失
decode:   r4d_gemm_mxfp4a8_nt_m64_kernel    3840 次  413.8 ms  59.4%
          _quant_act_fp8_kernel               3840 次   27.6 ms   4.0%
</code></pre>
<hr />
<h2>五、质量复核</h2>
<p dir="auto">重量化有约 10% 的固有误差（AWQ 每 128 一组 fp16 scale → MXFP4 每 32 一块 E8M0），所以质量必须量，不能只看 tok/s。</p>
<p dir="auto"><strong>教师强制 NLL</strong>（4307 token：英文解题文 + 中文技术文 + 代码）</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th></th>
<th>nats/token</th>
<th>困惑度</th>
</tr>
</thead>
<tbody>
<tr>
<td>AWQ（改造前）</td>
<td>1.3856</td>
<td>4.00</td>
</tr>
<tr>
<td>MXFP4（现在）</td>
<td>1.4042</td>
<td>4.07</td>
</tr>
<tr>
<td>差</td>
<td><strong>+1.34%</strong></td>
<td>+1.8%</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>GSM8K-300</strong>（同 300 题、同 seed、思考关、贪心）</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th></th>
<th>正确</th>
<th>准确率</th>
</tr>
</thead>
<tbody>
<tr>
<td>AWQ（改造前）</td>
<td>292/300</td>
<td>97.33%</td>
</tr>
<tr>
<td><strong>MXFP4（现在）</strong></td>
<td>290/300</td>
<td><strong>96.67%</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">逐题分歧：两套都做对 288，<strong>只有 MXFP4 对 2 题，只有 AWQ 对 4 题</strong>，两套都错 6 题。<br />
差值 −0.67pp、差值标准误 1.39pp ⇒ <strong>0.48σ，纯噪声</strong>。</p>
<p dir="auto"><strong>为什么 10% 的权重误差只换来 1.3% 的分布损失？</strong><br />
① 它是<strong>零均值取整噪声</strong>，不是系统性破坏——对照那个列交织读错的例子：<strong>108% 的系统性错位直接让模型全废，10% 的无偏噪声只掉 1.3%</strong>。决定生死的是误差有没有偏向、有没有和决策方向对齐，不是它多大。<br />
② 误差在 K 维上独立，不沿 64 层相干叠加。<br />
③ 残差流和 RMSNorm 有阻尼。<br />
④ 最终是 argmax，只在 top-1/top-2 间距被吃掉时才改答案——GSM8K 的 2% 翻转率就是这个的可见面。<br />
⑤ 10% 本身有明确来源：E2M1 只有 3 位尾数（约 6% 相对精度），而块缩放是 <strong>E8M0（2 的整数次幂、只能向上取整）</strong>，最坏比理想缩放粗一倍 ⇒ 6% → ~10%。</p>
<p dir="auto">诚实的边界：<strong>"质量没区别"准确说法是"差异 &lt; 2.8pp"</strong>（GSM8K-300 的 2σ 分辨率），不是零差异。灵敏指标 NLL 明确告诉我们 +1.3% 是真的。</p>
<hr />
<h2>六、稳定性</h2>
<pre><code> 4K 1821t/s   8K 1827   16K 1647   32K 1313   64K 901   128K 535
160K  432t/s  192K 366   220K(226,014 token) 323t/s
</code></pre>
<p dir="auto">全部正常出 token，服务全程未崩。220K 那一档基本贴着 229,376 的上限跑。</p>
<hr />
<h2>七、账算清楚：2 路 256K 在单卡 32G 上做不到</h2>
<pre><code>主模型（MXFP4 线性 12.6 + embed fp8 1.27 + lm_head MXFP4 0.68 + 视觉 0.9 + 其他） = 17.06 GB
DFlash2 draft (fp8)                                                              =  0.48 GB
目标 KV 池 232,926 tok（32 KB/token）                                            =  7.10 GB
draft KV 池 同 token 数（约 10 KB/token）                                        =  2.22 GB
CUDA graphs                                                                      =  0.33 GB
</code></pre>
<p dir="auto">每 token KV 成本 ≈ <strong>42 KB</strong>（目标 32 + 草稿 10）。于是：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>场景</th>
<th>KV 需要</th>
<th>能不能</th>
</tr>
</thead>
<tbody>
<tr>
<td>1×256K 带 DFlash2</td>
<td>11.0 GB</td>
<td>差值紧张</td>
</tr>
<tr>
<td><strong>2×256K 带 DFlash2</strong></td>
<td><strong>22.0 GB</strong></td>
<td>✗ 差约 13 GB</td>
</tr>
<tr>
<td>2×256K 无投机</td>
<td>16.8 GB</td>
<td>✗ 差约 6 GB</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>活跃请求的 KV 必须在显存上</strong>，所以 HiCache（主机内存 L2 层）解决不了这件事——它买的是"长前缀零重算"，不是并发容量。<br />
想上 2×256K 只有换 48G+ 卡，或者上 fp4 KV——而 fp4 KV 全树只有 CUDA 的 TRT-LLM MLA 路径实现，ROCm/Triton 没有读取路径，等于要新写注意力内核。</p>
<p dir="auto"><strong>所以：MEMF≤0.94 下，约 227K 就是单卡 32G 的实际上限。</strong></p>
<hr />
<h2>八、遗留</h2>
<ol>
<li><strong>磁盘上约 5 GB 死权重</strong>：改成新分片后，旧分片 <code>model-00000/00001</code> 里那两份旧张量还在，只是 index 不再引用。回收要重写这两个分片（不是删文件）。</li>
<li><strong>PP 2500+ 没到</strong>（现在 1913）：瓶颈是注意力 ~25 TFLOP/s（占 prefill 24.5%），GEMM 已到 172 TFLOP/s 的微基准上限。libr4d 注意力移植（要求 KV 交错，SGLang 是分离 k/v 缓冲）和自写 Triton 注意力<strong>都已被实测否决</strong>。</li>
<li><strong>质量只覆盖了数学推理 + NLL</strong>：长文生成、多轮工具调用、视觉识别未做基准（视觉只验了"能认图"，红图→"Red"、左圆右方→"圆形 正方形"）。</li>
</ol>
<hr />
<p dir="auto"><strong>面向读者的一句提醒</strong>：如果你也在单卡上折腾 MXFP4，先记住两条——<br />
<strong>转换代码一定要跟框架自己的反量化实现对拍</strong>（自己对自己的参考实现是循环验证，看不出错位）；<br />
<strong>lm_head 不是免费的</strong>，它在每个 decode 步都要被完整读一遍，把它量化掉往往比调注意力更划算。</p>
<p dir="auto"><strong>以下是第一个Checkpoint</strong></p>
<h2>一、结论先行</h2>
<p dir="auto"><strong>decode 从 5.07 → 70.9 tok/s（代码）/ 53.1 tok/s（散文），提升 10～14 倍；识图保留；2 路并发可用。</strong></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>指标</th>
<th>起点</th>
<th>终点（速度档）</th>
<th>长文档档</th>
</tr>
</thead>
<tbody>
<tr>
<td>decode（+DFlash2）</td>
<td>5.07 tok/s</td>
<td><strong>70.9 / 53.1</strong></td>
<td>22–25（无投机）</td>
</tr>
<tr>
<td>prefill</td>
<td>1523 tok/s</td>
<td>1304–1453</td>
<td>1500–1549</td>
</tr>
<tr>
<td>上下文</td>
<td>65K</td>
<td>90,112</td>
<td><strong>262,144</strong></td>
</tr>
<tr>
<td>并发</td>
<td>1</td>
<td><strong>2</strong>（已验证）</td>
<td>2</td>
</tr>
<tr>
<td>识图</td>
<td>✓</td>
<td>✓（红图→"Red"）</td>
<td>✓</td>
</tr>
<tr>
<td>KV 池</td>
<td>—</td>
<td>101,791 tokens</td>
<td>285,967 tokens</td>
</tr>
</tbody>
</table>
<p dir="auto">关键一句：<strong>"速度"和"长上下文"在单卡 32G 上是硬性二选一</strong>，不是调参能两全的。</p>
<h2>二、最终启动参数</h2>
<pre><code class="language-bash">cd /home/fcc &amp;&amp; \
MODEL=/data/models/qwen38-awq QUANT=awq MEMF=0.93 CTX=90112 MAMBA=8 \
CHUNK=2048 MAX_RUN=2 \
LM_ARGS="--mamba-full-memory-ratio 0.12 \
  --served-model-name Qwen3.8-27B-AWQ-R9700 \
  --tool-call-parser qwen3_coder" \
CG_ARGS=--cuda-graph-max-bs-decode=8 \
SPEC_ARGS="--speculative-algorithm DFLASH \
  --speculative-draft-model-path /data/models/qwen38-dflash2" \
RADIX_ARGS="--enable-hierarchical-cache --hicache-size 10 \
  --hicache-write-policy write_through" \
setsid nohup ./launch-qwen38-single.sh &gt; /tmp/sglang.log 2&gt;&amp;1 &amp;
</code></pre>
<p dir="auto">三个<strong>不能动</strong>的参数（都是踩出来的）：</p>
<ul>
<li><code>CHUNK=2048</code>：带 DFlash2 时 prefill 的 GDN/FLA 工作区随 chunk 缩放，用 8192 会在 <code>fla/chunk_o.py:chunk_fwd_o</code> 处 OOM 直接崩服务（实测崩两次）</li>
<li><code>MEMF ≤ 0.93</code>：0.95 会把显存占干，同样 OOM</li>
<li><code>--cuda-graph-max-bs-decode=8</code>：投机 verify 必须走图；8 档比 16 档省约 1GB，只慢 3%</li>
</ul>
<h2>三、做成路线（与 Paiton 的异同）</h2>
<p dir="auto">Paiton 走 vLLM + 自研原生内核（<code>radiance_mxfp4_fp8_gemm</code>）。SGLang 在这张卡上没有 FP4 原生 GEMM，所以把等价物自建了一遍：</p>
<ol>
<li><strong>NVFP4 → AWQ INT4</strong> 流式转换（自写，逐行余弦 0.993）</li>
<li><strong>原生 HIP AWQ GEMV</strong>（用仓库自带 <code>build_awq_gemv.sh</code> 编译）→ decode 5 → 24.9</li>
<li><strong>移植 libr4d</strong>（开源 RDNA4 内核库；为 gfx1201/ROCm 7.2.4 编译成功，仅需 1 处地址空间适配），逆向 WMMA fragment 布局（含 <strong>4-bit 二进制补码</strong>这一细节），实现<strong>零额外显存的原地重排</strong> → 投机 verify 从 290ms/步降到 15ms</li>
<li><strong>自研 W4A8 大 M GEMM</strong>（int8 WMMA，167 TFLOP/s）替换 prefill 的反量化路径 → PP 回到 1453</li>
<li><strong>HiCache L2</strong> 打通（修了 ROCm 上 <code>sgl_kernel.kvcacheio</code> 包装过期的问题）：主机侧目标 131,632 + draft 131,633 tokens，<strong>前缀复用 186s → 19.5s（9.5×）</strong></li>
<li><strong>真 2 路并发</strong>：<code>--mamba-full-memory-ratio 0.12</code> + <code>--max-mamba-cache-size 8</code>（此前被 mamba 槽位卡成 1 路），日志 <code>#running-req: 2</code> 为证</li>
</ol>
<h2>四、折腾经过</h2>
<p dir="auto">整场折腾的本质只有一句话：<strong>SGLang 在 ROCm 上没有原生 4-bit 内核</strong>，所以先花时间在软件反量化上撞墙（三种内核都停在 ~2 Tops/s），再花时间把 libr4d 的合成回来——中间还踩了 AWQ scale 溢出成 <code>inf</code>、权重 nibble 是补码而非偏移码、缓存键与融合模块名对不上，以及"加载期重排必然 OOM、必须原地重排"这几个坑。</p>
<h2>五、没做到的（诚实）</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>目标</th>
<th>Paiton</th>
<th>本方案</th>
<th>达成度</th>
</tr>
</thead>
<tbody>
<tr>
<td>PP</td>
<td>3455–3871 tok/s</td>
<td>1304–1549</td>
<td><strong>约 40%</strong></td>
</tr>
<tr>
<td>TG</td>
<td>100–156 tok/s</td>
<td>53–71</td>
<td><strong>约 50–70%</strong></td>
</tr>
<tr>
<td>识图</td>
<td>✓</td>
<td>✓</td>
<td>100%</td>
</tr>
<tr>
<td>单槽 256K</td>
<td>声明 204,800</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>达成</td>
</tr>
<tr>
<td>单槽 256K + DFlash2</td>
<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="❌" /> 上限约 160K</td>
<td>0%</td>
</tr>
<tr>
<td><strong>2 路 × 各自 256K</strong></td>
<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="❌" /></td>
<td><strong>算术不可能</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">最后一行给个算式：KV 单价实测 <strong>30.5 KB/token</strong>（8.72GB ÷ 285,967），两张 256K = 16.0GB；加上权重 12.2GB + bf16 embed/lm_head 5GB + 视觉 0.9GB + draft 2.15GB + mamba 1.3GB + 图档 1–4GB = <strong>39–45GB</strong>，而可用只有 <strong>31.86GB</strong>。除非 KV 能减半（此版本 <code>--kv-cache-dtype</code> 只有 auto/fp8，<strong>无 fp4</strong>），否则单卡无解。</p>
<p dir="auto">PP 差的 60% 我知道在哪：只换了 GEMM，<strong>没移植</strong> libr4d 的 prefill 注意力与 GDN 内核（<code>attn_prefill_h256_gqa6_fp8kv</code>、<code>gdn_conv_prep/kkt_solve/chunk_scan</code>）。接口已侦察、<code>r4d.so</code> 已编译好，但集成要对接 SGLang 的 GDN 状态布局，属于另一场硬仗。</p>
<h2>六、给读者的一句话</h2>
<p dir="auto"><strong>在 ROCm 上跑 SGLang 跑 4-bit 模型，决定性能的不是你的卡，而是"有没有原生 4-bit 内核"</strong>——先确认这一条，再谈调参。</p>
<p dir="auto">另外两条省时间的经验：</p>
<ul>
<li>别用日志的聚合吞吐当性能结论（那里面有 10 秒均值和排队效应），要用受控脚本 + 固定 prompt 自测；</li>
<li>显存别顶到 0.95 看着漂亮——<code>mem_fraction</code> 得给 <strong>prefill 工作区</strong>留余量，否则一问就崩。</li>
</ul>
<hr />
]]></description><link>https://lcz.me/topic/2023</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 13:28:58 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/2023.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Oct 2026 03:07:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Thu, 08 Oct 2026 10:04:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%BC%A0%E5%85%89%E7%92%9E" aria-label="Profile: 张光璞">@<bdi>张光璞</bdi></a><br />
是啊，迈克基本上都是解决能不能跑的问题，跑起来能不能用就另说了。</p>
]]></description><link>https://lcz.me/post/23274</link><guid isPermaLink="true">https://lcz.me/post/23274</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Thu, 08 Oct 2026 10:04:25 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Thu, 08 Oct 2026 09:55:31 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fcme" aria-label="Profile: fcme">@<bdi>fcme</bdi></a> <a href="/post/23212">说</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%BC%A0%E5%85%89%E7%92%9E" aria-label="Profile: 张光璞">@<bdi>张光璞</bdi></a><br />
哦，那使用体验也相当不错了，只不过相比价格，性价比不高。如果看中体积的话，那就没办法了，只有迈克。<br />
我的5070ti现在跑起来应该是在一千四五的pp速度，然后生成是在55~60的样子。</p>
</blockquote>
<p dir="auto">MAC 的并发估计也好不到哪去，适合一个人慢慢干长活。</p>
<p dir="auto">小团队还是多显卡，或DGX  集群</p>
]]></description><link>https://lcz.me/post/23271</link><guid isPermaLink="true">https://lcz.me/post/23271</guid><dc:creator><![CDATA[张光璞]]></dc:creator><pubDate>Thu, 08 Oct 2026 09:55:31 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Thu, 08 Oct 2026 07:09:59 GMT]]></title><description><![CDATA[<p dir="auto">装备秀需要你去装逼。</p>
]]></description><link>https://lcz.me/post/23219</link><guid isPermaLink="true">https://lcz.me/post/23219</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Thu, 08 Oct 2026 07:09:59 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Thu, 08 Oct 2026 06:42:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%BC%A0%E5%85%89%E7%92%9E" aria-label="Profile: 张光璞">@<bdi>张光璞</bdi></a><br />
哦，那使用体验也相当不错了，只不过相比价格，性价比不高。如果看中体积的话，那就没办法了，只有迈克。<br />
我的5070ti现在跑起来应该是在一千四五的pp速度，然后生成是在55~60的样子。</p>
]]></description><link>https://lcz.me/post/23212</link><guid isPermaLink="true">https://lcz.me/post/23212</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Thu, 08 Oct 2026 06:42:39 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Thu, 08 Oct 2026 02:53:05 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fcme" aria-label="Profile: fcme">@<bdi>fcme</bdi></a> <a href="/post/23170">说</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%BC%A0%E5%85%89%E7%92%9E" aria-label="Profile: 张光璞">@<bdi>张光璞</bdi></a><br />
是啊，这是趋势，AI利好小众硬件。<br />
现在Mac能到啥速度了？求赐教</p>
</blockquote>
<p dir="auto">B站有个哥们跑Qwen flash  能到80T/s</p>
<p dir="auto"><a href="https://www.bilibili.com/video/BV1ZjHi6XEc4/?spm_id_from=333.1387.homepage.video_card.click&amp;vd_source=c7fdfb9d4943df340439e35e09bbaa4e" rel="nofollow ugc">https://www.bilibili.com/video/BV1ZjHi6XEc4/?spm_id_from=333.1387.homepage.video_card.click&amp;vd_source=c7fdfb9d4943df340439e35e09bbaa4e</a></p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/a774394b-67ef-4a1e-931c-12d067272d7a.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" /></p>
]]></description><link>https://lcz.me/post/23173</link><guid isPermaLink="true">https://lcz.me/post/23173</guid><dc:creator><![CDATA[张光璞]]></dc:creator><pubDate>Thu, 08 Oct 2026 02:53:05 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Thu, 08 Oct 2026 02:25:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E5%BC%A0%E5%85%89%E7%92%9E" aria-label="Profile: 张光璞">@<bdi>张光璞</bdi></a><br />
是啊，这是趋势，AI利好小众硬件。<br />
现在Mac能到啥速度了？求赐教</p>
]]></description><link>https://lcz.me/post/23170</link><guid isPermaLink="true">https://lcz.me/post/23170</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Thu, 08 Oct 2026 02:25:23 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Thu, 08 Oct 2026 01:46:10 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fcme" aria-label="Profile: fcme">@<bdi>fcme</bdi></a> <a href="/post/22780">说</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dardeaw-feng" aria-label="Profile: dardeaw-feng">@<bdi>dardeaw-feng</bdi></a><br />
所以AI时代即使小众的硬件也能优化出不错的速度，小众生态的表现也会越来越好的。再等个原生的mxfp4内核替换现在的PP速度就能到4000级别了，到那时SGlang在9700上就可以完爆paiton/vLLM方案了，现在还是互有胜负。</p>
</blockquote>
<p dir="auto">MAC M5 Ultra 256g 现在也被优化的速度不错了。 有ai帮助都可以慢慢的优化到极致</p>
]]></description><link>https://lcz.me/post/23156</link><guid isPermaLink="true">https://lcz.me/post/23156</guid><dc:creator><![CDATA[张光璞]]></dc:creator><pubDate>Thu, 08 Oct 2026 01:46:10 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Wed, 07 Oct 2026 21:02:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chan-sam" aria-label="Profile: Chan-Sam">@<bdi>Chan-Sam</bdi></a><br />
这得看你的实际应用场景吧</p>
]]></description><link>https://lcz.me/post/23140</link><guid isPermaLink="true">https://lcz.me/post/23140</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Wed, 07 Oct 2026 21:02:59 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Wed, 07 Oct 2026 14:54:55 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fcme" aria-label="Profile: fcme">@<bdi>fcme</bdi></a> <a href="/post/23103">说</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chan-sam" aria-label="Profile: Chan-Sam">@<bdi>Chan-Sam</bdi></a><br />
不会，因为r9700的绝对算力和带宽没有5070ti高。我在两张卡上都跑了r9700要稍微慢一点，不管是pp还是tp速度。你如果只跑这一个模型的话，无疑5070ti是更好一点，R9700的话，以后出了什么新的模型适配力强很多，不是一个级别的，显存还是王道。</p>
</blockquote>
<p dir="auto">那我是要卖了R9700换5070ti好还是等你R9700最终版 好?<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/23110</link><guid isPermaLink="true">https://lcz.me/post/23110</guid><dc:creator><![CDATA[Chan Sam]]></dc:creator><pubDate>Wed, 07 Oct 2026 14:54:55 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Wed, 07 Oct 2026 14:12:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chan-sam" aria-label="Profile: Chan-Sam">@<bdi>Chan-Sam</bdi></a><br />
不会，因为r9700的绝对算力和带宽没有5070ti高。我在两张卡上都跑了r9700要稍微慢一点，不管是pp还是tp速度。你如果只跑这一个模型的话，无疑5070ti是更好一点，R9700的话，以后出了什么新的模型适配力强很多，不是一个级别的，显存还是王道。</p>
]]></description><link>https://lcz.me/post/23103</link><guid isPermaLink="true">https://lcz.me/post/23103</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Wed, 07 Oct 2026 14:12:51 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Wed, 07 Oct 2026 14:09:52 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fcme" aria-label="Profile: fcme">@<bdi>fcme</bdi></a> <a href="/post/23100">说</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chan-sam" aria-label="Profile: Chan-Sam">@<bdi>Chan-Sam</bdi></a><br />
可以顶满格，但是速度就会掉下来，一般试用的话，感觉150k，200k就够了。多加载点专家到显存速度会更快的。</p>
</blockquote>
<p dir="auto">那我用R9700 32G 不就更好?这个我有现成,5070ti考虑中想买<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--blush" style="height:1.4em;width:auto;vertical-align:middle" title=":blush:" alt="😊" /> 所以请教一下你</p>
]]></description><link>https://lcz.me/post/23102</link><guid isPermaLink="true">https://lcz.me/post/23102</guid><dc:creator><![CDATA[Chan Sam]]></dc:creator><pubDate>Wed, 07 Oct 2026 14:09:52 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Wed, 07 Oct 2026 14:06:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chan-sam" aria-label="Profile: Chan-Sam">@<bdi>Chan-Sam</bdi></a><br />
可以顶满格，但是速度就会掉下来，一般试用的话，感觉150k，200k就够了。多加载点专家到显存速度会更快的。</p>
]]></description><link>https://lcz.me/post/23100</link><guid isPermaLink="true">https://lcz.me/post/23100</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Wed, 07 Oct 2026 14:06:16 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Wed, 07 Oct 2026 14:05:29 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fcme" aria-label="Profile: fcme">@<bdi>fcme</bdi></a> <a href="/post/23096">说</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chan-sam" aria-label="Profile: Chan-Sam">@<bdi>Chan-Sam</bdi></a><br />
对，我的服务器是pcie3.0的，两张卡都是走的3.0的通道。实际上对5070ti跑next flash有一丢丢影响，但是影响不是太大，几乎全程稳定在50上下，掉到47的时候已经做了可能七八十轮任务以后了，速度非常稳。</p>
</blockquote>
<p dir="auto">5070ti + DDR3 128GB内存跑next flash IQ3_XXS吗?上下文可以多少?感谢!!!</p>
]]></description><link>https://lcz.me/post/23098</link><guid isPermaLink="true">https://lcz.me/post/23098</guid><dc:creator><![CDATA[Chan Sam]]></dc:creator><pubDate>Wed, 07 Oct 2026 14:05:29 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Wed, 07 Oct 2026 14:00:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chan-sam" aria-label="Profile: Chan-Sam">@<bdi>Chan-Sam</bdi></a><br />
对，我的服务器是pcie3.0的，两张卡都是走的3.0的通道。实际上对5070ti跑next flash有一丢丢影响，但是影响不是太大，几乎全程稳定在50上下，掉到47的时候已经做了可能七八十轮任务以后了，速度非常稳。</p>
]]></description><link>https://lcz.me/post/23096</link><guid isPermaLink="true">https://lcz.me/post/23096</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Wed, 07 Oct 2026 14:00:23 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Wed, 07 Oct 2026 14:00:05 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 分 · 编号 h2023-1686-1（系统自动发放，显示稍有延迟）</p>
</blockquote>
]]></description><link>https://lcz.me/post/23095</link><guid isPermaLink="true">https://lcz.me/post/23095</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Wed, 07 Oct 2026 14:00:05 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Wed, 07 Oct 2026 13:58:28 GMT]]></title><description><![CDATA[<p dir="auto">实际用下来这个next flash，即使是IQ3xxs量化做长程任务，在dsh里面也是非常稳的，牛逼！</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/662010ba-f9cd-48e6-bab0-7d151605bbb2.jpg" alt="Screenshot_20261007_235815_com_android_chrome_ChromeTabbedActivity.jpg" class="img-markdown  img-fluid" /></p>
]]></description><link>https://lcz.me/post/23094</link><guid isPermaLink="true">https://lcz.me/post/23094</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Wed, 07 Oct 2026 13:58:28 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Wed, 07 Oct 2026 13:58:07 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fcme" aria-label="Profile: fcme">@<bdi>fcme</bdi></a> <a href="/post/22776">说</a>:</p>
<p dir="auto">另外这个还不是最终的版本，先不要抄作业。我会出个git的。</p>
</blockquote>
<p dir="auto">期待你的最终版;<br />
另外请问你的5070ti也是用DDR3内存跑Strata 吗?跑qwen3.8 flash next Q3_S吗?速度如何?</p>
]]></description><link>https://lcz.me/post/23093</link><guid isPermaLink="true">https://lcz.me/post/23093</guid><dc:creator><![CDATA[Chan Sam]]></dc:creator><pubDate>Wed, 07 Oct 2026 13:58:07 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Wed, 07 Oct 2026 14:18:44 GMT]]></title><description><![CDATA[<p dir="auto">今天又让flash next精细的调了一下，最终成绩是PP2350/TG117左右（代码），相比上一版的checkpoint又有了15%左右的提升。</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/68b0fe24-d5c5-445e-9a24-d0e7b582df1d.jpg" alt="Screenshot_20261007_234328_com_android_chrome_ChromeTabbedActivity.jpg" class="img-markdown  img-fluid" /></p>
]]></description><link>https://lcz.me/post/23092</link><guid isPermaLink="true">https://lcz.me/post/23092</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Wed, 07 Oct 2026 14:18:44 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Tue, 06 Oct 2026 05:21:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dardeaw-feng" aria-label="Profile: dardeaw-feng">@<bdi>dardeaw-feng</bdi></a><br />
所以AI时代即使小众的硬件也能优化出不错的速度，小众生态的表现也会越来越好的。再等个原生的mxfp4内核替换现在的PP速度就能到4000级别了，到那时SGlang在9700上就可以完爆paiton/vLLM方案了，现在还是互有胜负。</p>
]]></description><link>https://lcz.me/post/22780</link><guid isPermaLink="true">https://lcz.me/post/22780</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Tue, 06 Oct 2026 05:21:47 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Tue, 06 Oct 2026 05:17:09 GMT]]></title><description><![CDATA[<p dir="auto">你這速度已經差不多等於我4090開ninfer了 逆天</p>
]]></description><link>https://lcz.me/post/22777</link><guid isPermaLink="true">https://lcz.me/post/22777</guid><dc:creator><![CDATA[dardeaw feng]]></dc:creator><pubDate>Tue, 06 Oct 2026 05:17:09 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Tue, 06 Oct 2026 05:11:56 GMT]]></title><description><![CDATA[<p dir="auto">另外这个还不是最终的版本，先不要抄作业。我会出个git的。</p>
]]></description><link>https://lcz.me/post/22776</link><guid isPermaLink="true">https://lcz.me/post/22776</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Tue, 06 Oct 2026 05:11:56 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Tue, 06 Oct 2026 05:11:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan.lgv60" aria-label="Profile: alan.lgv60">@<bdi>alan.lgv60</bdi></a><br />
没有影响！因为这个是全部加载到显存的方案，我的7828服务器也是DDR3的</p>
]]></description><link>https://lcz.me/post/22775</link><guid isPermaLink="true">https://lcz.me/post/22775</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Tue, 06 Oct 2026 05:11:05 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Tue, 06 Oct 2026 04:57:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fcme" aria-label="Profile: fcme">@<bdi>fcme</bdi></a> 感谢！ 希望DDR3跑起来不会太慢吧</p>
]]></description><link>https://lcz.me/post/22771</link><guid isPermaLink="true">https://lcz.me/post/22771</guid><dc:creator><![CDATA[alan.lgv60]]></dc:creator><pubDate>Tue, 06 Oct 2026 04:57:14 GMT</pubDate></item><item><title><![CDATA[Reply to 【直播】二次开发R9700单卡用SGLang跑Qwen3.8-27B成功！ TTFT0.9s/PP2000/TG100tps(代码)！体验丝滑 on Mon, 05 Oct 2026 10:47:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry" aria-label="Profile: terry">@<bdi>terry</bdi></a><br />
会的，弄好了我也git一下，回馈社群！</p>
]]></description><link>https://lcz.me/post/22565</link><guid isPermaLink="true">https://lcz.me/post/22565</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Mon, 05 Oct 2026 10:47:24 GMT</pubDate></item></channel></rss>