BSAI-ComfyUI-FastH3
ComfyUI nodes for fast H3 video (with synced audio) generation: 4-step FastVideo FastH3 + Native VSA (Video Sparse Attention). Text-to-Video / Image-to-Video / Multi-reference / 4K Upscale.
BSAI-ComfyUI-FastH3
BSAI · ComfyUI 快速生成 H3 视频插件套件 / Fast H3 Video Generation Nodes for ComfyUI 4 步蒸馏 FastH3(v1/v0.2)+ 8 步 V2(2026-09-15 发布)+ 3 步 TaoMate(阿里淘天 2026-09 发布)+ Native VSA 视频稀疏注意力,文生 / 图生 / 多参考(多参)/ 4K 超分 全链路一键出片。 One-stop nodes for fast H3 video (with synced audio) in ComfyUI — 4-step distilled FastH3 (v1/v0.2) + 8-Step V2 (released 2026-09-15) + 3-Step TaoMate (TaoLive AIGC, 2026-09) + VSA (Video Sparse Attention), covering Text-to-Video / Image-to-Video / Multi-reference / 4K Upscale.
基于(Based on):
- FastVideo
FastVideo-FastH3-4-step-Preview-v1-VSA-DataFree(MiniMax-H3 33B 双模态扩散 Transformer 的无数据 DMD2 蒸馏 / data-free DMD2 distillation) - Kijai
MiniMax-H3-experimental(权重 / weights) - closerAI minimaxH3 Helper(加载器 / VSA / 时间步 / Euler 命名启发,名称启发 inspiration)
- ComfyUI 原生 MiniMax-H3 节点(0.31+)
目录 / Table of Contents
- 插件简介 / Introduction
- 节点清单 / Node Reference
- 安装 / Installation
- 模型下载 / Model Weights
- 示例工作流 1:文生视频+音频(T2VA)/ Workflow 1: Text-to-Video+Audio
- 示例工作流 2:文生+图生+多参+4K 超分 / Workflow 2: T2V+I2V+Multi-ref+4K
- 与官方/其它方案对比 / Comparison
- 原理速览 / How It Works
- FAQ / 排障 / FAQ & Troubleshooting
- 测试记录 / Test Records
- 许可证 / License
1. 插件简介 / Introduction
中文:在 ComfyUI 中快速生成 H3 视频(含同步音轨)。FastVideo 官方提供两条蒸馏路线 + 阿里淘天 TaoMate 3 步 LoRA,本插件三套配方全内置(recipe 一键切换):
| 配方 Recipe | 前向次数 Forwards | 训练阶梯 Ladder | shift (视频/音频) | VSA 稀疏 Sparsity |
|---|---|---|---|---|
| 4 步 Preview v1 / v0.2 | 4(≈12.5× 快于 50 步基座) | 999,749,500,250 | 12 / 3 | 90%(keep 10%) |
| 8 步 V2(2026-09-15 发布) | 8(更高质量路线) | 999,874,749,624,500,375,250,125 | 10 / 3 | 80%(keep 20%) |
| 3 步 TaoMate(2026-09 发布) | 3(最快路线,配原版 H3 底座 + TaoMate LoRA) | 999,750,500 | 12 / 3 | 100%(Dense) |
一次 pipeline 同时输出视频 + 音频。VSA(Video Sparse Attention)把视频自注意力稀疏化进一步压显存与耗时;TaoMate 配方走 Dense(原版 H3 无稀疏训练,勿强行稀疏)。
English: Generate H3 videos with a synced audio track fast inside ComfyUI. FastVideo distills the 50-step H3 base model down to 4 steps (v1/v0.2, ≈ 12.5× fewer forwards), the new 8-Step V2 (2026-09-15, 8 forwards, higher quality), or pairs with the TaoMate-H3 3-step LoRA (TaoLive AIGC, 2026-09, on the original MiniMax-H3 base). VSA (Video Sparse Attention) cuts memory and latency; the TaoMate recipe runs Dense (the base model has no sparse training — do not force sparsity on it). One pipeline produces video + audio at once.
| 痛点 Problem | 解法 Solution |
|---|---|
| H3 基座要 50 去噪步,很慢 / 50-step base is slow | FastH3 蒸馏为 4 步(shift-12 整流调度)、8 步 V2(shift-10)或 TaoMate 3 步(原版 H3 + LoRA)/ distilled to 4 steps (shift-12), 8-Step V2 (shift-10) or TaoMate 3 steps (base H3 + LoRA) |
| 长视频注意力 O(N²) 显存爆炸 / O(N²) attention blows VRAM | VSA 稀疏注意力:64-token 分块,top-k 视频块精确注意力 / 64-token tiled top-k |
| 蒸馏步必须走训练阶梯 / distilled steps need the trained ladder | BSAIFastH3Timesteps 输出 [999,749,500,250](4 步)、[999,874,749,624,500,375,250,125](8 步 V2)或 [999,750,500](3 步 TaoMate)对应 SIGMAS |
| 音视频双调度易错 / dual schedule error-prone | BSAIFastH3EulerSampler 自动检测原生 ModelSamplingAV,单/双调度自动切换 |
2. 节点清单 / Node Reference
| 节点 Node | 作用 Purpose | 关键参数(默认)Key params (default) |
|---|---|---|
| BSAIFastH3Loader | FastH3 专用加载器(Dense 兼容 + 文件名严格校验,支持原版 H3 底座)/ FastH3 loader (Dense-compatible + strict filename check, base-H3 support) | weight_dtype=default,model_type=auto,strict_fast_h3_check=True(接受 _4step/_8step/v2 蒸馏权重或 minimax_h3_fl2va* 原版基座) |
| BSAIFastH3NativeVSA | VSA 稀疏注意力补丁(native / torch 双后端自动切换)+ 配方 shift 补丁 / VSA sparse-attention patch (native/torch auto) + recipe shift | video_keep_percent=10.0,sink_conditioning=exact_kv,backend=auto,min_tokens=8192,recipe=4-step |
| BSAIFastH3Timesteps | 精确时间步:显式训练阶梯 → SIGMAS / exact ladder → SIGMAS | recipe=4-step(内置 999,749,500,250 / 8 步 V2 999,874,749,624,500,375,250,125 / 3 步 TaoMate 999,750,500) |
| BSAIFastH3EulerSampler | FastH3 Euler 采样器(音视频双调度自适应)/ Euler sampler (video/audio schedule adaptive) | shift_video=12.0,shift_audio=3.0,schedule_mode=auto,recipe=4-step(8 步 V2 → shift 10/3,3 步 TaoMate → shift 12/3) |
| BSAIFastH3VSAStats | 只读诊断:sparse/dense/native/torch/errors 命中统计 / read-only VSA hit stats | — |
recipe 说明 / About
recipe:三个节点(VSA / Timesteps / EulerSampler)都带recipe一键预设:
4-step Preview (...):4 步 v1/v0.2 官方契约(阶梯999,749,500,250、shift 12/3、keep 10%)。兼容旧工作流:该参数默认即 4 步,旧 JSON 无需改动。8-step V2 (...):8 步 V2 官方契约(阶梯999,874,749,624,500,375,250,125、shift 10/3、keep 20%)。VSA 节点会自动把模型ModelSamplingAV视频 shift 补丁为 10(V2 与 v1 的 12 不同),Timesteps / 采样器共用该模型即全链路一致。3-step TaoMate (...):3 步 TaoMate 契约(阶梯999,750,500、shift 12/3、keep 100% Dense)。配原版minimax_h3_fl2va_*底座 +TaoMate-H3-step3000-ComfyUI-*.safetensorsLoRA(LoraLoaderModelOnly或 BSAI-ComfyUI-TaoMate 的BSAITaoMateLoRALoader加载)。原版 H3 无稀疏训练,VSA 不参与(Dense 透传)。custom:完全手动(ladder / shift / keep 自行管理)。
2.1 全节点参数详解 / Full Parameter Reference
① BSAIFastH3Loader — 专用加载器 / FastH3 loader
| 参数 Parameter | 选项 Options | 默认 Default | 说明 / Explanation |
|---|---|---|---|
| model | 下拉列表 / dropdown | — | 选择 FastH3 蒸馏权重(4 步 v1/v0.2 含 fastvideo/fasth3/_4step、8 步 V2 含 _8step/v2),或 model_type=base_h3_fl2va 时选原版 MiniMax-H3 基座(minimax_h3_fl2va*,TaoMate 3 步 LoRA 的官方底座)。Select the FastH3 distilled weight (4-step: fastvideo/fasth3/_4step; 8-Step V2: _8step/v2), or the original MiniMax-H3 base (minimax_h3_fl2va*, the official base for the TaoMate 3-step LoRA) when model_type=base_h3_fl2va. |
| weight_dtype | default / fp8_e4m3fn / fp8_e4m3fn_fast / fp8_e5m2 | default | 加载精度。中文:FastH3 官方权重本身是 int8_convrot 量化,default 最稳;fp8 仅当确需再启用,可能引入精度损失。English: FastH3 weights are already int8_convrot-quantized, so default is the safest; fp8 only when really needed (may lose precision). |
| model_type | auto / fast_h3_distill / base_h3_fl2va | auto | 中文:auto 按文件名自动识别(蒸馏或原版基座均可);fast_h3_distill 仅接受 FastH3 蒸馏权重;base_h3_fl2va 仅接受原版 H3 基座(TaoMate 配方用)。English: auto detects from filename (distill or base); fast_h3_distill only distilled; base_h3_fl2va only the original base (TaoMate recipe). |
| strict_fast_h3_check | True / False | True | 中文:开启时按 model_type 校验文件名(蒸馏标记 fastvideo/fasth3/_4step/_8step/v2 或原版基座标记 minimax_h3_fl2va/ref2va/hybrid),防止误加载错误权重(防呆)。关掉可强制加载任意 H3 权重。English: When on, validates filenames against model_type (distill markers fastvideo/fasth3/_4step/_8step/v2 or base markers minimax_h3_fl2va/ref2va/hybrid), preventing accidental wrong-weight loads. Turn off to force-load any H3 weight. |
② BSAIFastH3NativeVSA — 原生 VSA 稀疏注意力 / native sparse attention
| 参数 Parameter | 选项 Options | 默认 Default | 说明 / Explanation |
|---|---|---|---|
| enabled | True / False | True | 中文:总开关。关闭时透传模型、不装 VSA 补丁(全 Dense 生成)。English: Master switch. Off = pass-through model, no VSA patch (fully dense). |
| video_keep_percent | 0.5–100.0(步进 0.5) | 10.0 | 中文:视频 token 中保留精确注意力的 tile 百分比。官方约 10%。越小越快/越省显存,细节损失越大;越大越还原、越慢。English: % of video tiles kept with exact attention. Official ≈10%. Lower = faster/lighter but more detail loss; higher = more faithful but slower. |
| start_percent | 0.0–1.0 | 0.0 | 中文:采样进度在此之前的步跑 Dense(高温预热,画面结构更稳)。English: Steps before this progress run dense (hot-start, more stable structure). |
| end_percent | 0.0–1.0 | 1.0 | 中文:采样进度在此之后的步跑 Dense(尾部细节精修)。English: Steps after this progress run dense (fine-detail refinement at the end). |
| min_tokens | 0–1048576(步进 256) | 8192 | 中文:序列长度小于该值时该注意力调用直接 Dense(短序列稀疏无收益)。English: Attention calls with sequences shorter than this go dense (sparse pays off only on long sequences). |
| sink_conditioning | exact_kv / exact_kv_and_rows / off | exact_kv | 条件行(文本/音频/参考图 KV)处理方式,见下方详解 / How conditioning rows are handled — see detail below. |
| backend | auto / native / torch | auto | 中文:auto 有 comfy_kitchen.sol_attn 内核用 native(Blackwell 最快),否则 torch;native 强制内核;torch 纯 PyTorch 块稀疏(40 系/无内核可用)。English: auto uses the native Blackwell kernel when available, else torch; native forces the kernel; torch uses pure PyTorch block-sparse (RTX 40-series / no kernel). |
| strict_native_backend | True / False | True | 中文:True 时 native 不可用直接报错;False 自动降级 torch 稀疏。English: True fails hard if native is unavailable; False auto-falls-back to torch sparse. |
| verbose | True / False | True | 中文:打印每次 VSA 命中的形状与后端信息(排障用)。English: Log each VSA hit's shapes and backend (for debugging). |
| recipe | 4-step Preview (...) / 8-step V2 (...) / 3-step TaoMate (...) / custom | 4-step Preview (...) | 中文:官方配方一键预设。4 步 = keep 10%(默认,无需补丁);8 步 V2 = keep 20% 并自动把模型 ModelSamplingAV 视频 shift 补丁为 10/3(V2 视频 shift 不是 12!);3 步 TaoMate = keep 100%(Dense 透传,原版 H3 无稀疏训练);custom = 完全手动(可配合原生 MiniMaxH3SigmaShift 使用)。English: One-click official recipe. 4-step = keep 10% (default, no patch); 8-Step V2 = keep 20% + auto-patch the model's ModelSamplingAV video shift to 10/3 (V2's video shift is NOT 12); 3-step TaoMate = keep 100% (Dense pass-through — the base H3 has no sparse training); custom = fully manual (pair with native MiniMaxH3SigmaShift). |
sink_conditioning 选项详解 / sink_conditioning options (选择指南 / how to choose):
| 选项 Option | 含义 / What it does | 开销 Cost | 适合场景 / Best for |
|---|---|---|---|
| exact_kv(默认 / default) | 所有视频 query 都精确看到文本/音频/参考图条件行;条件行 KV 始终完整参与,视频侧才稀疏。All video queries see exact conditioning KV; only video side is sparse. | ~3% | 通用推荐 / general default:图生/多参考生视频、参考图还原优先。Image-to-video / multi-ref, faithfulness first. |
| exact_kv_and_rows | 在 exact_kv 基础上,条件 query 行本身也跑 Dense(条件行注意力全精算)。On top of exact_kv, conditioning query rows also run dense. | 略高 / a bit more | 带音频/配音轨、或音频与参考条件要最稳时。When the video carries an audio track and you need the most stable audio/conditioning alignment. |
| off | 只保留视频块 top-k,不额外保留条件行。Only video top-k kept, no extra conditioning rows. | 最省 / cheapest | 纯文生视频(无参考条件可对齐)、或显存/速度优先。Pure text-to-video, or VRAM/speed first. |
一句话选择 / TL;DR:图生/多参考 →
exact_kv(带音频就用exact_kv_and_rows);纯文生/省显存 →off。Image/multi-ref →exact_kv(add audio →exact_kv_and_rows); pure T2V / tight VRAM →off.
③ BSAIFastH3Timesteps — 精确时间步 / exact timesteps
| 参数 Parameter | 选项 Options | 默认 Default | 说明 / Explanation |
|---|---|---|---|
| ladder | 字符串(逗号分隔 0–1000 timestep)/ comma-separated timesteps | 999,749,500,250 | 中文:FastH3 显式训练的 4 步阶梯(v0.2 官方卡片要求用训练跳点采样,勿用均匀网格)。输出 SIGMAS 末尾自动补 0。recipe=custom 时生效。English: The explicitly trained 4-step ladder (official card requires training jump points, not a uniform grid). Output SIGMAS auto-appends 0. Active when recipe=custom. |
| recipe | 4-step Preview (...) / 8-step V2 (...) / 3-step TaoMate (...) / custom | 4-step Preview (...) | 中文:一键预设官方阶梯。8 步 V2 = 999,874,749,624,500,375,250,125(9 个 sigma 点 = 8 次前向),需模型 shift 10/3(VSA 节点 recipe 已自动补丁);3 步 TaoMate = 999,750,500(4 个 sigma 点 = 3 次前向,shift 12/3);custom = 用上方 ladder。English: One-click official ladder. 8-Step V2 = 999,874,749,624,500,375,250,125 (9 sigma points = 8 forwards), requires model shift 10/3 (auto-patched by the VSA node recipe); 3-step TaoMate = 999,750,500 (4 sigma points = 3 forwards, shift 12/3); custom = use ladder above. |
④ BSAIFastH3EulerSampler — Euler 采样器 / Euler sampler
| 参数 Parameter | 选项 Options | 默认 Default | 说明 / Explanation |
|---|---|---|---|
| shift_video | 0.01–100.0 | 12.0 | 中文:视频流 flow shift(FastH3 官方 shift-12 整流调度)。English: Video flow shift (official shift-12 rectified schedule). |
| shift_audio | 0.01–100.0 | 3.0 | 中文:音频流 flow shift(官方 shift-3)。English: Audio flow shift (official shift-3). |
| schedule_mode | auto / native / legacy_dual | auto | 中文:auto 检测 ComfyUI 0.31+ 原生 ModelSamplingAV——有则单调度 Euler,否则自动切音视频双调度;native 强制单调度;legacy_dual 强制双调度。English: auto detects native ModelSamplingAV (single schedule) vs legacy (dual schedule); native forces single; legacy_dual forces dual. |
| recipe | 4-step Preview (...) / 8-step V2 (...) / 3-step TaoMate (...) / custom | 4-step Preview (...) | 中文:一键预设 shift。4 步 = 视频 12 / 音频 3;8 步 V2 = 视频 10 / 音频 3(注意 V2 视频 shift 不是 12!);3 步 TaoMate = 视频 12 / 音频 3;custom = 用上方 shift 参数。English: One-click shift preset. 4-step = video 12 / audio 3; 8-Step V2 = video 10 / audio 3 (V2's video shift is NOT 12!); 3-step TaoMate = video 12 / audio 3; custom = use the shift params above. |
⑤ BSAIFastH3VSAStats — 命中统计(只读)/ VSA hit stats (read-only)
| 参数 Parameter | 选项 Options | 默认 Default | 说明 / Explanation |
|---|---|---|---|
| model | MODEL 输入 | — | 中文:接 VSA 补丁后的模型即可,节点输出只读统计文本。sparse 计数 > 0 说明 VSA 真实参与采样。English: Feed the patched model; the node outputs read-only stats text. sparse count > 0 proves VSA was actually active. |
3. 安装 / Installation
方法 A:ComfyUI-Manager(推荐 / recommended)
在 Manager → “Custom Nodes Manager” 中搜索
BSAI-ComfyUI-FastH3安装,或在 “Install Custom Nodes” → “Git URL” 粘贴仓库地址后安装。安装后重启 ComfyUI。 SearchBSAI-ComfyUI-FastH3in ComfyUI-Manager, or paste the Git URL in "Install Custom Nodes". Restart ComfyUI after install.
方法 B:手动 git clone / Manual clone
cd ComfyUI/custom_nodes
git clone https://github.com/xm6018924/BSAI-ComfyUI-FastH3.git
重启 ComfyUI 即可。无强制第三方依赖。/ Restart ComfyUI. No mandatory third-party deps.
可选依赖(强烈建议,启用 native VSA 内核,速度最快)/ Optional (strongly recommended for native VSA kernel):
python -m pip install comfy_kitchen
若
comfy_kitchen无sol_attn内核,节点自动降级为纯 PyTorch 块稀疏路径,功能不变、速度略慢;40 系显卡默认走 torch 路径。Ifsol_attnis unavailable the node auto-falls-back to the PyTorch block-sparse path (same function, a bit slower); RTX 40-series uses the torch path by default.
4. 模型下载 / Model Weights
| 文件 File | 放置目录 Folder | 大小 Size |
|---|---|---|
| minimax_h3_fastvideo_vsa_datafree_1300step_4step_int8_convrot.safetensors | models/diffusion_models | ~22.9 GB |
| fastvideo_fasth3_8step_v2_pruned_int8_convrot.safetensors(官方 Comfy-Org repack,推荐 / official, recommended) | models/diffusion_models | ~20.61 GB |
| BSAI_minimax_h3_fastvideo_8step_v2_int8_convrot.safetensors(自转 / self-converted,雪花根因已定位,仅作对照 / root-caused, reference only,见 §4.2) | models/diffusion_models | ~35.97 GB |
| qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors | models/text_encoders | — |
| minimax_h3_video_vae_int8_convrot.safetensors | models/vae | ~3.17 GB |
| minimax_h3_audio_vae_fp32.safetensors | models/vae | — |
| TaoMate-H3-step3000-ComfyUI-BF16.safetensors(3 步 LoRA,recipe 3-step TaoMate 必装 / required for the 3-step recipe) | models/loras | ~1.16 GB |
| minimax_h3_fl2va_pruned_int8_convrot.safetensors(原版 H3 基座,TaoMate 3 步配方底座 / base for the TaoMate 3-step recipe) | models/diffusion_models | ~19.53 GB |
来源 / Sources:
- FastH3 v1 模型卡 / Model card:https://huggingface.co/FastVideo/FastVideo-FastH3-4-step-Preview-v1-VSA-DataFree
- FastH3 v0.2 模型卡 / v0.2 card:https://huggingface.co/FastVideo/FastVideo-Minimax-FastH3-Preview-v0.2
- FastH3 8步 V2 模型卡 / 8-Step V2 card:https://huggingface.co/FastVideo/FastVideo-FastH3-8-Step-V2
- TaoMate-H3 官方仓库 / official repo:https://huggingface.co/TaoLiveAIGC/TaoMate-H3(阿里淘天 TaoLive AIGC;3 步蒸馏 LoRA,rank 128 / alpha 128,step-3000 generator EMA;官方目标是原版 MiniMax-H3)
- KJ 文件仓库 / File repo:https://huggingface.co/Kijai/MiniMax-H3-experimental/tree/main
- 国内镜像 / China mirror:
set HF_ENDPOINT=https://hf-mirror.com(BSAI Pro 启动脚本已默认设置)
⚠️ FastH3 是 蒸馏权重:4 步文件名带
fastvideo ... _4step,8 步 V2 带... _8step/v2。 不要误用 50 步基座minimax_h3_f12va_pruned_w4a8_mixed.safetensors。加载器默认strict_fast_h3_check=True防呆; 确需加载其它 H3 权重可关闭该校验。 ⚠️ FastH3 is the distilled weights: 4-step (filename containsfastvideo ... _4step), 8-Step V2 (contains... _8step/v2). Do not use the 50-step base. The loader validates the filename by default; disablestrict_fast_h3_checkonly if you really need another H3 weight.
4.1. PDD 8 步加速更新(2026-09-02)/ PDD 8-step Acceleration Update
全球最新技术迭代(2026-08-27 → 09-02 检索):官方 alibaba-pai 发布 PDD (Parallel Decoding Distillation) 8 步加速 LoRA, ComfyUI 核心 #15908 已合并支持,可作为 MotionFix 慢动作重拍链的官方加速替代(8 NFE、质量优于 4 步 turbo LoRA)。 Latest global update: alibaba-pai's official PDD 8-step Acc LoRA + ComfyUI core #15908 support — an official 8-NFE acceleration for the MotionFix slow-motion re-shoot chain, higher quality than the 4-step turbo LoRA.
新依赖(可选,仅在 PDD 加速轨需要)/ New optional deps (only for the PDD track)
| 组件 Component | 来源 Source | 说明 Notes |
|---|---|---|
| ComfyUI-MiniMax-H3-PDD-Acc 节点 / nodes | https://github.com/Jalen-Brunson/ComfyUI-MiniMax-H3-PDD-Acc | MiniMaxH3PDDAccApply / PDDAccScheduler / PDDAccWarmupScheduler |
| minimax_h3_ref2va_pdd_acc_8step_comfyui.safetensors | alibaba-pai MiniMax-H3-Acc-LoRAs(官方)/ official | 放 models/pdd_acc/,rank=64, 8-step, 32 步 PDD head bank |
| minimax_h3_fl2va_pdd_acc_8step_comfyui.safetensors | alibaba-pai 官方 / official | 放 models/pdd_acc/(FL2VA 侧,可选) |
| ComfyUI 核心 ≥ #15908 | ComfyUI master | 本机已验证 2504e68d4 |
v2.10 PDD 加速工作流 / PDD-accelerated workflow
文件 / File:example_workflows/BSAI_FastH3_VSA_Kit_v2.10_PDD.json
把 MotionFix 慢动作重拍链从「4 步 turbo LoRA」升级为「官方 PDD 8 步蒸馏」,结构与 v1.2 完全同构(71 节点 / 112 连线):
重拍链模型 / re-shoot model chain:
65(w4a8 ref2va) → 67(ChunkFFN) → 70(MiniMaxH3SigmaShift 12/3)
→ 71(MiniMaxH3PDDAccApply ref2va 8step)
├─ model → 53(BasicGuider) / 56
└─ 72(PDDAccScheduler denoise=0.50) → 57.sigmas
55(KSamplerSelect) = euler ← PDD recipe 强制(非 er_sde)
- 为什么 denoise=0.50:PDD 8 步边界 shift-12 为
[1.0, 0.988, 0.973, 0.952, 0.923, 0.878, 0.800, 0.632, 0.0];denoise=0.50 → 起点 sigma 0.923、跑 4 块,保留 V2V 初始化结构 + PDD 精修细节,最贴近原H3InjectSchedule inject=0.7的 v2v 语义。 - Why denoise=0.50: PDD 8-step shift-12 boundaries are
[1.0, 0.988, 0.973, 0.952, 0.923, 0.878, 0.800, 0.632, 0.0]; denoise=0.50 → start at sigma 0.923, 4 blocks — keeps V2V init structure + PDD detail refinement, matching the originalinject=0.7v2v semantics. - 采样器必须 euler、SigmaShift 12/3、禁用 turbo LoRA(PDD 官方 recipe)。Sampler must be euler, SigmaShift 12/3, no turbo LoRA (official PDD recipe).
- 若想更强重绘/更快,可把
72的 denoise 调到 0.3(起点 0.8,2 块,最快)或 0.7(起点 0.973,6 块,更发散)。For stronger re-render/faster, set72denoise to 0.3 (start 0.8, 2 blocks, fastest) or 0.7 (start 0.973, 6 blocks, more divergent).
FastH3 官方路线图(持续跟进)/ Official roadmap (to track)
| 项目 Item | 状态 Status | 备注 Notes | |---|---|---| | FastH3 Preview v1 发布 / released | ✅ 2026-08-27 | VSA-DataFree / VSA-Synthetic / Dense 两版,4 checkpoint | | FastH3 v0.2 发布 / released | ✅ 2026-09-中旬 | 4 步,step 2900/4000(同一跑次,比 v1 多 1500 步);官方 4 步示例已默认指向 v0.2;采样契约与 v1 相同(ladder [999,749,500,250]) | | FL2VA / Ref2VA 蒸馏版 / distilled checkpoints | ⏳ 尚未发布 | v1/v0.2/V2 卡均说明“FL2VA 和 Ref2VA 未蒸馏”;官方路线图“Omni Ref 为下一个焦点” | | FastH3 8-Step V2 发布 / released | ✅ 2026-09-15 | 8 前向,阶梯 [999,874,749,624,500,375,250,125],视频 shift 10/3(非 12),VSA 80% 稀疏;本插件已内置 recipe | | MLX / Apple Silicon | ✅ 2026-09-01/09-15 | FastMetal-QAD 1.3B/5B/14B;FastH3 4步 v1 的 MLX INT4/6/8 已发布(与本插件无关,Windows 不用) | | nvfp4 / RTX 优化 / PDD 新训练 | ⏳ roadmap | 官方路线图 |
4.2 FastVideo / FastH3 升级跟踪(2026-09-16 更新) / Upgrade tracking
以下信息来源于 FastVideo 官方 HF 组织页、各模型卡与 GitHub NEWS,本插件已据此完成代码升级:
| 事件 Event | 时间 Date | 内容与对本插件的影响 Impact |
|---|---|---|
| FastH3 8-Step V2 发布 | 2026-09-15 | 新的 8 前向无数据 DMD2 检查点,从 MiniMax-H3 蒸馏,80% VSA 稀疏。关键差异:视频 shift = 10(非 v1 的 12),阶梯 8 级 [999,874,749,624,500,375,250,125](九个 sigma 点 = 8 次前向),官方示例 basic_fasth3_8step.py 要求 --steps 9。本插件已内置 recipe="8-step V2"(VSA 自动补丁 shift 10/3 并默认 keep 20%)。 |
| FastH3 Preview v0.2 发布 | 2026-09-中旬 | 4 步,step 2900/4000,与 v1 同跑次。官方 4 步示例已默认指向 v0.2;采样契约与 v1 完全相同(ladder [999,749,500,250]、shift 12/3、keep 10%),本插件无需改动即可使用。 |
| v1 卡修正采样契约 | 2026-09-中旬 | 官方强调:必须按训练阶梯 [999,749,500,250] 采样(本插件默认就是),不要用均匀网格;并添加“Matching LoRA”选项(可只下载蒸馏 LoRA,本插件用全量权路线,不影响)。 |
| ComfyUI 原生 H3 节点 | ✅ | 本机 ComfyUI 已含原生 MiniMaxH3ImageToVideo / MiniMaxH3SigmaShift(默认 12/3),与本插件配合使用。 |
8 步 V2 权重:已自转完成(2026-09-16/17):因 HF 直连不可达、Kijai/Comfy-Org 尚未发布 V2 单文件转换版,从 ModelScope 官方镜像(FastVideo/FastVideo-FastH3-8-Step-V2)拉取 14 个 Diffusers shard(~70GB,sha256 逐一比对 OK)后自写转换器合并,产物 BSAI_minimax_h3_fastvideo_8step_v2_int8_convrot.safetensors(35.97GB / int8_tensorwise+convrot,250 层 gs=256 + 50 层 adaln gs=64)。放入 models/diffusion_models,运行新工作流 example_workflows/BSAI_FastH3_T2VA_8step_V2.json 即可(已内置 8 步阶梯 / shift 10/3 / keep 20%)。验证详情见 §10。
FL2VA / Ref2VA 蒸馏版尚未发布:据官方消息,“Omni Ref 是下一个焦点”,发布后本插件跟进。
4.3 FastVideo / FastH3 / 生态升级跟踪(2026-09-18 更新) / Upgrade tracking
以下信息来源于 FastVideo 官方 HF 组织页、各模型卡、GitHub NEWS 与 B 站/头条生态实测(BV1mseM6oEQT 等),本插件已据此完成代码升级:
| 事件 Event | 时间 Date | 内容与对本插件的影响 Impact |
|---|---|---|
| TaoMate-H3 3 步 LoRA 发布 | 2026-09-中旬 | 阿里淘天 TaoLive AIGC 发布 TaoMate-H3:3 步蒸馏 LoRA(rank 128/alpha 128,step-3000 generator EMA),官方目标是原版 MiniMax-H3(FL2VA 分支),无需 FastH3 蒸馏权重。ComfyUI 兼容版 TaoMate-H3-step3000-ComfyUI-BF16/FP32.safetensors 已由社区转换。实测:Euler 采样器 + CFG 1.2~1.5 效果最佳、LoRA 强度勿过高(1.0 会糊脸);勿叠加旧缓存插件(3 步已极少步数,额外缓存收益有限且可能破坏训练语义)。本插件新增 recipe="3-step TaoMate"(阶梯 999,750,500、shift 12/3、keep 100% Dense),Loader 新增 model_type=base_h3_fl2va 支持原版底座。 |
| nonchucks / VC-Attention(免训练加速注意力) | 2026-09-16 | Nunchux AI 发布 VC-Attention / Nunchux Attention:VSMOOTH(压误差)+ XCAST-FP8(优化 softmax),B200 比 BF16 flash attention 快 ~1.91×、B300 ~1.83×,画质比 SAGE Attention 2 更接近原版。当前无公开 kernel(No public kernel),为商业产品预告,ComfyUI 尚未内置;本插件无需改动,待官方/ComfyUI 内置后工作流经 ModelAttentionBackend 自动受益。 |
| ComfyUI 0.36.0 MiniMax-H3 优化 | 2026-09-16 | ComfyUI 0.36.0 加入 MiniMax H3 VAE 优化、视频拼接/Flux 视频编辑/通用循环等节点;FastVideo FastH3 8 步蒸馏(文生/图生+音频)原生模板。本机 ComfyUI 已升级 0.36.0;官方 V2 工作流验证:视频 VAE 必须用 int8 版(fp16 版在 0.36.0 decode 雪花+OOM,根因已定位)。 |
| FastH3 V2 + TaoMate 叠加实测 | 2026-09-18 | 社区实测将 TaoMate 3 步 LoRA 叠加到 FastH3 V2 上可“3 步极速 + 视频放大”(非官方组合,官方目标是原版 H3);有参考生视频(多参考图)版本可用但需调参。本插件 3-step TaoMate 配方优先走官方组合(原版 H3 + LoRA),如需叠加 V2 用 recipe=custom 手动管理。 |
5. 示例工作流 1:文生视频+音频(T2VA)/ Workflow 1: Text-to-Video+Audio
文件 / File:example_workflows/BSAI_FastH3_T2VA_4step_VSA.json
最小可跑链路,文生视频 + 同步音轨,4 步出片。/ Minimal runnable chain: text-to-video + synced audio in 4 steps.
BSAIFastH3Loader ─► BSAIFastH3NativeVSA ─┬─► BasicGuider ─┐
├─► BSAIFastH3Timesteps ─► SamplerCustomAdvanced
└─► BSAIFastH3VSAStats ▲ ▲ ▲
CLIPLoader(qwen3vl32b) ─┐ │ │ │
MiniMaxH3ImageToVideo ◄─┴─ VAELoader(video) ──► positive/latent ──┘ │ │
RandomNoise ────────────────────────────────────────────────────────┘ │
BSAIFastH3EulerSampler ───────────────────────────────────────────────┘
SamplerCustomAdvanced ─┬─► VAEDecode ─► CreateVideo(24fps) ─► SaveVideo
└─► VAEDecodeAudio ─► SaveAudio / CreateVideo 音轨
使用步骤 / How to use:
- 确认第 4 节 4 个权重文件已就位,
BSAIFastH3Loader下拉选中 FastH3 4 步模型。Make sure the 4 weights in §4 are in place; select the FastH3 4-step model inBSAIFastH3Loader. - 在
MiniMaxH3ImageToVideo.prompt填提示词(示例已含一段电影感描述)。Fill the prompt (a cinematic sample is included). - 点运行 / Queue。默认 864×480 (0.4MP 16:9)、124 帧 ≈ 5s、4 步、seed 123456662。
- 跑完看
BSAIFastH3VSAStats:sparse计数 > 0 即证明 VSA 真实参与。After the run checkBSAIFastH3VSAStats:sparsecount > 0 proves VSA was active.
参数调整 / Tuning:
- 时长 / Duration:改
MiniMaxH3ImageToVideo.length(124≈5s;训练区间约 124–362,再长未充分测试)。 - 分辨率 / Resolution:改
width/height(32 的倍数;0.4MP 起步,显存不够先降)。 - 随机种子 / Seed:
RandomNoise.noise_seed。
8 步 V2 变体 / 8-step V2 variant:example_workflows/BSAI_FastH3_T2VA_8step_V2.json。已内置 8 步阶梯 999,874,749,624,500,375,250,125、shift 10/3、VSA keep 20%;官方权重 fastvideo_fasth3_8step_v2_pruned_int8_convrot.safetensors 已由 Comfy-Org 于 2026-09-15 发布(FastVideo/FastVideo-FastH3-Comfy),本机已验证正常出片(视频 VAE 请用 minimax_h3_video_vae_int8_convrot.safetensors——fp16 版在本机 ComfyUI 0.36.0 decode 异常/雪花)。
3 步 TaoMate 变体 / 3-step TaoMate variant:example_workflows/BSAI_FastH3_T2VA_3step_TaoMate.json。最快路线:原版 H3 底座(minimax_h3_fl2va_pruned_int8_convrot.safetensors,Loader model_type=base_h3_fl2va)+ TaoMate-H3-step3000-ComfyUI-*.safetensors LoRA(LoraLoaderModelOnly,strength 1.0)+ recipe 3-step TaoMate(阶梯 999,750,500、shift 12/3、keep 100% Dense)。注意视频 VAE 用 int8 版(示例已内置;fp16 版雪花)。CFG 建议 1.2~1.5(用 CFGGuider 替换 BasicGuider 可调)。
6. 示例工作流 2:文生+图生+多参+4K 超分 / Workflow 2: T2V+I2V+Multi-ref+4K
文件 / File:example_workflows/BSAI_FastH3_T2V_I2V_MultiRef_4K_v1.0.json
完整商业链路:文生视频(T2V)+ 图生/多参考(I2V/Ref2V)+ 音频 + BSAI-H3-upscale-4K 超分放大,
用 easy ifElse 一键切换模式,最后经 VHS_VideoCombine 导出。33 节点 / 46 连线。
Full pipeline: T2V + I2V/Multi-ref + audio + BSAI-H3-upscale-4K, mode switched by easy ifElse, exported via VHS_VideoCombine. 33 nodes / 46 links.
前置依赖(除本插件外还需安装)/ Extra plugins required:
| 依赖 Plugin | 用途 Purpose | 安装 / Install |
|---|---|---|
| BSAI-MiniMAX-H3-Prompt | BSAI_H3_PromptTemplate 提示词模板 / prompt template | Manager 或 git clone |
| BSAI-H3-upscale-4K | BSAI_H3_Upscale4K 4K 超分放大 / 4K upscale | Manager 或 git clone |
| KJ MiniMax-H3-experimental 节点包 | MiniMaxH3ImageToVideo / MiniMaxH3ReferenceToVideo | 见 KJ 仓库 |
| ComfyUI-Easy-Use | easy ifElse 模式切换 / mode switch | Manager |
| VideoHelperSuite (VHS) | VHS_VideoCombine 导出 / export | Manager |
| ComfyMath | ResolutionSelector / ComfyMathExpression | Manager |
| pysssss(Custom-Scripts) | ShowText\|pysssss 输出 / text preview | Manager |
| Muye 系节点 | MuyeTextEditOutput | 按需 / optional |
使用步骤 / How to use:
- 装齐上表依赖并重启 ComfyUI。Install deps above and restart.
- 准备素材:3 个
LoadImage放入参考图(角色/服装/场景);用BSAI_H3_PromptTemplate选模板或直接手填提示词。Prepare 3 ref images; use the prompt template or write your own. - 模式切换 / Mode switch:
easy ifElse布尔开关(PrimitiveBoolean)在 文生 T2V(MiniMaxH3ImageToVideo,864×480) 与 图生/多参 Ref2V(MiniMaxH3ReferenceToVideo,544×960 竖屏,ref_image_size=max) 之间切换。 - 时长由
ComfyMathExpression按秒数自动换算帧数(Float (duration)输入,默认约 5s)。Duration is auto-converted byComfyMathExpressionfrom a seconds float (≈5s default). - 采样链路与本插件示例 1 相同:Loader → NativeVSA → Timesteps → EulerSampler → SamplerCustomAdvanced。
- 成片先
VAEDecode/VAEDecodeAudio,再进BSAI_H3_Upscale4K(默认NVIDIA RTX Video Super Res4 倍),最后VHS_VideoCombine导出 mp4(24fps)。Frames → upscale 4K → export mp4.
提示 / Tip:
BSAI_H3_Upscale4K与BSAI_H3_PromptTemplate属独立 BSAI 仓库,若只想要最简 4 步出片,用示例工作流 1 即可。The two BSAI nodes are separate repos; use Workflow 1 if you only need minimal 4-step output.
6.1. 示例工作流 3:打斗动作毛刺/模糊修复(3 轨对比)/ Workflow 3: Fight-Scene Glitch & Blur Fix (3-track)
文件 / File:example_workflows/BSAI H3 MotionFix 打斗毛刺模糊修复 v2.3 (慢动作重拍 4轨对比).json
针对 FastH3 4 步蒸馏模型在高速打斗/奔跑/大位移镜头下的画面毛刺、拖影/残影、时序闪烁与噪点问题,4 条输出轨同时跑、对比选优。63 节点 / 105 连线(v2.3 在 v2.2 基础上内置 MAINodes 慢动作重拍链)。 Targets glitches/smear/flicker/noise of the FastH3 4-step distilled model on fast fight/run/high-motion shots, with 4 output tracks for A/B/C/D comparison. 63 nodes / 105 links (v2.3 adds the built-in MAINodes slow-motion re-shoot chain on top of v2.2).
┌─► 直出 SaveVideo(FastH3 4步原片,快速预览)
FastH3 4步轨 ┼─► FlashVSR 时序修复轨(默认看这条:scale=2 去噪+时间一致性)
├─► 原生 24 步终稿轨(默认静音,Ctrl+M 启用 → 根治 4 步模糊)
└─► MAINodes 慢动作重拍轨(默认静音,Ctrl+M 启用 → 动作热力+慢放重绘,最对症残影)
v2.3 关键参数(按 2026-08-31 全网最新证据优化)/ v2.3 key params (tuned per latest evidence): | 位置 Location | 值 Value | 依据 Evidence | |---|---|---| | FlashVSR scale | 2(官方默认) | 4 倍放大对高动态打斗会放大噪点/伪影;2 倍时序去噪最稳 | | 原生终稿轨步数 | 24 | 社区共识打斗/大动态 20–24 步,取上限更稳 | | 重拍链 JerkOracle | q=0.75, d_max=4, ramp=ON | 动作热力检测「慢动作重拍」:快动作区慢放→V2V 重绘→恢复帧率 | | 重拍链 InjectSchedule | simple, 25 步, inject=0.70 | 二次采样 partial denoise,0.5 保原画 / 0.8 更发散 | | 重拍链二次采样模型 | 原生 ref2va(终稿轨同款) | 与 MAINodes 官方 pipeline 一致,不用 4 步蒸馏做 partial denoise |
前置依赖(除本插件外还需安装)/ Extra plugins required:
| 依赖 Plugin | 用途 Purpose | 安装 / Install |
|---|---|---|
| BSAI-H3-MotionFix | BSAI_H3_MotionFix 毛刺修复向导 + 终稿轨参考 / fix guide | Manager 或 git clone |
| KJ MiniMax-H3-experimental 节点包 | H3 原生节点 / native H3 nodes | 见 KJ 仓库 |
| ComfyUI-FlashVSR_Ultra_Fast | FlashVSRNode 时序修复 / temporal repair | Manager 或 git clone |
| ComfyUI-Easy-Use | easy ifElse 模式切换 | Manager |
| VideoHelperSuite (VHS) | VHS_VideoCombine 导出 | Manager |
| ComfyMath | ResolutionSelector / ComfyMathExpression | Manager |
| pysssss(Custom-Scripts) | ShowText\|pysssss 输出 | Manager |
使用步骤 / How to use:
- 装齐依赖并重启 ComfyUI。Install deps and restart.
- 填入参考图(LoadImage)、提示词模板(
BSAI_H3_PromptTemplate,内置武打/散打对咏春等模板)。 - 主轨参数由
BSAI_H3_MotionFix自动驱动(VSA 开关 / 时间步阶梯 / 参考长度);Float (duration)默认 5s 自动换算帧数。 - 点 Run:FlashVSR 修复轨(默认最值得看)输出「BSAI MotionFix FlashVSR 时序修复」mp4;直出轨秒出预览。
- 打斗关键镜头:框选标题含「BSAI MotionFix 终稿轨」的节点 → Ctrl+M 启用原生 24 步终稿轨,重跑对比。
- 仍残影:按说明文档 5.6 节接 MAINodes 慢动作重拍链(本机已装 H3JerkOracle 等全套)。
完整使用说明见
BSAI-H3-MotionFix/workflows/README-MotionFix-v2.0-打斗毛刺模糊修复说明.md(中英双语)。 Full docs:README-MotionFix-v2.0-...md(bilingual) in the BSAI-H3-MotionFix repo.
7. 与官方/其它方案对比 / Comparison
| 方案 Solution | 去噪步数 Steps | 注意力 Attention | 一句话 Summary | |---|---|---|---| | MiniMax-H3 基座 / base | 50 | Dense | 慢、显存高,参考用 / slow, heavy VRAM | | MiniMax-H3 4步加速 LoRA | 4 | Dense | 快但仍全注意力 / fast but full attention | | FastH3(本插件 / this pack) | 4 | VSA ~90% 稀疏 | 更快、更省显存 / faster & lighter VRAM |
官方基准 / Official baseline(FastVideo 模型卡):1344×768@24FPS 单 Blackwell 5s≈16s / 10s≈31s / 15s≈47s;8×B200 5s≈6.8s。 第三方评测(aigc.douyoubuy.cn):RTX 4060 Ti 8GB 实测 FastH3 0.4MP 5s ≈ 360s,比 4 步加速 LoRA 快约 1 分钟。
8. 原理速览 / How It Works
- FastH3 = 无数据 DMD2 蒸馏:把 50 步 H3 蒸馏到 4 步,按 shift-12 整流调度在训练好的跳跃点
999→749→500→250行走,一次 pipeline 同时生成同步视频+音频。 Data-free DMD2 distillation: 50→4 steps on the shift-12 rectified schedule (999→749→500→250), producing synced video+audio in one pass. - VSA(Video Sparse Attention):按 64-token 分块,用学习到的门控/打分选出重要视频块,仅对它们做精确注意力;文本/音频/参考等条件行始终精确。Blackwell 由专用内核加速。 VSA: 64-token tiled scoring, exact attention only on important video blocks; conditioning rows (text/audio/ref) always exact. Hardware kernel on Blackwell.
- 本插件 torch 后端 / torch backend:块质心点积打分门控,每视频 query 块保留
video_keep_percent的视频块 + 全部条件 KV,显式 matmul+softmax(兼容任意长度)。native 后端走comfy_kitchen.sol_attn(tau 由 keep_percent 换算)。 native backend:comfy_kitchen.sol_attn(tau derived from keep_percent).
9. FAQ / 排障 / FAQ & Troubleshooting
- 节点红叉 / "expects a MiniMax-H3 diffusion model":
BSAIFastH3NativeVSA只能接 H3 模型(MiniMaxH3ImageToVideo/MiniMaxH3ReferenceToVideo的 conditioning 链路、原生 H3 加载的模型)。 strict_fast_h3_check报错 / error:加载的文件名不含fastvideo/fasth3/_4step—— 确认放的是 FastH3 4 步权重;确需强载则关闭该校验。- native 不可用 / unavailable:装了
comfy_kitchen但没sol_attn内核 → 自动用 torch 后端(40 系默认)。40-series defaults to torch. - 和 Sage/其它注意力 patch 冲突 / conflicts with other attention patches:本插件通过
optimized_attention_override与既有补丁串接(compose_with_foreign_patches默认开启);仍异常先移除其它注意力 patch 复测。 - 视频与音频不同步 / audio out of sync:确认
schedule_mode=auto(ComfyUI 0.31+ 原生ModelSamplingAV走单调度);老版本自动走视频 shift 12 / 音频 shift 3 双调度。 - 节点爆红 / nodes red after install:新装的节点需重启 ComfyUI 才会注册;FastH3 权重未下载完成(
.xltd临时后缀)时加载器会报找不到模型。New nodes need a ComfyUI restart to register; an unfinished download (.xltdsuffix) makes the loader report "model not found".
10. 测试记录 / Test Records
- Python 3.13.12 · PyTorch 2.11.0+cu130 · CUDA 13.0 · ComfyUI 0.34.0(BSAI Pro v38)
- 5 个节点在真实 ComfyUI 加载机制下全部注册成功 / all 5 nodes registered under the real loader.
- 单元测试通过 / unit tests pass:时间步
[999,749,500,250] → sigmas [0.9999,0.9728,0.9231,0.8,0.0];torch 稀疏注意力条件行与 Dense 全等、形状/有限性正确;BTHD/BHND 两种形态与短序列降级 Dense 均通过。 - native 后端:
comfy_kitchen.sol_attn在 GPU(bf16, head_dim 128, 8192 tokens)实测输出正确。 - 升级验证(2026-09-16)/ upgrade verification:以本机 ComfyUI
ModelSamplingAV实测 8 步 V2 阶梯 sigmas =[0.9999,0.9858,0.9676,0.9432,0.9091,0.8571,0.7692,0.5882,0.0](9 点 = 8 次前向),与官方契约一致;recipe 路线、加载器标记(_8step/v2)与旧工作流兼容性均已验证。 - V2 端到端实跑(2026-09-18):官方权重
fastvideo_fasth3_8step_v2_pruned_int8_convrot.safetensors(ModelScope sha256 校验一致)+ 官方采样链(MiniMaxH3SigmaShift 10/3 → comfy kitchen → BlockSparseAttention vsa keep10 0.2-1.0 → simple/8 → res_multistep)+minimax_h3_video_vae_int8_convrot,864x480x124 帧:画面正常、音频无电流声。⚠️ fp16 视频 VAE 在本机 ComfyUI 0.36.0 decode 异常/雪花(官方模板默认 fp16,BSAI 工作流已改用 int8 版)。End-to-end V2 render verified (official weight + official sampling chain + int8 VAE); fp16 video VAE decode is broken in ComfyUI 0.36.0, so the BSAI workflow uses the int8 VAE. - 3 步 TaoMate 配方升级(2026-09-18):新增
RECIPE_STEP3_TAOMATE(阶梯999,750,500、shift 12/3、keep 100% Dense),Loader 新增model_type(auto/fast_h3_distill/base_h3_fl2va)支持原版minimax_h3_fl2va*底座;新增示例工作流BSAI_FastH3_T2VA_3step_TaoMate.json(原版 H3 pruned int8 + TaoMate BF16 LoRA + int8 视频 VAE)。参数来自用户第 065 期已验证的 TaoMate 工作流(Euler + 3 步 + shift 12/3),社区实测 CFG 1.2~1.5 更佳。py_compile通过、工作流 JSON 结构校验通过。 - V2 权重转换验证(2026-09-16):
BSAI_minimax_h3_fastvideo_8step_v2_int8_convrot.safetensors(35.97GB / 1185 键,BSAI 前缀命名规范)四节验证套件全绿:- 结构重读:I8 300 + U8 300(comfy_quant,全部 int8_tensorwise+convrot,gs 256/64)+ BF16 272 + F32 313,键集与 v1 完全同构(唯一差异 time_embedder MLP ↔ adaln_t_table 曲线);
- ComfyUI
model_detection:识别 MiniMaxH3,gate_compress=True、time_embed_dim=2688、timestep_input_dim=256、rope_inv_freq_len=16; - 真实加载(模拟官方 loader 全流程,mmap 零拷贝,~1s):无 missing、无 unexpected、0 left-over;
- GPU 单块量化前向(DiTBlock + mixed_precision_ops,含 convrot gs=256 与 adaln gs=64 两层路径 + split-half RoPE + gate_compress):无 NaN,输出形状/量级正常。
- 转换中修复的缺陷:量化三元组键名(
.weight.weight_scale→.weight_scale)、头部写入丢失、v1 基线规格核对、量化钩子依赖mixed_precision_ops(非 manual_cast)。 - 端到端出图已实跑通过(2026-09-18,官方权重 + 官方采样链 vsa keep10 + int8 VAE,864x480x124 帧,画面正常、音频无电流声);雪花根因=自转权重 time-embedding 结构(MLP 2688 维)与官方 repack(adaln_t_table 曲线表 8 维)不一致。
11. 许可证 / License
MIT · © BSAI (xm6018924)。代码供学习与商用自由使用,请保留版权声明。 Code is freely usable for study and commercial work; please keep the copyright notice.