{"slug": "minimax-h3-comfyui-r2v-workflow-with-sla-sparse-attention-0-6mp-10s-in-3m12s-on", "title": "MiniMax H3 (ComfyUI) R2V workflow with SLA sparse attention - 0.6MP 10s in 3m12s on RTX 3080 10GB", "summary": "A developer shared a ComfyUI workflow for MiniMax H3 that runs a 0.6MP 10-second R2V generation in 3 minutes 12 seconds on an RTX 3080 10GB. The setup uses the H3SLAAttention custom node with SLA sparse attention, achieving a 3x speedup over dense attention, and includes recommendations for turbo LoRAs and memory settings.", "body_md": "RTX 3080 10GB で 0.6MP・10秒の R2V が **3分12秒**で回る構成です。\n\n**ComfyUI 0.33.0 以降**（動作確認は 0.33.1 / torch 2.13+cu130）\n\n**カスタムノード**\n\n```\ncd ComfyUI/custom_nodes\ngit clone https://github.com/PlagueKind/ComfyUI-PlagueKind-Nodes\n```\n\n`H3SLAAttention`\n\nを使うためのものです。MIT、Triton が必要（sageattention が入っていれば通常は入っています）。\n\n**モデル**（すべて Comfy-Org/MiniMax-H3 から）\n\n| ファイル | 置き場所 |\n|---|---|\n`minimax_h3_ref2va_pruned_int8_convrot.safetensors` |\n`models/diffusion_models/` |\n`qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors` |\n`models/text_encoders/` |\n`minimax_h3_video_vae_fp16.safetensors` |\n`models/vae/` |\n`minimax_h3_audio_vae_fp32.safetensors` |\n`models/vae/` |\n\n**turbo LoRA**（`models/loras/`\n\nに置く）\n\n- 4step:\n[Kijai/MiniMax-H3_comfy](https://huggingface.co/Kijai/MiniMax-H3_comfy)の`minimax_h3_fl2v_lightx2v_turbo_4step_v0.1_comfy_resized_avg_rank_21_bf16.safetensors`\n\n- 8step:\n[drbaph/MiniMax-H3-Turbo-Lora-ComfyUI](https://huggingface.co/drbaph/MiniMax-H3-Turbo-Lora-ComfyUI)の`minimax_h3_turbo_4step_ckpt850_pruned_comfyui.safetensors`\n\n```\n--vram-headroom 2.0 --use-sage-attention --disable-pinned-memory\n```\n\n`--disable-pinned-memory`\n\nは**強く推奨**します。無いと ComfyUI が RAM の40%をページアウト不能に固定し、バッチや構成切り替えで空きRAMが枯れて**同じ設定が4倍遅くなります**。GPU使用率100%・消費電力は定格のまま遅くなるので外形からは判りません。単発では10%遅くなりますが、その価値があります。\n\n| 構成 | サンプリング | 総所要 |\n|---|---|---|\n| sage のみ・ckpt850 8step | 7分48秒 | 9分42秒 |\n| sage + SLA・ckpt850 8step | 3分57秒 | 5分31秒 |\nsage + SLA + nopin・lightx2v 4step |\n2分03秒 |\n3分12秒 |\n\n同梱の JSON は最後の構成（lightx2v 4step）です。\n\n| step | LoRA | sampler | |\n|---|---|---|---|\n| 静かなカット | 4 | lightx2v（strength 0.75） | `er_sde` |\n| 動きのあるカット | 8 | ckpt850（strength 1.0） | `res_multistep` |\n\n**速い動きは 4step で破綻します**（武器を薙ぐ、ダンス等）。8step で解消します。\n\n| 項目 | 値 | 理由 |\n|---|---|---|\n| 配置 | チェーンの最後、Scheduler と Guider の両方に直結 |\n作者の必須要件。外すと効かない |\n| sparsity_ratio | 0.90 | break-even は 0.60。それ以下では密より遅い |\n| block_size | 64 |\n128 は台詞が robotic になる。H3 は音声を毎秒80行で詰めるため |\n| protect_audio | オン |\n音声は系列の約1%しかなく、切ると音だけ劣化する。コスト約7% |\n| min_seq_len | 8192 | これ未満の系列は自動的に密に戻る（低解像度・短尺では効かない） |\n\n効いているかは **stderr のログ**で確認できます。\n\n```\nSLA: 400 calls | S=49826 | blocks 151/779 kept (80.6% sparse) | 0 dense fall-throughs | displaced attention_sage\n```\n\n`displaced attention_pytorch`\n\nと出たら sage が無効です。\n\n`MiniMaxH3SigmaShift`\n\nの音声側は **3.0** が正です。6.0 にすると 4step で音声を踏み越えてノイズになります。turbo 使用時の音声ノイズはほぼこれが原因です。\n\n- プロンプト（プレースホルダが入っています）\n`example_character.png`\n\n/`example_background.png`\n\nを自分の参照画像に- 出力先\n`H3/output`\n\n背景を固定したいカットが複数ある場合は、**背景の一枚絵を2枚目の参照に入れてください**。本文で空間を細かく書いても、参照が無いとカットごとに別の場所になります。", "url": "https://wpnews.pro/news/minimax-h3-comfyui-r2v-workflow-with-sla-sparse-attention-0-6mp-10s-in-3m12s-on", "canonical_source": "https://gist.github.com/junzhisangcun/bb5b541d8d369636a075442dc69e14bd", "published_at": "2026-08-26 01:28:58+00:00", "updated_at": "2026-08-26 11:44:19.184895+00:00", "lang": "en", "topics": ["generative-ai", "ai-tools", "ai-infrastructure", "large-language-models"], "entities": ["MiniMax H3", "ComfyUI", "RTX 3080", "H3SLAAttention", "PlagueKind", "Kijai", "drbaph", "Comfy-Org"], "alternates": {"html": "https://wpnews.pro/news/minimax-h3-comfyui-r2v-workflow-with-sla-sparse-attention-0-6mp-10s-in-3m12s-on", "markdown": "https://wpnews.pro/news/minimax-h3-comfyui-r2v-workflow-with-sla-sparse-attention-0-6mp-10s-in-3m12s-on.md", "text": "https://wpnews.pro/news/minimax-h3-comfyui-r2v-workflow-with-sla-sparse-attention-0-6mp-10s-in-3m12s-on.txt", "jsonld": "https://wpnews.pro/news/minimax-h3-comfyui-r2v-workflow-with-sla-sparse-attention-0-6mp-10s-in-3m12s-on.jsonld"}}