<?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[ComfyUI-H3-RDNA4（Radiance 后端）R9700 实测：H3 R2V 采样 2.01×]]></title><description><![CDATA[<p dir="auto">应 <a class="plugin-mentions-user plugin-mentions-a" href="/user/bunsei" aria-label="Profile: Bunsei">@<bdi>Bunsei</bdi></a> 大佬的指示，测试一下 R9700采样后端从原生换成 Radiance 加速的生成速度。</p>
<p dir="auto"><strong>结论：同一条 H3 参考图生视频工作流（1344×768 / 294帧 / 20步 / seed 12345 / 6参考图），采样后端从原生换成 Radiance，全流程 4650s → 2314s，加速 2.01×。</strong> 前置条件：ComfyUI ≥ v0.45.0、原生组件按 gfx1201 编译、实例启动加 <code>--reserve-vram 22</code>。双卡 TP 在 X99 + IOMMU 平台不可用（还没测通，后面再研究）。</p>
<p dir="auto">上对比图片：<br />
<img src="https://upload.lcz.me/uploads/373fa5ff-ebfe-45e6-88cd-a74ac014fd44.jpg" alt="radiance_vs_native_对比.jpg" class="img-markdown  img-fluid" /></p>
<h2>环境</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项</th>
<th>值</th>
</tr>
</thead>
<tbody>
<tr>
<td>硬件</td>
<td>X99-TF / E5-2696 v3 / 128G ECC / 双 R9700 32G (gfx1201)</td>
</tr>
<tr>
<td>系统</td>
<td>Ubuntu 26.04.1 / ROCm 7.2.4 / torch 2.14.1+rocm7.2</td>
</tr>
<tr>
<td>ComfyUI</td>
<td>v0.44.0 → <strong>v0.45.0</strong>（Radiance 硬依赖）</td>
</tr>
<tr>
<td>插件</td>
<td><a href="http://codeberg.org/Bunsei/ComfyUI-H3-RDNA4" rel="nofollow ugc">codeberg.org/Bunsei/ComfyUI-H3-RDNA4</a> v0.2.0，装到 <code>custom_nodes/ComfyUI-H3-Video-Radiance</code></td>
</tr>
<tr>
<td>编译</td>
<td><code>python tools/build_native.py --arch gfx1201 --jobs 16</code>，约 5 分钟；<code>check_environment.py</code> 返回 ok:true</td>
</tr>
</tbody>
</table>
<h2>工作流接入</h2>
<p dir="auto">不改动原生骨架：UNET → 采样器之间插 <code>H3 视频加速</code>（H3RadianceAccelerator，INT8 QK＋FP8 PV，devices 0），条件编码换 <code>H3 参考素材与提示词</code>（H3RadianceReferences），解码换 <code>H3 视频解码</code>（H3RadianceDecode）。Qwen 32B NVFP4-AWQ 编码器直接沿用「高精度加速」线性档。</p>
<h2>测试配置（32GB 单卡档）</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>节点参数</th>
<th>值</th>
</tr>
</thead>
<tbody>
<tr>
<td>采样精度</td>
<td>INT8 QK＋FP8 PV</td>
</tr>
<tr>
<td>激活缓冲位置</td>
<td>显存</td>
</tr>
<tr>
<td>每卡预留显存</td>
<td>4096 MiB</td>
</tr>
<tr>
<td>每卡主机权重池</td>
<td>24576 MiB</td>
</tr>
<tr>
<td>暂存线性权重</td>
<td>开</td>
</tr>
<tr>
<td>复用主干输入缓冲</td>
<td>开</td>
</tr>
<tr>
<td>前馈/线性分块</td>
<td>4096 / 4096</td>
</tr>
<tr>
<td>ComfyUI 启动</td>
<td><code>--reserve-vram 22</code></td>
</tr>
</tbody>
</table>
<h2>实测数据</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>指标</th>
<th>原生</th>
<th>Radiance</th>
<th>加速比</th>
</tr>
</thead>
<tbody>
<tr>
<td>全流程（同工作流同 seed）</td>
<td>4650 s</td>
<td>2314 s</td>
<td><strong>2.01×</strong></td>
</tr>
<tr>
<td>采样每步</td>
<td>≈210 s（按总时长扣除预处理/解码推算）</td>
<td>101.5 s（20 步全程 101.3~104.7 s，零衰减）</td>
<td>≈2.07×</td>
</tr>
<tr>
<td>预处理（6 图 1344×768 match + 音频基准）</td>
<td>—</td>
<td>172 s</td>
<td>—</td>
</tr>
<tr>
<td>出片</td>
<td>1344×768 / 294 帧 / 24fps / 12.25s</td>
<td>完全一致</td>
<td>—</td>
</tr>
<tr>
<td>文件体积</td>
<td>12.4 MB</td>
<td>12.5 MB</td>
<td>—</td>
</tr>
<tr>
<td>视频对比</td>
<td><a href="https://youtu.be/7dSj4cW1PaE" rel="nofollow ugc">https://youtu.be/7dSj4cW1PaE</a></td>
<td><a href="https://youtu.be/t-0brZVj774" rel="nofollow ugc">https://youtu.be/t-0brZVj774</a></td>
<td>—</td>
</tr>
</tbody>
</table>
<p dir="auto">画质体检（边缘密度法，抽 1/3/5/7/9/11 秒共 6 帧，单位 %）：</p>
<pre><code>Radiance: 7.48 15.74 7.39 10.67 15.95 15.74
原生:     8.02 15.59 8.30  9.72 13.44 17.09
</code></pre>
<p dir="auto">两版逐秒几乎重合，全部在健康带内，无 latent 崩坏。同 seed 下 INT8 QK＋FP8 PV 与原生精度数值不逐像素一致，构图/动作一致。</p>
<h2>坑（现象 / 根因 / 解法）</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>现象</th>
<th>根因</th>
<th>解法</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>_forward_unimplemented() got an unexpected keyword argument 'transformer_options'</code></td>
<td>Radiance 替换 <code>diffusion_model._run_blocks</code>，v0.44 的 minimax 前向是手动逐块迭代、无此方法</td>
<td>ComfyUI 升级 ≥ v0.45.0（<code>git fetch --tags</code> 后 <code>git checkout v0.45.0</code>）</td>
</tr>
<tr>
<td>worker 启动报 <code>VRAM does not cover the fixed costs before a single pool is sized</code>（short by 3.29 GiB，报告显示主进程已占 20.77 GiB）</td>
<td>Comfy-Kitchen 量化加载（fast_disk 策略）绕过 torch 分配器，Radiance 的 free_memory / partially_unload 驱逐不动</td>
<td>实例启动加 <code>--reserve-vram 22</code>，DiT 部分加载，卡净空升至 ~24 GB</td>
</tr>
<tr>
<td>预处理只跑 40 秒后报 <code>Qwen attention requires CUDA/ROCm tensors on the same device</code></td>
<td><code>--lowvram</code> 把 Qwen 文本编码器整体压到 CPU</td>
<td>不要用 <code>--lowvram</code>，用 <code>--reserve-vram</code></td>
</tr>
<tr>
<td>双卡报 <code>GPU 1 is not visible to ComfyUI</code></td>
<td>实例带 <code>CUDA_VISIBLE_DEVICES=0</code></td>
<td>双卡模式去掉该环境变量</td>
</tr>
<tr>
<td>双卡 TP 单步 1037 s 起步、首步 25 分钟未完成（单卡对照 419 s/步）</td>
<td>X99 + IOMMU 转译（DMA-FQ）下 P2P 同步代价爆炸，激活缓冲/张量交换走主机的模式每步流量翻倍</td>
<td>本平台判死；需 Resizable BAR / 现代 PCIe 平台再测</td>
</tr>
<tr>
<td>单卡速度掉到 256~419 s/步</td>
<td>激活缓冲挪内存 + 未开暂存/复用缓冲</td>
<td>显存激活缓冲 + <code>weight_staging</code> + <code>reuse_hidden_buffer</code>，三项缺一不可</td>
</tr>
</tbody>
</table>
<h2>注意点</h2>
<ul>
<li>INT8 有效权重容器 ≈ 18 GiB，设计为部分驻留显存 + 锁页权重池 DMA 直读（与计算重叠），权重不常驻显存不是降速路径。</li>
<li>worker 启动顺序是先装权重容器和 IPC，再核算激活缓冲 + headroom + 队列空间；不够时报错附精确账本（card total / already held / arena / short by），按账本挤空间：<code>--reserve-vram</code> → headroom 4096→2048 → IPC 4→2 GiB → 分块 4096→2048。</li>
<li>采样记录在 <code>~/.cache/ComfyUI-H3-Video-Radiance/runs/*.json</code>（含 worker_log 与 memory_handoffs），预处理/解码记录分别在 <code>preprocessing/</code>、<code>decoding/</code>。</li>
<li><code>--reserve-vram 22</code> 会让主进程 DiT 部分加载，跑原生（非 Radiance）工作流前建议去掉该参数重启实例。</li>
</ul>
<p dir="auto">以上为单卡 32G 数据。双卡 TP 的平台前提（P2P 直通、Resizable BAR）不具备之前不再浪费时间（双卡 TP 还需要继续研究配置）；有现代平台数据的欢迎贴一下对比。</p>
]]></description><link>https://lcz.me/topic/3144</link><generator>RSS for Node</generator><lastBuildDate>Thu, 19 Nov 2026 00:17:06 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/3144.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Nov 2026 06:58:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ComfyUI-H3-RDNA4（Radiance 后端）R9700 实测：H3 R2V 采样 2.01× on Wed, 18 Nov 2026 03:36:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E9%A3%8E%E6%BB%A1%E6%A5%BC" aria-label="Profile: 风满楼">@<bdi>风满楼</bdi></a> 在我之前测试的时候我的硬件配置和你不同，但是Radiance 下走P2P在我的主机上也走不通的，只有LLama才能走通P2P但是效果不理想。视频生成这个参赛作品最优下的建议是20步，时间和成本比较有性价比。如果想防止抖动我做实验的结果是20步效果还是可以的，50步就基本没有抖动，但是时间和成本性价比比较低。我也是新手刚接触，不能给你建议，但是可以一起研究分享。</p>
]]></description><link>https://lcz.me/post/34281</link><guid isPermaLink="true">https://lcz.me/post/34281</guid><dc:creator><![CDATA[Magic629]]></dc:creator><pubDate>Wed, 18 Nov 2026 03:36:26 GMT</pubDate></item><item><title><![CDATA[Reply to ComfyUI-H3-RDNA4（Radiance 后端）R9700 实测：H3 R2V 采样 2.01× on Wed, 18 Nov 2026 00:51:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/imbiplaza-asus" aria-label="Profile: imbiplaza-ASUS">@<bdi>imbiplaza-ASUS</bdi></a> 刚接触视频生成，纯新手，还不清楚具体的原因。有好的经验望指点一二<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f64f.png?v=3c59dda5525" class="not-responsive emoji emoji-android emoji--pray" style="height:1.4em;width:auto;vertical-align:middle" title=":pray:" alt="🙏" /></p>
]]></description><link>https://lcz.me/post/34240</link><guid isPermaLink="true">https://lcz.me/post/34240</guid><dc:creator><![CDATA[风满楼]]></dc:creator><pubDate>Wed, 18 Nov 2026 00:51:12 GMT</pubDate></item><item><title><![CDATA[Reply to ComfyUI-H3-RDNA4（Radiance 后端）R9700 实测：H3 R2V 采样 2.01× on Wed, 18 Nov 2026 00:44:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bunsei" aria-label="Profile: Bunsei">@<bdi>Bunsei</bdi></a> 配置如下（比赛 3D 工作流骨架，双卡 TP 版）：</p>
<p dir="auto"><strong>模型</strong>：UNET <code>minimax_h3_ref2va_pruned_int8_convrot</code> ｜ CLIP <code>qwen3vl_32b_minimax_h3_nvfp4_awq</code>（type=minimax）｜ VAE <code>minimax_h3_video_vae_int8_convrot</code> + <code>audio_vae_fp32</code></p>
<p dir="auto"><strong>Accelerator（201）</strong>：Radiance 采样 ｜ INT8 QK＋FP8 PV ｜ devices 0,1</p>
<p dir="auto"><strong>Tuning（200）</strong>：激活缓冲=显存 ｜ headroom 2048 ｜ IPC 2 GiB ｜ 主机权重池 12288 ｜ ffn/linear 分块 4096 ｜ collective_blocks 16 ｜ staging/reuse/gather/release 全关 ｜ 缓存=保留到磁盘</p>
<p dir="auto"><strong>References（20）</strong>：1344×768 / 288帧 ｜ 并行 video VAE + 并行 Qwen vision 都开 ｜ quality=适应 ｜ processing=自动加速 ｜ language=高精度加速</p>
<p dir="auto"><strong>Decode（110）</strong>：headroom 2048 ｜ linear_chunk_rows 16384 ｜ gemm 4×4×1 默认</p>
<p dir="auto"><strong>实例</strong>：<code>HSA_ENABLE_IPC_MODE_LEGACY=0</code> + <code>--reserve-vram 22</code>，不带 CUDA_VISIBLE_DEVICES</p>
<p dir="auto"><strong>采样</strong>：res_multistep / simple / 20 步 / seed 12345</p>
<p dir="auto">采样账和你估的对：20×64.4 = 1288 s。拆账：预处理 172.0 + 采样 1288 + 解码 76.8，平台是 2696 v3（DDR4-2133 四通道），比你估的 150 s 确实还有距离。</p>
<p dir="auto">NVFP4 那条收到——我们是从比赛工作流照搬的 32B NVFP4-AWQ，已换官方 <code>qwen3vl_32b_minimax_h3_int8_convrot</code>（SHA256 与仓库一致）、Qwen 线性走原生，双卡 TP 复测数据：预处理 170.1 s（NVFP4 172.0 s，持平）、采样 67.4 s/步（64.4 s/步，噪声内）、全流程 26:53（26:36，持平）。结论：在我们平台（gfx1201 32G×2）编码器格式对预处理无收益，170 s 的大头在参考图 VAE 编码与视觉处理；已保留 INT8 版（4-bit→8-bit，编码精度更高，显存也够）。预处理比您慢 3.3× 应该是平台内存带宽/CPU 差异，不是权重格式问题。</p>
]]></description><link>https://lcz.me/post/34238</link><guid isPermaLink="true">https://lcz.me/post/34238</guid><dc:creator><![CDATA[风满楼]]></dc:creator><pubDate>Wed, 18 Nov 2026 00:44:45 GMT</pubDate></item><item><title><![CDATA[Reply to ComfyUI-H3-RDNA4（Radiance 后端）R9700 实测：H3 R2V 采样 2.01× on Tue, 17 Nov 2026 18:25:33 GMT]]></title><description><![CDATA[<p dir="auto">我一直很好奇，到底是什么问题会造成画面出现残影</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/47d86f9d-f0fd-4761-856b-5d354ef43085.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" /></p>
]]></description><link>https://lcz.me/post/34195</link><guid isPermaLink="true">https://lcz.me/post/34195</guid><dc:creator><![CDATA[imbiplaza ASUS]]></dc:creator><pubDate>Tue, 17 Nov 2026 18:25:33 GMT</pubDate></item><item><title><![CDATA[Reply to ComfyUI-H3-RDNA4（Radiance 后端）R9700 实测：H3 R2V 采样 2.01× on Tue, 17 Nov 2026 09:52:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E9%A3%8E%E6%BB%A1%E6%A5%BC" aria-label="Profile: 风满楼">@<bdi>风满楼</bdi></a>  你的节点配置能发一下吗？采样速度应该差不多20*65 1300 ，但是预处理、编解码有点久了。</p>
<p dir="auto">我的这里是：</p>
<p dir="auto">预处理 51.8 秒<br />
视频解码 46.5 秒</p>
<p dir="auto">按照你的这个DDR3的平台来看，150S以内应该没问题。</p>
<p dir="auto">另外NVFP4这个是针对RX9070之类的卡加的，属于时间换空间，使用的是 FP16 高低双分量、FP32 累加和输出。换成INT8的应该能快。（PS：如果用INT8的VL权重,Qwen线性加速那里要选择原生）</p>
]]></description><link>https://lcz.me/post/34114</link><guid isPermaLink="true">https://lcz.me/post/34114</guid><dc:creator><![CDATA[Bunsei]]></dc:creator><pubDate>Tue, 17 Nov 2026 09:52:08 GMT</pubDate></item><item><title><![CDATA[Reply to ComfyUI-H3-RDNA4（Radiance 后端）R9700 实测：H3 R2V 采样 2.01× on Tue, 17 Nov 2026 09:18:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bunsei" aria-label="Profile: bunsei">@<bdi>bunsei</bdi></a> 双卡 TP 的数据出来了，如下：</p>
<p dir="auto"><strong>结论：同一台华南金牌 X99-TF GAMING V6.0 + 单路 E5-2696 v3（Haswell-EP）+ 双 R9700 32G，不打内核补丁，跑通了跨 Root Port Direct P2P（单向 10.20 GB/s），并让 ComfyUI-H3-RDNA4（Radiance）双卡 TP 真正可用：H3 参考图生视频全流程 4650 s → 1596 s，加速 2.91×（单卡 Radiance 2.01×，原生基线 1×）。</strong></p>
<p dir="auto">视频对比：原生 <a href="https://youtu.be/7dSj4cW1PaE" rel="nofollow ugc">https://youtu.be/7dSj4cW1PaE</a> ｜ 单卡 Radiance <a href="https://youtu.be/t-0brZVj774" rel="nofollow ugc">https://youtu.be/t-0brZVj774</a> ｜ <strong>双卡 TP <a href="https://youtu.be/Tv_HHYlM71M" rel="nofollow ugc">https://youtu.be/Tv_HHYlM71M</a></strong></p>
<h2>背景</h2>
<p dir="auto">接上一篇《ComfyUI-H3-RDNA4 R9700 实测》。单卡 Radiance 采样 101.5 s/步之后，双卡 TP 一度病态慢（内存档首步 1037 s、混合档首步 25 分钟未完成），当时判了「平台判死」。对照 PhoenixRise2026 的 P2P 项目（<a href="http://github.com/PhoenixRise2026/x99-amd-gpu-p2p%EF%BC%8CMIT%EF%BC%89%E9%80%90%E5%B1%82%E6%8E%92%E6%9F%A5%E5%90%8E%E5%8F%91%E7%8E%B0%E5%88%A4%E6%96%AD%E9%94%99%E4%BA%86%EF%BC%9A%E5%8D%A1%E7%82%B9%E4%B8%8D%E6%98%AF%E7%A1%AC%E4%BB%B6%EF%BC%8C%E6%98%AF" rel="nofollow ugc">github.com/PhoenixRise2026/x99-amd-gpu-p2p，MIT）逐层排查后发现判断错了：卡点不是硬件，是</a><strong>一个环境变量 + IOMMU 配置 + 激活缓冲位置</strong>三件事。</p>
<h2>平台核对（<a href="http://diagnose.sh" rel="nofollow ugc">diagnose.sh</a> 实测）</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>检查项</th>
<th>结果</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>CPU</td>
<td>E5-2696 v3，单路</td>
<td>Haswell-EP，主机桥 8086:2f00</td>
</tr>
<tr>
<td>GPU</td>
<td>2× R9700 32G，PCIe 4.0 x16（LnkSta 32GT/s）</td>
<td>同 CPU 不同 Root Port（00:02.0 / 00:03.0），无 switch</td>
</tr>
<tr>
<td>BIOS</td>
<td>Above 4G + ReBAR 已生效</td>
<td>两卡 BAR0 = 32G 完整显存 BAR，地址 0x380800000000（46 位空间）</td>
</tr>
<tr>
<td>DMA mask</td>
<td>44-bit（amdgpu 原生，无自定义补丁）</td>
<td>BAR 地址超出 44 位 → 必须靠 IOMMU 翻译</td>
</tr>
<tr>
<td>IOMMU</td>
<td>VT-d Translated（默认配置）</td>
<td><strong>必需品，不是开销</strong></td>
</tr>
<tr>
<td>P2PDMA 白名单</td>
<td>Haswell-EP 8086:2f00/2f01 <strong>stock 内核原生放行</strong></td>
<td>白名单补丁只补 Broadwell-EP 6f00，我们不需要</td>
</tr>
<tr>
<td>内核日志</td>
<td>0 AER / 0 DMAR / 0 GPU reset</td>
<td>干净</td>
</tr>
</tbody>
</table>
<p dir="auto">关键认知：<strong>X99 是 Intel 平台</strong>。BAR 在 46 位物理地址上，超出显卡 44 位 DMA 寻址范围，GPU 根本无法直接寻址对端 BAR——必须靠 VT-d 把对端 BAR 重映射进紧凑 IOVA。没有 IOMMU（intel_iommu=off）时 <code>can_device_access_peer</code> 直接返回 false；开着时返回 true 且实测能到 10 GB/s。</p>
<h2>三态实测（同一台机器，同一个 Radiance 双卡 TP 工作流）</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>配置</th>
<th>首步/稳定步时</th>
<th>结论</th>
</tr>
</thead>
<tbody>
<tr>
<td>IOMMU 默认 + 无 HSA 变量 + 激活缓冲在内存/混合</td>
<td>首步 1037 s ~ 25 分钟+</td>
<td>P2P 走了 IOMMU 翻译路径 + 激活流量绕主机，双层慢</td>
</tr>
<tr>
<td><code>intel_iommu=off</code></td>
<td>直接报 <code>The selected GPUs cannot use peer access</code></td>
<td>GPU 寻址不了 46 位对端 BAR，P2P 不可达</td>
</tr>
<tr>
<td><strong>IOMMU 默认 + <code>HSA_ENABLE_IPC_MODE_LEGACY=0</code> + 激活缓冲=显存</strong></td>
<td><strong>首步 77 s，稳定 64.4 s/步</strong></td>
<td>Direct P2P 真直连</td>
</tr>
</tbody>
</table>
<h2>最终可用配置</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>层</th>
<th>配置</th>
</tr>
</thead>
<tbody>
<tr>
<td>BIOS</td>
<td>Above 4G Decoding ON、ReBAR ON、CSM OFF</td>
</tr>
<tr>
<td>内核</td>
<td><strong>stock 内核即可</strong>（Haswell-EP 白名单原生支持；无需 6.8.12-r9700-p2p-dma44，那是 Broadwell 补丁）</td>
</tr>
<tr>
<td>GPU0 实例启动</td>
<td><code>HSA_ENABLE_IPC_MODE_LEGACY=0 PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True</code> + <code>--reserve-vram 22</code>，<strong>不带 CUDA_VISIBLE_DEVICES</strong>（否则 <code>GPU 1 is not visible to ComfyUI</code>）</td>
</tr>
<tr>
<td>Radiance 采样精度</td>
<td>INT8 QK＋FP8 PV</td>
</tr>
<tr>
<td>激活缓冲位置</td>
<td><strong>显存</strong></td>
</tr>
<tr>
<td>每卡预留显存</td>
<td>2048 MiB</td>
</tr>
<tr>
<td>张量交换内存</td>
<td>2 GiB</td>
</tr>
<tr>
<td>每卡主机权重池</td>
<td>12288 MiB</td>
</tr>
<tr>
<td>暂存线性权重 / 复用主干输入缓冲</td>
<td>关（显存激活缓冲模式下先求稳定，后续可对照）</td>
</tr>
<tr>
<td>devices</td>
<td>0,1</td>
</tr>
</tbody>
</table>
<h2>实测数据（参赛内容同参数：1344×768 / 294帧 / 20步 / seed 12345 / 6参考图）</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>指标</th>
<th>原生</th>
<th>Radiance 单卡</th>
<th>Radiance 双卡 TP</th>
</tr>
</thead>
<tbody>
<tr>
<td>全流程</td>
<td>4650 s</td>
<td>2314 s</td>
<td><strong>1596 s</strong></td>
</tr>
<tr>
<td>采样每步</td>
<td>≈210 s</td>
<td>101.5 s（零衰减）</td>
<td><strong>64.4 s（零衰减）</strong></td>
</tr>
<tr>
<td>对原生加速</td>
<td>1×</td>
<td>2.01×</td>
<td><strong>2.91×</strong></td>
</tr>
<tr>
<td>出片规格</td>
<td>1344×768 / 294帧 / 12.25s</td>
<td>一致</td>
<td>一致</td>
</tr>
<tr>
<td>像素质检（边缘密度，6 帧）</td>
<td>8.02~17.09%</td>
<td>7.48~15.95%</td>
<td>6.73~16.73%</td>
</tr>
</tbody>
</table>
<p dir="auto">三版同带无 latent 崩坏。同 seed 下 INT8 QK＋FP8 PV 与原生精度数值不逐像素一致，构图/动作一致。</p>
<h2>P2P 链路实测（torch 跨卡 copy 1 GiB，等价 hipMemcpyPeerAsync / SDMA 路径）</h2>
<pre><code>can_device_access_peer 0→1 / 1→0:  True / True
GPU0→GPU1:  10.20 GB/s
GPU1→GPU0:  10.21 GB/s
</code></pre>
<p dir="auto">与项目作者参考机（E5-2697A v4）的 TransferBench 单向 10.29 GB/s 基本重合。跨 Root Port P2P 经 root complex 路由的吞吐上限就在 10 GB/s 级，链路速率（Gen4 x16）不是限制因素。</p>
<h2>坑（现象 / 根因 / 解法）</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>现象</th>
<th>根因</th>
<th>解法</th>
</tr>
</thead>
<tbody>
<tr>
<td>TP 首步 1037 s、混合档 25 分钟不出第一步</td>
<td>未设 <code>HSA_ENABLE_IPC_MODE_LEGACY=0</code>（IPC 走 legacy 路径）+ 激活缓冲放内存/混合（激活流量绕主机内存）</td>
<td>GPU0 实例启动加 HSA 变量，激活缓冲=显存</td>
</tr>
<tr>
<td><code>The selected GPUs cannot use peer access; select a single GPU</code></td>
<td><code>intel_iommu=off</code> 后 GPU 无法寻址 46 位的对端 BAR</td>
<td><strong>不要关 IOMMU</strong>，VT-d Translated 是这套平台 P2P 的必需品</td>
</tr>
<tr>
<td><code>GPU 1 is not visible to ComfyUI</code></td>
<td>实例带 <code>CUDA_VISIBLE_DEVICES=0</code></td>
<td>双卡模式去掉该环境变量</td>
</tr>
<tr>
<td><code>amd_iommu=off</code> 写进 cmdline 后 IOMMU 照样在</td>
<td>X99/E5 是 Intel 平台（VT-d/DMAR），<code>amd_iommu=off</code> 是 AMD 参数</td>
<td>用 <code>intel_iommu=off</code>（本次已验证后又回退，最终保留默认配置）</td>
</tr>
<tr>
<td>单卡速度 256~419 s/步</td>
<td>激活缓冲挪内存 + 未开暂存/复用缓冲</td>
<td>见上篇：显存激活缓冲 + <code>weight_staging</code> + <code>reuse_hidden_buffer</code></td>
</tr>
</tbody>
</table>
<h2>经验</h2>
<ol>
<li>判「硬件不支持」之前先把软件层变量清干净——本项目作者和我们都走过同一个弯路。</li>
<li>排查顺序照 PhoenixRise2026 的验收阶梯：BIOS → 拓扑 → BAR/DMA → 内核 → HIP IPC → TransferBench → 上层应用，每层单独取证。</li>
<li>P2P 通了不等于 TP 必然快：激活缓冲位置、IPC 模式、预留显存都在同一张账本上，启动报错里的精确显存核算（card total / already held / arena / short by）是最好的排障入口。</li>
<li>双卡 TP 跑时 GPU1 的 ComfyUI 实例记得停（抢显存）。</li>
<li>上篇单卡配置与本篇双卡配置可按任务切换：单卡跑小任务更省心，双卡 TP 跑长序列大任务收益最大。</li>
</ol>
<p dir="auto">以上。参考：PhoenixRise2026/x99-amd-gpu-p2p（github，MIT）、ComfyUI-H3-RDNA4（<a href="http://codeberg.org/Bunsei%EF%BC%89%E3%80%82%E6%9C%89%E5%90%8C%E6%AC%BE%E5%B9%B3%E5%8F%B0%E7%9A%84%E6%AC%A2%E8%BF%8E%E5%AF%B9%E6%95%B0%E6%8D%AE%E3%80%82" rel="nofollow ugc">codeberg.org/Bunsei）。有同款平台的欢迎对数据。</a></p>
]]></description><link>https://lcz.me/post/34112</link><guid isPermaLink="true">https://lcz.me/post/34112</guid><dc:creator><![CDATA[风满楼]]></dc:creator><pubDate>Tue, 17 Nov 2026 09:18:11 GMT</pubDate></item><item><title><![CDATA[Reply to ComfyUI-H3-RDNA4（Radiance 后端）R9700 实测：H3 R2V 采样 2.01× on Tue, 17 Nov 2026 09:35:05 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E9%A3%8E%E6%BB%A1%E6%A5%BC" aria-label="Profile: 风满楼">@<bdi>风满楼</bdi></a> 刚才没看仔细，如果你P2P成功，双卡的话可以达到800S左右。</s></p>
<p dir="auto">这里看差了，看成了8步采样。</p>
]]></description><link>https://lcz.me/post/34093</link><guid isPermaLink="true">https://lcz.me/post/34093</guid><dc:creator><![CDATA[Bunsei]]></dc:creator><pubDate>Tue, 17 Nov 2026 09:35:05 GMT</pubDate></item><item><title><![CDATA[Reply to ComfyUI-H3-RDNA4（Radiance 后端）R9700 实测：H3 R2V 采样 2.01× on Tue, 17 Nov 2026 07:10:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bunsei" aria-label="Profile: Bunsei">@<bdi>Bunsei</bdi></a> P2P 我接下来让 Hermes 继续研究，让他继续阅读文档，把 双卡 TP 今天测出来。我之前 P2P 是已经通了的。</p>
]]></description><link>https://lcz.me/post/34087</link><guid isPermaLink="true">https://lcz.me/post/34087</guid><dc:creator><![CDATA[风满楼]]></dc:creator><pubDate>Tue, 17 Nov 2026 07:10:35 GMT</pubDate></item><item><title><![CDATA[Reply to ComfyUI-H3-RDNA4（Radiance 后端）R9700 实测：H3 R2V 采样 2.01× on Tue, 17 Nov 2026 07:04:32 GMT]]></title><description><![CDATA[<p dir="auto">你看看这个老哥的：<a href="https://lcz.me/topic/1896?_=1794898858147">https://lcz.me/topic/1896?_=1794898858147</a> 可以尝试启用一下P2P。</p>
]]></description><link>https://lcz.me/post/34086</link><guid isPermaLink="true">https://lcz.me/post/34086</guid><dc:creator><![CDATA[Bunsei]]></dc:creator><pubDate>Tue, 17 Nov 2026 07:04:32 GMT</pubDate></item><item><title><![CDATA[Reply to ComfyUI-H3-RDNA4（Radiance 后端）R9700 实测：H3 R2V 采样 2.01× on Tue, 17 Nov 2026 09:32:37 GMT]]></title><description><![CDATA[<p dir="auto"><s>你这个有个很大的问题就是没有P2P，如果P2P成功，我预测你能在800S左右。</s></p>
<p dir="auto">这里看差了，看成了8步采样。</p>
]]></description><link>https://lcz.me/post/34085</link><guid isPermaLink="true">https://lcz.me/post/34085</guid><dc:creator><![CDATA[Bunsei]]></dc:creator><pubDate>Tue, 17 Nov 2026 09:32:37 GMT</pubDate></item></channel></rss>