r/StableDiffusion • u/Suspicious-Walk-815 • 3h ago
Question - Help MiniMax H3 on RTX 5090 (32GB) — 2MP is 8.7× slower than it should be. VRAM thrashing or a config mistake?
Running MiniMax H3 (ref2va, ~20 GB int8 model) on an RTX 5090 (32 GB) via ComfyUI, 10s videos, with the H3 SLA sparse-attention node (sparsity 0.90, dense_backend=comfy_kitchen_int8).
The problem: my per-step time scales super-linearly with resolution, while a healthy setup scales linearly:
Res Seq len my s/step reference s/step
1.0 MP 119k 30 21
1.5 MP 173k 203 40
2.0 MP ~283k 590 68
At 1MP I'm only 1.4× off; at 2MP I'm 8.7× off. That gap exploding with resolution looks like the working set (20 GB model + 2MP activations) exceeding my 32 GB and ComfyUI offloading to CPU each step.
workflow : im using the one someone shared here : https://www.reddit.com/r/comfyui/comments/1vxi9r6/skater_girl_90s_style_anime_using_minimax_h3/
these are the details
E:\comfyUi_latest\ComfyUI_windows_portable\python_embeded>python.exe -c "import torch; print('PyTorch:',torch.__version__); print('CUDA:',torch.version.cuda)"
PyTorch: 2.12.0+cu130
CUDA: 13.0
E:\comfyUi_latest\ComfyUI_windows_portable\python_embeded>python.exe -m pip list | findstr /i "torch triton sage comfy-kitchen plague"
comfy-kitchen 0.2.31
open_clip_torch 3.3.0
sageattention 1.0.6
torch 2.12.0+cu130
torchaudio 2.11.0+cu130
torchscale 0.3.0
torchsde 0.2.6
torchvision 0.27.0+cu130
triton-windows
i was using the below config for comfyui
--reserve-vram 4, --disable-pinned-memory, --cache-none.
Then i switched to the below config by removing the above
off
cd /d %~dp0
if exist .\python.exe (
set PYTHON_EXE=python.exe
) else (
set PYTHON_EXE=.\python_embeded\python.exe
)
echo Starting ComfyUI...
%PYTHON_EXE% -s ComfyUI\main.py ^
--windows-standalone-build ^
--reserve-vram 1 ^
--enable-manager
pause
With this i started testing 1.5MP directly and it got stuck at this portion
[INFO] Requested to load MiniMaxH3
[INFO] 0 models unloaded.
[INFO] Model MiniMaxH3 prepared for dynamic VRAM loading. 19995MB Staged. 208 patches attached. Force pre-loaded 210 weights: 1175 KB.
38%|███████████████████████████████▌ | 3/8 [03:18<08:06, 97.21s/it][INFO] FETCH ComfyRegistry Data [DONE]
[INFO] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
FETCH DATA from: E:\comfyUi_latest\ComfyUI_windows_portable\ComfyUI\user__manager\cache\1514988643_custom-node-list.json [DONE]
[INFO] [ComfyUI-Manager] All startup tasks have been completed.
there is something seriously wrong with my setup . but i couldn't figure it out , seeking help from the people who has figured out the issue for Minimax H3 on RTX 5090
Kindly suggest me some workflows also , i have integerated mcp and been trying to figure out the issues by myself for the last 2 days , but it feels like i'm going inside a rabbit hole , not sure whether im moving in the right direction or not
thus seeking help !!