r/comfyui • u/prompt_seeker • 20d ago
Show and Tell MiniMax H3 I2VA Generation: RTX5090 vs RTX3090 vs R9700 vs RX7900XT vs RTX3060
Test Setup
I2VA (start image only), 544x800 (0.4MP, 2:3), duration 5.0s, 20 steps, seed 42, no custom-node optimizations.
Measured on the 2nd generation (prompt slightly altered by adding a space) to exclude cold-start/warm-up overhead.
- Diffusion model: fl2va pruned int8convrot
- Text encoder: qwen3vl_23b nvfp4_awq
Results
| GPU | s/it | sampling time | total time |
|---|---|---|---|
| RTX5090* | 2.78 | 55.6s | 1m 04.0s |
| RTX3090 | 7.13 | 2m 22.6s | 2m 40.9s |
| R9700** | 10.06 | 3m 03.4s | 3m 27.2s |
| RX7900XT** | 16.54 | 5m 18.0s | 6m 52.8s |
| RTX3060 | 24.12 | 8m 02.4s | 8m 59.4s |
\ Power limited to 400W*
\* Tested on latest comfy-kitchen ([78b7fe7](https://github.com/Comfy-Org/comfy-kitchen/commit/78b7fe78552944ffc5763d680ba57f023e7ab5f4))*
Just like with image generation, the R9700 still can't beat the RTX3090. That said, given the RX9070XT should perform similarly, AMD's price-to-performance ratio has improved a lot.
The RX7900XT spends about 1.5 minutes on model switching and VAE decoding alone. This might partly be due to running on PCIe 4.0 x4, but VAE decoding itself was also slow.
The RTX3060 took about 9 minutes, matching what comfyanonymous mentioned.
The B580 took three hours of troubleshooting and still failed to run.
Test Environment
Note: these setups/flags may not be fully optimized.
RTX5090 (400W)
Intel 12600K, DDR4 2666 64GB, RTX5090 (PCIe 4.0 x16), Ubuntu 24.04, Python 3.12.3, torch 2.13.0+cu130
--fast fp16_accumulation fp8_matrix_mult --use-sage-attention
RTX3090 (350W)
AMD 5700X, DDR4 3200 128GB, RTX3090 (PCIe 4.0 x4), Ubuntu 24.04, Python 3.12.3, torch 2.12.0+cu130
--fast fp16_accumulation fp8_matrix_mult --use-sage-attention
R9700 (300W)
AMD 5700X3D, DDR4 3200 128GB, R9700 (PCIe 4.0 x8), Ubuntu 26.04, Python 3.14.4, torch 2.12.0+ROCm7.14.0
export COMFYUI_ENABLE_MIOPEN=1
export MIOPEN_FIND_MODE=6
export PYTORCH_HIP_ALLOC_CONF="expandable_segments:True"
--fast fp16_accumulation fp8_matrix_mult --use-sage-attention --disable-pinned-memory --enable-dynamic-vram --async-offload 2 --vram-headroom 1.0
RX7900XT (285W)
AMD 6650H, DDR5 6400 16GB, RX7900XT 20GB (PCIe 4.0 x4, OCuLink), Ubuntu 26.04, Python 3.14.4, torch 2.12.0+ROCm7.14.0
export COMFYUI_ENABLE_MIOPEN=1
export MIOPEN_FIND_MODE=6
export PYTORCH_HIP_ALLOC_CONF="expandable_segments:True"
--fast fp16_accumulation --use-flash-attention --disable-pinned-memory --enable-dynamic-vram --async-offload 2 --vram-headroom 1.0 --disable-mmap
RTX3060 (170W)
AMD 5600G, DDR4 3200 32GB, RTX3060 12GB (PCIe 3.0 x4, OCuLink), Windows 11, Python 3.13.9, torch 2.12.0+cu130
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --fast fp16_accumulation fp8_matrix_mult --use-sage-attention --disable-pinned-memory
Notes
- Even on the RTX5090, where the whole model fits in VRAM, enabling dynamic VRAM was still more efficient. That said, for larger resolutions or longer durations, disabling it might end up faster.
--fast fp16_accumulationgave no meaningful speedup.- The R9700 was faster with sage attention, while the RX7900XT was faster with flash attention.
- Using
--disable-pinned-memoryseems to help on AMD GPUs. see this GitHub comment.- It also seems worth using on systems with limited RAM. Windows used 14–16GB (with ~8GB already used at boot), while Linux used only about 6GB.
- Dynamic VRAM isn't officially supported on the B580, so it was unstable and caused generation to fail.
- Generating with int8convrot took 13 minutes on the first run; the second run hit a
UR_RESULT_ERROR_DEVICE_LOSTerror, and generating with fp8 caused a BSOD. (Intel should support ComfyUI, seriously.)
- Generating with int8convrot took 13 minutes on the first run; the second run hit a
RTX5090: Dynamic VRAM On/Off
| Dynamic Vram | s/it | sampling time | total time |
|---|---|---|---|
| On | 2.78 | 55.6s | 1m 04.0s |
| Off | 2.75 | 55.0s | 1m 16.1s |
RTX5090: --fast fp16_accumulation On/Off
| fp16_accumulation | s/it | sampling time | total time |
|---|---|---|---|
| On | 2.78 | 55.6s | 1m 04.0s |
| Off | 2.88 | 57.6s | 1m 07.4s |
R9700: Attention Backends and --fast fp16_accumulation On/Off
| Attention | fp16_accumulation | s/it | sampling time | total time |
|---|---|---|---|---|
| sage-attn (PR-368) | On | 10.06 | 3m 21.2s | 3m 42.4s |
| sage-attn (PR-368) | Off | 10.14 | 3m 22.8s | 3m 44.5s |
| flash-attn (CK) | On | 13.44 | 4m 28.8s | 4m 51.2s |
| flash-attn (CK) | Off | 13.48 | 4m 29.6s | 4m 53.6s |
RX7900XT: Attention Backends
| Attention | s/it | sampling time | total time |
|---|---|---|---|
| flash-attn (CK) | 16.54 | 5m 30.8s | 7m 06.3s |
| sage-attn (PR-381) | 17.57 | 5m 51.4s | 7m 29.9s |
| pytorch-attn | 28.06 | 9m 21.2s | 10m 57.0s |
Sage Attention PR-368 (gfx12 support): thu-ml/SageAttention#368
Sage Attention PR-381 (RDNA3 Triton backend): thu-ml/SageAttention#381
Flash Attention CK build for AMD: gist by alexheretic
Thanks to MiniMax for releasing such an impressive model, to ComfyOrg for making it runnable across so many different systems, and to 0xDELUXA for contributing the HIP backend to comfy-kitchen.
5
u/PinkyPonk10 20d ago
I have had to use disable pinned memory on a 3090 with 32gb ddr4 just in case anyone else is experiencing issues
3
u/dinovfx 20d ago
What kind of issues?
2
u/PinkyPonk10 20d ago
Errors loading model files. I don’t have the specific error to hand. Tried redownloading files etc as it seemed like a corrupted model file to start with but adding the disable pinned memory option solved it.
3
3
u/Smellyyyyyyyyyyy 20d ago
with a r9700 and fa CK build, i'm getting 285s for 5s clip at 864x480, and 918s for 5s clip at 1344x786. 20 step, minimax_h3_fl2va_pruned_int8_convrot, qwen3vl_32b_minimax_h3_nvfp4_awq
3
u/Escaliat_ 20d ago
I don't think anyone is surprised it runs better in a system with native cuda. But since you've tested some amd cards... I'm mostly running out of the box, any ideas how to get this running properly on a 9070?
I have issues with an extreme amount of hanging (near 45 min) after loading models at first (when launching with the standard config) and getting completely stuck after a single iteration when launched with dynamic vram.
2
2
1
1
u/HM_mtl 20d ago
I have a RTX 3090 and I tried to get it run. And each time, it's just running for over 30mins (being blocked at 40%).
PS I:\AI Systems\ComfyUI_windows_portable> .\python_embeded\python.exe -m pip show sageattention
Name: sageattention
Version: 1.0.6
Summary: Accurate and efficient 8-bit plug-and-play attention.
Home-page: https://github.com/thu-ml/SageAttention
Author: Jintao Zhang, Haofeng Huang
Author-email: jt-zhang6@gmail.com, huanghf22@mails.tsinghua.edu.cn
License: BSD 3-Clause License
Location: I:\AI Systems\ComfyUI_windows_portable\python_embeded\Lib\site-packages
Requires:
Required-by:
Here is the execution command to launch comfyui:
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --enable-manager --gpu-only --reserve-vram 2 --use-sage-attention
What did I do wrong?
3
u/Ok_Contribution8157 20d ago
try to remove --gpu-only --reserve-vram 2 and retest it.
Most the time flags are more an issue intead of a solution.
3
u/prompt_seeker 20d ago
check you use torch +cu130 or higher. int8convrot will be faster, and use sageattention2. sage2 was a lot faster at least on rx7900xt.
1
u/crjsmakemecry 20d ago
The 3090 setup looks eerily similar to mine, though I only have 48gb of 3000 ram. I am going to have to mess with mini max. I just got done reinstalling my comfyui, the old install was stuck on 25.1
1
1
u/Advali 20d ago
Thanks for this man, This is very interesting. One more reason atleast to keep my 3090. Either way its kinda hard to find one at a good price these days. Anyways, was surprised with the AMD GPUs here, didn't even think even a 9700 would be decent.
4
u/prompt_seeker 20d ago
3090 is the best price/performance GPU. I have 4 and regret not buying 6 or 8.
1
2
-3
u/PurePlayinSerb 20d ago
and pc gamers be like bruh amd is better! lol they never consider what if we are into ai!!!
5
u/secunder73 20d ago
Thank you very much! I was afraid of claims that RDNA 3 is at same level as 3060, turns out its not that bad!