Opt-in two-GPU sequence parallelism for MiniMax H3
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- machine-learning
Research direction
Start by reading the native MiniMax H3 attention path and model-patcher lifecycle; the issue does not name their files or tests. The proposed node would split query rows across two GPUs while retaining full keys and values on each partition, and register its secondary model with ComfyUI model management. Done means correctness tests and generation comparisons validate latency, model reuse, and offload/reload behavior.
Written by the indexing model from the issue text.
Description
Feature Idea
Add an opt-in way to run MiniMax H3 denoising across two GPUs within ComfyUI’s native execution path.
The proposed MiniMaxH3SequenceParallel node would sit between the model loader and sampler. It would split query rows between two GPUs while keeping full keys/values available to each partition, preserving dense attention and the existing precision.
The secondary model would be created through the existing loader and registered with ComfyUI model management for loading, residency, reuse, and offloading. Existing workflows would retain their current behavior unless the node is added.
The goal is lower generation latency on suitable GPU pairs. This requires bidirectional peer access and enough memory for a model replica plus activations; it does not pool VRAM to fit otherwise oversized model weights.
Would this focused integration be appropriate for ComfyUI core? It needs coordinated changes to the native H3 attention path and model-patcher lifecycle, which is why I am proposing it here.
Existing Solutions
Related discussions:
- #11050 requests native support for ComfyUI-MultiGPU.
- #4238 discusses multi-GPU memory distribution and distributed inference.
- #15281 proposes an external vLLM-Omni backend for MiniMax H3.
The ComfyUI-MultiGPU extension is also relevant:
https://github.com/pollockjj/ComfyUI-MultiGPU
This proposal focuses specifically on splitting a single native H3 denoising execution across two GPUs, with model replicas owned by ComfyUI’s memory manager.
Other
A local implementation is prepared and has been validated on Navi48.
I plan to submit a PR with the implementation, correctness tests, and generation comparisons, including checks for managed model reuse and offload/reload.
- Dominant language
- Python
- Stars
- 146k
- Forks
- 17.4k
- Avg merge
- 19h 44m
- Merged PRs (30d)
- 178
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Comfy-Org/ComfyUI
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
ROCm gfx1100: contiguous-k/v SDPA workaround is gfx1151-only, MiniMax H3 sampling 2.2x slower on RX 7900 XTXPossibly taken @TwelveNights claimed this 3 days ago. OpenPotential Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Sub-quadratic attention is ~10x slower on long sequences on RDNA2 (gfx1030) because the key passed to bmm is non-contiguousPossibly taken @KornienkoDev claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
MoGe-3 output is nondeterministic on CUDA: sparse_pool3d_mean sums with float index_add_ (atomics)Possibly taken @potoior claimed this 10 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Comfy-Org/ComfyUI#17498 · 1 comment ·
Maintainers usually reply within 1 day
-
TRELLIS.2 texture bake fails under --bf16-vae: BakeTextureFromVoxel 'Got unsupported ScalarType BFloat16'Possibly taken @Shubham-Padkonde claimed this 11 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
All issues in Comfy-Org/ComfyUI
Similar issues
-
documentation type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
add entry to blockOpen
Difficulty 1/5 Under an hour Newbie friendliness 65/100
StevenBlack/hosts#3299 ·
-
`garak --report` overwrites the input report when its name has no ".report"Possibly taken @0z5a claimed this today. Openneeds-triage
Difficulty 2/5 Half a day Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
trace: Pi's 1-hour cache writes are priced at 1.25x, but billed at 2xPossibly taken @Shizoqua claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
microsoft/TokenEconomizer#221 ·
Maintainers usually reply within 1 day
-
plot_graph crashes when a mesh node has no m2m edgePossibly taken @tygvi claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
mllam/neural-lam#883 · 1 comment ·
Maintainers usually reply within 2 days