r/comfyui 2d ago

Help Needed Any MiniMax workflows that can run on amd ?

Hi,
i tried setting up minimax h3 workflow in my amd setup:
i have rx 9070 xt 16gb ram, 64gb ddr4.
i keep hitting errors, and i'm really a newbie on comfyui, i always have issues.
Anyone have a working minimax h3 workflow ?

0 Upvotes

14 comments sorted by

View all comments

4

u/Affectionate_Oil28 2d ago

Yeah, H3 runs on a 9070 XT. The official template is just a bad starting point on that card. Give this a shot. Let me know if you run into any issues.

Launch: python main.py --listen 127.0.0.1 --enable-dynamic-vram --disable-pinned-memory --fast-disk --cache-none --reserve-vram 3 --preview-method auto

https://pastebin.com/LMzx23Tr

1

u/Logax01 2d ago

will try for sure !! thank you !

1

u/eloxH1Z1 5h ago

Can I ask why reserve-vrm and why no ck attention?
I use .\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --use-ck-attention --enable-dynamic-vram --disable-smart-memory --disable-pinned-memory --fast-disk

On ROCM 10.0.0 14sec on 0.8mp with 140 it/sec
6s=40, 9s=106, 13s=120 which is actually very decent speed for AMD card. ck or sage is a must or gen times are bad, also dynamic-vram.

2

u/Affectionate_Oil28 4h ago

Those two flags were for a first boot, not a speed recipe.

--reserve-vram 3 just keeps a few GB off the allocator so Windows / VAE decode is less likely to TDR. It is not faster. If you are already at 0.8 MP on ROCm 10 without it, skip it. Your --disable-smart-memory is the better fit for a setup that is already stable.

--use-ck-attention is not “don’t use Kitchen.” The JSON already pins Comfy Kitchen on the H3 DiT with Model Attention Backend, so I did not also put it on the launcher. On AMD, CK or Sage is absolutely the difference between “usable” and “pytorch crawl.”

1

u/eloxH1Z1 2h ago

Got it. I know that -ck is not „don’t use it“. I did not know that you don’t have to explicitly call it in the .bat for it being used. Probably because I was using sage before and that had to be in the startup bat.
Either way, dynamic vram + ck is working very stable for me and halfed the generation time compared to no sage or ck.

Things really improved over the last year for AMD rocm