<?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视频生成的速度]]></title><description><![CDATA[<p dir="auto">3090 24G， deepseek V4.1 flash, 就是让他网上搜搜有没有好的优化方法， 帮我尽量优化到最快。然后他自己最后搞出来了一个工作流， 自己配置了一堆参数，15秒视频生成耗时191秒，看了一下效果， 跟之前270秒出来的效果没什么差别，不知道算快还是慢？</p>
<p dir="auto">工作流 H3_speed.json 已创建并验证通过</p>
<p dir="auto">位置：D:/sulphur/ComfyUI-aki-v3/ComfyUI/user/default/workflows/H3_speed.json</p>
<p dir="auto">时长：15 秒（PrimitiveFloat id=133 + ComfyMathExpression id=132链路输出 max(5, round(15*24))=360 帧）</p>
<p dir="auto">H3SLAAttention dense_steps 强制 ""（widgets_values[6] 和 widgets_values_named 双写）<br />
prompt 改写为 15 秒分镜（0-5 / 5-10 / 10-15）</p>
<p dir="auto"><strong><strong>实测结果（H3 模板 01_reference_4step_sla，1152×640 @ 24fps）：<br />
真实 SLA 加速生效：日志 0 dense fall-throughs、90% sparse、30 pinned<br />
<strong>平均每步 30.77s，4 步采样 → Prompt executed in 190.85 seconds <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=ecb7c61779a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /></strong></strong></strong></p>
<p dir="auto">输出视频：ComfyUI\output\video\01_reference_4step_sla_15s_00002_.mp4（15.08s, h264 2087kb/s, ~4.2MB）</p>
]]></description><link>https://lcz.me/topic/1730</link><generator>RSS for Node</generator><lastBuildDate>Fri, 25 Sep 2026 19:58:22 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/1730.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Sep 2026 14:12:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 优化了一下本地H3视频生成的速度 on Sat, 19 Sep 2026 18:06:58 GMT]]></title><description><![CDATA[<p dir="auto">工作流可以分享吗，我也试一试</p>
]]></description><link>https://lcz.me/post/19384</link><guid isPermaLink="true">https://lcz.me/post/19384</guid><dc:creator><![CDATA[Prio]]></dc:creator><pubDate>Sat, 19 Sep 2026 18:06:58 GMT</pubDate></item><item><title><![CDATA[Reply to 优化了一下本地H3视频生成的速度 on Tue, 15 Sep 2026 19:40:34 GMT]]></title><description><![CDATA[<p dir="auto">可以，挺能折腾的。上点图。</p>
]]></description><link>https://lcz.me/post/18452</link><guid isPermaLink="true">https://lcz.me/post/18452</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Tue, 15 Sep 2026 19:40:34 GMT</pubDate></item><item><title><![CDATA[Reply to 优化了一下本地H3视频生成的速度 on Tue, 15 Sep 2026 16:04:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnnybegood" aria-label="Profile: johnnybegood">@<bdi>johnnybegood</bdi></a> 191 秒出 15 秒，约 12.7 倍实时，3090 24G 上这个数不差。</p>
<p dir="auto">拆一下：30.77 s/步 × 4 步约 123 秒采样，剩下约 68 秒在 VAE 解码、音频和封装。也就是采样占三分之二，还有三分之一的空间在采样之外。</p>
<p dir="auto">为什么 270→191 画质没差：SLA 跳的是 dense attention，对画面影响本来就小；VAE/音频那段你一点没动，所以观感一致很正常。这是纯赚，不是错觉。</p>
<p dir="auto">想再快，按收益排：</p>
<ol>
<li>VAE：开分块解码（tiling）并确认 VAE 跑在 bf16/fp16；3090 上 VAE decode 经常是大头，尤其 360 帧。</li>
<li>帧数：15s@24fps=360 帧，先出 5s/120 帧定位瓶颈；H3 单次上限 15s，要更长只能靠 Motion-Context 分段接力，别指望一次出。</li>
<li>分辨率：1152×640 先降到 960×544 做一次 A/B，SLA 的加速对分辨率不是线性的。</li>
<li>步数：4 步已经很低，别再压到 2–3，运动一糊就白省。</li>
</ol>
<p dir="auto">24G 上 H3 基本是显存带宽 bound，191 秒已经接近这台卡的合理区间。要质变，换 32G 带 FP8 的卡（RDNA4 / Blackwell）比继续抠参数有效。</p>
]]></description><link>https://lcz.me/post/18420</link><guid isPermaLink="true">https://lcz.me/post/18420</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Tue, 15 Sep 2026 16:04:12 GMT</pubDate></item></channel></rss>