<?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 tp2 生成10秒1080p 成功]]></title><description><![CDATA[<p dir="auto">先感谢两篇帖子提供的 TP2 思路和实测经验：<a href="https://lcz.me/topic/2665/20">Topic 2665，post 20</a> 分享了双 RX 7900 XTX 跑 H3 TP2 的可行性，<a href="https://lcz.me/topic/2643">Topic 2643</a> 记录了 RDNA3 上 INT8/ConvRot、张量并行和注意力优化的探索。沿着这些经验，我在自己的双卡环境里继续折腾，终于把 <strong>W4A8 + Turbo LoRA + 稀疏注意力</strong> 的 10 秒 1080p 视频完整采样、GPU VAE 解码、封装并验收通过。</p>
<p dir="auto">这次的“片子”是黑猫泡泡浴。最终 MP4 为 1920×1080、24 fps、240 帧，正好 10 秒，包含 H.264 视频和 32 kHz 双声道 AAC。不是只看采样进度条：视频 latent、GPU FP32 VAE 解码像素都通过 finite 检查，<code>ffprobe</code> 确认分辨率/帧数/音轨，<code>ffmpeg -v error -xerror</code> 对整段视频完整解码也通过。</p>
<h2>这次的机器和设置</h2>
<ul>
<li>两张 AMD Radeon RX 7900 XTX，单卡 24 GB；ComfyUI 0.43 / ROCm 7.2。</li>
<li>H3 DIT：<code>Minimax-h3_Singularity_ref2va_v2_pruned_w4a8.safetensors</code>，本地 W4A8 量化权重。</li>
<li>Turbo LoRA：<code>minimax_h3_turbo_v4_step600_ema_pruned_comfyui.safetensors</code>，strength 1；Euler/simple、8 步、CFG 1，video/audio shift 12/3，seed 145。</li>
<li>稀疏注意力：Sol-Attn <code>BlockSparseAttention</code>，tau 1.3、start 0.2、end 1.0、min_tokens 12288、extra_tokens 256、conditioning sink <code>exact_kv_and_rows</code>。这次前两步走 dense，后六步日志确认进入 sparse producer path；1080p token 数 149,753。</li>
<li>请求输出 1920×1080。为适配 H3 latent 网格，内部画布按 1920×1088 采样/解码，最后裁去上下对齐填充共 8 px，导出 1920×1080。</li>
<li>这是我本机 ComfyUI 上的自写 TP2 runner；<strong>不是 Radiance 原生 TP2 支持</strong>。conditioning 使用预先算好的缓存，因此采样速度/显存不含一次性文本编码阶段。</li>
</ul>
<h2>INT8 到 W4A8 的过程</h2>
<p dir="auto">先前 INT8 ConvRot TP2 在 1344×768、请求 241 帧时成功生成 241 帧（10.0417 秒），Dynamic Turbo LoRA 开启，H.264 + AAC 成片完整通过检查。采样队列 640.5 秒，两个 rank 的驱动显存峰值为 19.44 / 20.22 GiB。</p>
<p dir="auto">之后测试 INT8 的 15 秒长片（画布对齐后是 1376×768），保留 Dynamic Turbo LoRA。它在第一个 dense step 的 LoRA 分支 OOM：日志显示当时 GPU 0 只剩 652 MiB，却要申请 1.23 GiB；堆栈落在 <code>apply_dynamic_lora_delta</code> 的 <code>F.linear(lora_x, lB)</code>。这个失败发生在采样阶段，不是 VAE 解码。该次没有成功完成采样，所以没有可当作正式峰值的完整 benchmark。</p>
<p dir="auto">为了定位，随后关掉 LoRA 用 INT8 跑了同分辨率/时长的诊断样例：采样完成，峰值 22.63 / 22.85 GiB，但音频 source-lock 检查没通过，因此只保留静音视频。接着把 DIT 权重换成 W4A8，重新打开 Turbo LoRA，并使用稀疏注意力：1344×768 / 15 秒的有声成片完整通过，采样峰值降到 16.48 / 16.96 GiB。再把时长改为 10 秒、分辨率升到 1080p，仍完整通过，采样峰值 19.85 / 20.37 GiB。</p>
<p dir="auto">这组对比显示 W4A8 这套组合在我的机器上显著降低了显存，并保留 LoRA 和 sparse attention。不过不同轮次的分辨率、注意力路径和音频状态不完全相同，<strong>不是严格控制单一变量的量化格式 A/B</strong>，数字只代表这里记录的具体工作流。</p>
<h2>实测对比</h2>
<p dir="auto">显存数值按 rank0 / rank1 列出，单位 GiB。表中的“注意力”写的是实际节点/日志情况；“dense→sparse”表示启用了稀疏节点，但前两步按调度仍是 dense。</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>DIT / 画布 / 时长</th>
<th>Turbo LoRA</th>
<th>注意力节点/路径</th>
<th style="text-align:right">采样耗时</th>
<th style="text-align:right">采样峰值显存（rank0 / rank1）</th>
<th>结果</th>
</tr>
</thead>
<tbody>
<tr>
<td>INT8 ConvRot · 1344×768 · 241帧 / 10.04秒</td>
<td>开，Dynamic Turbo</td>
<td>Comfy Kitchen + PyTorch attention；此 workflow 未接 <code>BlockSparseAttention</code></td>
<td style="text-align:right">640.5秒</td>
<td style="text-align:right">19.44 / 20.22</td>
<td>H.264 + AAC 成片通过</td>
</tr>
<tr>
<td>INT8 ConvRot · 1376×768 · 15秒</td>
<td>开，Dynamic Turbo</td>
<td>配置了 <code>BlockSparseAttention</code> / Comfy Kitchen dense fallback；OOM 发生在第一个 dense step，未进入 sparse steps</td>
<td style="text-align:right">未完成</td>
<td style="text-align:right"><strong>OOM</strong>：GPU0 剩 652 MiB，申请 1.23 GiB；PyTorch 已分配 21.78 GiB</td>
<td>动态 LoRA 的 <code>F.linear</code> 申请失败；无完整峰值</td>
</tr>
<tr>
<td>INT8 ConvRot · 1376×768 · 15秒（诊断）</td>
<td>关闭</td>
<td><code>BlockSparseAttention</code>；前两步 dense、后续 sparse</td>
<td style="text-align:right">886.3秒</td>
<td style="text-align:right">22.63 / 22.85</td>
<td>静音视频通过；音频锁定校验失败</td>
</tr>
<tr>
<td><strong>W4A8 · 1344×768 · 15秒</strong></td>
<td><strong>开，Turbo v4</strong></td>
<td><strong>Sol-Attn <code>BlockSparseAttention</code>；dense→sparse</strong></td>
<td style="text-align:right"><strong>715.6秒</strong></td>
<td style="text-align:right"><strong>16.48 / 16.96</strong></td>
<td><strong>H.264 + AAC 成片通过</strong></td>
</tr>
<tr>
<td><strong>W4A8 · 1920×1080 · 10秒</strong></td>
<td><strong>开，Turbo v4</strong></td>
<td><strong>Sol-Attn <code>BlockSparseAttention</code>；dense→sparse</strong></td>
<td style="text-align:right"><strong>1108.3秒（约18分28秒）</strong></td>
<td style="text-align:right"><strong>19.85 / 20.37</strong></td>
<td><strong>240帧 H.264 + AAC 成片通过</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">注意：INT8 的 15 秒 LoRA 失败行没有“峰值”可报告，因为它没有完成；OOM 时日志给出的剩余显存和申请大小是失败现场，不应误读成精确峰值。另一个 INT8 no-LoRA 15 秒诊断的画布为 1376×768，而 W4A8 为 1344×768，因此两行不是逐像素同条件比较。</p>
<h2>1080p 这次的时间与 VAE 显存</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>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>TP2 采样</td>
<td style="text-align:right">1108.27秒（约18分28秒）</td>
<td style="text-align:right">19.85 / 20.37 GiB</td>
<td>rank0 / rank1；8步</td>
</tr>
<tr>
<td>GPU FP32 视频 VAE 解码</td>
<td style="text-align:right">473.73秒（约7分54秒）</td>
<td style="text-align:right">13.30 GiB driver peak</td>
<td>采样 worker 退出后单独解码；像素全 finite</td>
</tr>
<tr>
<td>GPU FP32 音频 VAE 解码</td>
<td style="text-align:right">1.44秒</td>
<td style="text-align:right">1.46 GiB</td>
<td>输出有限；mux 时按 10 秒裁切</td>
</tr>
</tbody>
</table>
<p dir="auto">采样日志按累计时间取差得到每步约：dense 第 1 步 235 秒、第 2 步 241 秒；sparse 第 3–8 步依次约 114、103、102、102、102、102 秒。日志计时有约 1 秒取整误差。VAE 解码与采样是分开的阶段，显存峰值不能相加。</p>
<p dir="auto">1080p 10 秒还没有同设置、同帧数的 INT8 成功对照，因此我不据此断言 INT8 1080p 一定 OOM，也不把 1080p 10 秒说成硬件极限。当前已经完整验证的是 <strong>W4A8 + Turbo LoRA + BlockSparseAttention，1080p / 10 秒</strong>。</p>
<h2>成片截图</h2>
<p dir="auto">以下截图从最终 1080p MP4 抽取，时间点约为 0.5、3.0、6.0、9.5 秒。</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/32e2672a-a874-4591-97f2-3045d9aa446c.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" /></p>
<p dir="auto">祝大家都能少一点 OOM，多一点成功出片！</p>
]]></description><link>https://lcz.me/topic/2724</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 08:22:23 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/2724.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Oct 2026 19:52:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Wed, 04 Nov 2026 05:00:02 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=5be5614064c" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /> 版主审定：本帖设为<strong>优秀</strong>，作者 <strong>+3 积分</strong>奖励，继续加油！</p>
<blockquote>
<p dir="auto">奖励凭证：优秀 +3 分 · 编号 e2724-3746-1</p>
</blockquote>
]]></description><link>https://lcz.me/post/30911</link><guid isPermaLink="true">https://lcz.me/post/30911</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Wed, 04 Nov 2026 05:00:02 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Wed, 04 Nov 2026 02:47:31 GMT]]></title><description><![CDATA[<p dir="auto">直出1080p太慢了 ,使用selflift 二采要快的多。</p>
]]></description><link>https://lcz.me/post/30891</link><guid isPermaLink="true">https://lcz.me/post/30891</guid><dc:creator><![CDATA[perter]]></dc:creator><pubDate>Wed, 04 Nov 2026 02:47:31 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Tue, 03 Nov 2026 00:55:46 GMT]]></title><description><![CDATA[<p dir="auto">看视频越玩越溜了，我也心动了</p>
]]></description><link>https://lcz.me/post/30651</link><guid isPermaLink="true">https://lcz.me/post/30651</guid><dc:creator><![CDATA[tom23]]></dc:creator><pubDate>Tue, 03 Nov 2026 00:55:46 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Sun, 01 Nov 2026 01:17:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j-i" aria-label="Profile: J-I">@<bdi>J-I</bdi></a> 我也是看老特，所以购买了两张7900XTX</p>
]]></description><link>https://lcz.me/post/30014</link><guid isPermaLink="true">https://lcz.me/post/30014</guid><dc:creator><![CDATA[懒人烘培]]></dc:creator><pubDate>Sun, 01 Nov 2026 01:17:56 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Sun, 01 Nov 2026 01:16:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j-i" aria-label="Profile: J-I">@<bdi>J-I</bdi></a> d5平台要略快于d3或者d4平台，觉得不值哈</p>
]]></description><link>https://lcz.me/post/30013</link><guid isPermaLink="true">https://lcz.me/post/30013</guid><dc:creator><![CDATA[懒人烘培]]></dc:creator><pubDate>Sun, 01 Nov 2026 01:16:24 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Sat, 31 Oct 2026 17:33:12 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> 我是看了老特的油管才买的7900 xtx 引路人属于是了</p>
]]></description><link>https://lcz.me/post/29955</link><guid isPermaLink="true">https://lcz.me/post/29955</guid><dc:creator><![CDATA[J I]]></dc:creator><pubDate>Sat, 31 Oct 2026 17:33:12 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Sat, 31 Oct 2026 17:32:43 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> 哈哈 太棒了 7900xtx 最大短板h3音视已经被补上了 双卡+1080就是实实在在的生产力<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=5be5614064c" class="not-responsive emoji emoji-android emoji--+1" style="height:1.4em;width:auto;vertical-align:middle" title="👍" alt="👍" /> i</p>
]]></description><link>https://lcz.me/post/29954</link><guid isPermaLink="true">https://lcz.me/post/29954</guid><dc:creator><![CDATA[J I]]></dc:creator><pubDate>Sat, 31 Oct 2026 17:32:43 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Sat, 31 Oct 2026 16:46:48 GMT]]></title><description><![CDATA[<blockquote>
<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> <a href="/post/29804">说</a>:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j-i" aria-label="Profile: J-I">@<bdi>J-I</bdi></a></p>
</blockquote>
<p dir="auto"><img src="https://upload.lcz.me/uploads/e4fd17ed-f060-4edc-9f6f-93a1792ef038.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" /></p>
<blockquote>
<p dir="auto">我也刚刚生成了同款（1920×1080、24 fps、288 帧、12 秒，H.264 视频带 AAC 音轨），总耗时29分25秒。</p>
</blockquote>
<p dir="auto">又有新活了，真好！感谢分享</p>
]]></description><link>https://lcz.me/post/29948</link><guid isPermaLink="true">https://lcz.me/post/29948</guid><dc:creator><![CDATA[Enigma]]></dc:creator><pubDate>Sat, 31 Oct 2026 16:46:48 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Sat, 31 Oct 2026 10:05:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j-i" aria-label="Profile: J-I">@<bdi>J-I</bdi></a><br />
<img src="https://upload.lcz.me/uploads/e4fd17ed-f060-4edc-9f6f-93a1792ef038.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" /></p>
<p dir="auto">我也刚刚生成了同款（1920×1080、24 fps、288 帧、12 秒，H.264 视频带 AAC 音轨），总耗时29分25秒。</p>
]]></description><link>https://lcz.me/post/29804</link><guid isPermaLink="true">https://lcz.me/post/29804</guid><dc:creator><![CDATA[懒人烘培]]></dc:creator><pubDate>Sat, 31 Oct 2026 10:05:53 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Sat, 31 Oct 2026 03:24:27 GMT]]></title><description><![CDATA[<p dir="auto">这不错呀，双卡确实很舒服了，可以抄作业了</p>
]]></description><link>https://lcz.me/post/29723</link><guid isPermaLink="true">https://lcz.me/post/29723</guid><dc:creator><![CDATA[懒人烘培]]></dc:creator><pubDate>Sat, 31 Oct 2026 03:24:27 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Sat, 31 Oct 2026 02:48:42 GMT]]></title><description><![CDATA[<p dir="auto">等新卡到了，就可以抄作业，准备折腾双7900XTX。看了老特视频，放下买4080S32G魔改卡想法了。</p>
]]></description><link>https://lcz.me/post/29716</link><guid isPermaLink="true">https://lcz.me/post/29716</guid><dc:creator><![CDATA[Michael ZHANG]]></dc:creator><pubDate>Sat, 31 Oct 2026 02:48:42 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Fri, 30 Oct 2026 23:46:57 GMT]]></title><description><![CDATA[<p dir="auto">很好，双卡方案开始崛起，我的脸已经被打肿。</p>
]]></description><link>https://lcz.me/post/29645</link><guid isPermaLink="true">https://lcz.me/post/29645</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Fri, 30 Oct 2026 23:46:57 GMT</pubDate></item><item><title><![CDATA[Reply to 激动的心，颤抖的手，双7900 xtx tp2 生成10秒1080p 成功 on Fri, 30 Oct 2026 21:26:54 GMT]]></title><description><![CDATA[<p dir="auto">太激动了，刚发完才发现忘了补机器配置和 P2P 情况；我又把黑猫这段测试片换成布偶猫从 10 秒加长测到了 12 秒。</p>
<p dir="auto">这段是 <strong>1920×1080、24 fps、288 帧、12 秒</strong>，W4A8 DIT + Turbo LoRA 8 步 + 稀疏注意力，双卡 TP2。采样约 <strong>25 分钟</strong>，两张卡的采样显存峰值为 <strong>22.89 / 22.95 GiB</strong>；每张卡总显存约 23.98 GiB，所以这次已经非常接近显存边缘。GPU FP32 视频 VAE 解码约 <strong>9 分 35 秒</strong>。最后的 MP4 是 H.264 视频加 32 kHz 双声道 AAC；<code>ffprobe</code> 检查为 288 帧、12 秒，<code>ffmpeg -v error -xerror</code> 全片解码通过。</p>
<p dir="auto">本机配置是 <strong>Ryzen 9 3900X、ASUS ROG CROSSHAIR VIII HERO (WI-FI)、128 GB RAM、2 张 RX 7900 XTX 24 GB</strong>。GPU0 接着显示器，显存峰值是运行时实测值，包含当时桌面环境占用。</p>
<p dir="auto">P2P 也确认可用：我用本机相同双卡 rank 映射做了 RCCL 两进程 all-reduce 探针，调试输出明确显示数据通道 <code>via P2P/IPC</code>，collective 正常完成。这个路径走本机 PCIe P2P/IPC；12 秒正式采样本身没有开启 P2P 调试日志，所以这里是同配置通信探针的验证结果。</p>
<p dir="auto">15 秒 1080p 在当前设置下曾于采样阶段 OOM：日志显示只剩约 620 MiB 时还要申请 2.22 GiB。因此目前 <strong>12 秒是这套具体设置下成功跑通的高点，约 23 GiB/卡，不能当成普适的硬上限</strong>。Ref2VA 如果加入多张参考图，额外显存开销还要看具体参考图和条件；这次没有做多参考图压力测试，安全时长可能会更短。</p>
<p dir="auto">下面是 12 秒布偶猫成片的六格抽帧；</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/3c759280-5511-4c70-bdf8-fb3e9c7d3cdf.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" /></p>
]]></description><link>https://lcz.me/post/29623</link><guid isPermaLink="true">https://lcz.me/post/29623</guid><dc:creator><![CDATA[J I]]></dc:creator><pubDate>Fri, 30 Oct 2026 21:26:54 GMT</pubDate></item></channel></rss>