<?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[[H3剑心比赛]RTX 5080 16GB：剑心 vs 志志雄 3D CGI 与 2D 动画双版本实测]]></title><description><![CDATA[<blockquote>
<p dir="auto">同一条提示词、同一个 seed、同一套模型与采样设置，只把风格前缀从 <code>3D CGI animation</code> 换成 <code>2D traditional anime</code>，各跑一条 12 秒片。<br />
所有数字来自 ComfyUI <code>/history</code>、ffprobe 实测与 2 秒间隔的 nvidia-smi 采样；其他项目在文末明确列出。</p>
</blockquote>
<p dir="auto"><a href="https://www.youtube.com/watch?v=KCfXafYBXw8" rel="nofollow ugc">3D版</a><br />
<a href="https://www.youtube.com/watch?v=56bCSeYFAiI" rel="nofollow ugc">2D版</a></p>
<h2>视频</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>版本</th>
<th>文件</th>
<th>规格（ffprobe 实测）</th>
<th>码率</th>
</tr>
</thead>
<tbody>
<tr>
<td>3D CGI</td>
<td><code>output/video/H3_AB_3D_00001_.mp4</code></td>
<td>H.264 yuv420p，<strong>1344×768</strong>，24 fps，<strong>294 帧</strong>，12.250 s，AAC 32 kHz 立体声</td>
<td>6.34 Mbps</td>
</tr>
<tr>
<td>2D 动画</td>
<td><code>output/video/H3_AB_2D_00001_.mp4</code></td>
<td>同上（同尺寸、同帧数、同时长、同音轨规格）</td>
<td>6.90 Mbps</td>
</tr>
</tbody>
</table>
<p dir="auto">两条都做了 <code>ffmpeg -v error -i ... -f null -</code> 全片解码，<strong>无错误输出</strong>；帧数与时长由 ffprobe 直接读取，不是界面上的取整标签。</p>
<h2>软硬件与模型</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项目</th>
<th>配置</th>
</tr>
</thead>
<tbody>
<tr>
<td>GPU</td>
<td>NVIDIA RTX 5080 16 GB（16303 MiB），单卡</td>
</tr>
<tr>
<td>CPU / 内存</td>
<td>AMD EPYC 7K62（48C/96T）/ 128 GB DDR4-3200</td>
</tr>
<tr>
<td>系统 / 驱动</td>
<td>Ubuntu 24.04.5，kernel 7.0.0-42-generic / 620.70.06</td>
</tr>
<tr>
<td>PyTorch / CUDA</td>
<td>2.14.1+cu130 / CUDA 13.0</td>
</tr>
<tr>
<td>ComfyUI</td>
<td>0.45.0，<code>--lowvram --fast fp16_accumulation</code></td>
</tr>
<tr>
<td>主模型</td>
<td><code>minimax_h3_ref2va_pruned_int8_convrot.safetensors</code>（INT8 ConvRot）</td>
</tr>
<tr>
<td>文本编码器</td>
<td><code>qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors</code></td>
</tr>
<tr>
<td>视频 / 音频 VAE</td>
<td><code>minimax_h3_video_vae_int8_convrot</code> / <code>minimax_h3_audio_vae_fp32</code></td>
</tr>
<tr>
<td>LoRA</td>
<td><code>pika_h3_flex_ref2va_v1_bf16.safetensors</code>，strength 1.0</td>
</tr>
<tr>
<td>Attention</td>
<td>画布节点 <code>SageAttentionPatch</code>，backend=<code>sage</code>（SageAttention 2.2.0，源码自编译）</td>
</tr>
<tr>
<td>采样</td>
<td><code>lcm</code> + <code>ManualSigmas</code> 7 分界点（6 步）：<code>1.0, 0.972973, 0.923077, 0.8, 0.571429, 0.333333, 0.0</code></td>
</tr>
<tr>
<td>分辨率 / 长度</td>
<td><code>WHResolution</code> 预设 <code>1344 x 768 — 16:9 横屏</code>；<code>PrimitiveFloat</code> 12.0 s → 吸附 17 帧网格 = <strong>294 帧</strong></td>
</tr>
<tr>
<td>Seed</td>
<td><strong>20261114</strong>（两条完全相同）</td>
</tr>
<tr>
<td>参考图</td>
<td><strong>6 张</strong>（<code>input/1.jpeg</code> … <code>6.jpeg</code>），<code>ref_image_size = match</code></td>
</tr>
</tbody>
</table>
<h2>提示词（两版只差第一行风格前缀）</h2>
<pre><code>(Style: 3D CGI animation) Masterpiece, high quality, cinematic lighting.
Subject: A fierce battle sequence featuring two characters based on the reference images—a red-clad swordsman (Jianxin) and a purple-robed warrior (Zhizhixiong).
Action: The camera begins with a dynamic low-angle tracking shot. The swordsman in red dashes forward with a long sword, leaving a glowing trail, while the warrior in purple stands firm and executes a sweeping counter-attack with a flaming effect. They clash in the center of the frame, creating a shockwave of energy and sparks. The camera rapidly orbits around them as the fiery battle intensifies, concluding with the red-clad swordsman landing gracefully while the purple warrior points his weapon forward, both facing the camera.
Environment: Dramatic background with embers floating in the air, high contrast lighting.
</code></pre>
<p dir="auto">2D 版把首行前缀换成 <code>(Style: 2D traditional anime)</code>，其余正文逐字相同。</p>
<h2>六图参考与工作流</h2>
<ul>
<li>走 <code>MiniMaxH3ReferenceToVideo</code> 的自动增长槽位，<code>ref_image_0 … ref_image_5</code> <strong>六个槽全部连了</strong> <code>LoadImage</code>（<code>1.jpeg</code>…<code>6.jpeg</code>），没有把它当首尾帧模型用。</li>
<li><code>vae</code> 与 <code>audio_vae</code> 都接上，参考图进 latent 而非仅作用于文本编码器。</li>
<li>工作流：<code>/home/ubuntu/ai/ComfyUI/user/default/workflows/H3-参考图生视频（6张参考图）.json</code></li>
<li>提交方式：以 history 里已有的成功 API 图为基线，只改 <code>PrimitiveStringMultiline.value</code>（风格+正文）、<code>RandomNoise.noise_seed</code>、<code>SaveVideo.filename_prefix</code>，其余节点逐字不动；脚本 <code>/home/ubuntu/ai/run_h3_ab.py</code>。<br />
<a href="https://upload.lcz.me/uploads/e801c290-139c-4edc-b2f5-e5f68174cc7b.json" rel="nofollow ugc">H3-参考图生视频（6张参考图）.json</a></li>
</ul>
<h2>真实耗时</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>运行</th>
<th>提交时刻</th>
<th>用时（<code>execution_start</code> → <code>execution_success</code>）</th>
<th>显存观察峰值</th>
<th>温度峰值</th>
<th>功耗峰值</th>
<th>GPU 平均利用</th>
</tr>
</thead>
<tbody>
<tr>
<td>3D CGI</td>
<td>19:47:54</td>
<td><strong>366.97 s</strong></td>
<td>15,626 MiB</td>
<td>73.3 °C</td>
<td>335.35 W</td>
<td>94 %</td>
</tr>
<tr>
<td>2D 动画</td>
<td>19:54:03</td>
<td><strong>367.60 s</strong></td>
<td>15,626 MiB</td>
<td>74.4 °C</td>
<td>340.82 W</td>
<td>95 %</td>
</tr>
</tbody>
</table>
<ul>
<li>两条相差 <strong>0.63 秒（0.17%）</strong> —— 换风格对耗时没有实质影响，耗时只由「分辨率 × 帧数 × 步数」决定。</li>
<li>两段合计约 <strong>734.6 秒</strong>（12 分 15 秒），不含排队、抽帧与写报告。</li>
<li><strong>口径说明</strong>：用时含模型加载与 VAE 解码，不是纯采样时间；history <strong>不保存逐节点耗时</strong>，所以本文不给「采样 x 秒 / 条件 x 秒 / 解码 x 秒」的拆分。</li>
<li>遥测为 <code>nvidia-smi -l 2</code> 的 <strong>2 秒间隔采样</strong>（每条 184 个点），是<strong>观察峰值</strong>，不是 CUDA 分配器精确峰值；温度/功耗同理。</li>
<li>日志里采样阶段可见 <code>6 步 × 约 53.4 s/步</code> 的进度条，另有约 53 秒的模型初始化与解码时间计入总时长。</li>
</ul>
<h2>加速手段：SageAttention 2.2.0（挂在画布上，不重启服务）</h2>
<ul>
<li>自写节点 <code>SageAttentionPatch</code>（<code>custom_nodes/comfyui_sage_attention/</code>），内部调核心 <code>get_attention_function("sage")</code> + <code>model.set_model_optimized_attention()</code>，位置在 <code>LoRA → Sage → BasicGuider</code>。</li>
<li>安装时踩了两个真实报错：源码默认 <code>-std=c++17</code> 与 torch 2.14 要求的 C++20 冲突；CUDA 13 toolkit 里没有 <code>cusparse.h</code>（用 pip 的 <code>nvidia/cu13/include</code> 补路径）。</li>
<li>内核微基准（本机 5080，sm_120，warmup 后 30 次平均）：</li>
</ul>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>形状</th>
<th>SageAttention 2.2.0</th>
<th>PyTorch SDPA</th>
<th>比值</th>
</tr>
</thead>
<tbody>
<tr>
<td>B1 H8 L2048 D64</td>
<td>0.19 ms</td>
<td>0.10 ms</td>
<td>0.54×（偏慢）</td>
</tr>
<tr>
<td>B2 H16 L4096 D64</td>
<td>0.54 ms</td>
<td>1.25 ms</td>
<td><strong>2.30×</strong></td>
</tr>
<tr>
<td>B1 H32 L8192 D128</td>
<td>3.82 ms</td>
<td>10.23 ms</td>
<td><strong>2.68×</strong></td>
</tr>
</tbody>
</table>
<ul>
<li><strong>本次没有跑关掉 sage 的对照组</strong>，所以「366.97 / 367.60 秒」是开着 sage 的绝对值，不是相对收益；加速百分比本文不给。要算百分比，需要同 seed、同参数、旁路该节点再跑一次。</li>
</ul>
<h2>画面验收与限制</h2>
<p dir="auto">抽帧方式：每 2 秒一帧拼 6 格缩略图，另单独看 <code>0.2 s / 9.5 s / 11.8 s</code> 三个全分辨率时间点。</p>
<p dir="auto"><strong>3D CGI 版</strong></p>
<ul>
<li>质感属实：体积光、材质高光、地面反射都在，人物有轻微的「手办/3D 渲染」表面感。</li>
<li>身份一致：红衣白袴持刀（剑心）与紫衣长髮（志志雄）全程未变装、未换脸。</li>
<li>动作覆盖：低角度突进 → 火焰横扫与中心碰撞冲击波 → 快速环绕 → 末帧双人正面持械，构图完整。</li>
<li>不足：背景偏「影棚灰底 + 火星」，与提示词里的 "Dramatic background" 相比偏干净；中段贴身相持时间略长。</li>
</ul>
<p dir="auto"><strong>2D 传统动画版</strong></p>
<ul>
<li>质感属实：黑色线稿 + 平涂 + 分层赛璐璐阴影，火焰与背景是绘制的渐变，明显区别于 3D 的体积感。</li>
<li>身份、动作阶段与 3D 版一一对应，末帧同样是双人正面。</li>
<li>不足：火墙与背景的渐变偏平滑，接近「渲染型 2D」而非手绘；环绕段人物仍偶有轻微运动糊。</li>
</ul>
<p dir="auto"><strong>两版共同限制</strong></p>
<ul>
<li>只做了抽样帧目视 + 整片解码验证，<strong>不等于逐帧零瑕疵</strong>。</li>
<li>音频只核对了轨道存在与解码（AAC 32 kHz 立体声），<strong>没有做人耳听评</strong>。</li>
<li>同 seed 只能保证「随机起点相同」，2D/3D 两条画面内容不完全相同属正常，不能当成像素级对照。</li>
</ul>
<h2>复现</h2>
<p dir="auto">带六参考图的工作流 : /home/ubuntu/ai/ComfyUI/user/default/workflows/H3-参考图生视频（6张参考图）.json<br />
参考图             : /home/ubuntu/ai/ComfyUI/input/{1,2,3,4,5,6}.jpeg<br />
A/B 运行脚本        : /home/ubuntu/ai/run_h3_ab.py</p>
<p dir="auto">固定项：seed <code>20261114</code>、lcm、6 步 sigmas、1344×768、294 帧、<code>ref_image_size=match</code>、LoRA 1.0、sage 后端。</p>
<h2>其他项目</h2>
<ul>
<li>2D跑出来和3D几乎没差别，换了个Lora既H3_Ref2V_Anime_Slider_v1重跑了2D版本，其他所有节点相同。</li>
<li>未做 sage 开/关 A/B → 不给加速百分比。</li>
<li>未测逐节点耗时 → 不拆分采样/条件/解码。</li>
<li>显存/温度/功耗是 2 秒采样观察峰值，不是精确峰值；过程峰值 15,626 MiB 已接近 16,303 MiB 上限，说明这两条是在显存边缘跑完的。<br />
<img src="https://upload.lcz.me/uploads/d32bdf8a-1eb6-4444-9e8d-c511fc4cbf46.png" alt="workflow.png" class="img-markdown  img-fluid" /></li>
</ul>
]]></description><link>https://lcz.me/topic/3082</link><generator>RSS for Node</generator><lastBuildDate>Thu, 19 Nov 2026 00:16:35 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/3082.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 15 Nov 2026 04:19:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [H3剑心比赛]RTX 5080 16GB：剑心 vs 志志雄 3D CGI 与 2D 动画双版本实测 on Sun, 15 Nov 2026 05:08:23 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=3c59dda5525" 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 分 · 编号 e3082-4160-1</p>
</blockquote>
]]></description><link>https://lcz.me/post/33456</link><guid isPermaLink="true">https://lcz.me/post/33456</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Sun, 15 Nov 2026 05:08:23 GMT</pubDate></item><item><title><![CDATA[Reply to [H3剑心比赛]RTX 5080 16GB：剑心 vs 志志雄 3D CGI 与 2D 动画双版本实测 on Sun, 15 Nov 2026 05:08:18 GMT]]></title><description><![CDATA[<p dir="auto">过审，20积分比赛结束后结算。</p>
]]></description><link>https://lcz.me/post/33455</link><guid isPermaLink="true">https://lcz.me/post/33455</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Sun, 15 Nov 2026 05:08:18 GMT</pubDate></item></channel></rss>