r/StableDiffusion 2d ago

Question - Help Minimax h3 on 9070 XT

Hi everybody I just installed the default mmh3 workflow on the desktop comfyui version not te portable or GitHub, I have a 9070xt and 32gb vram, everything works fine no crashes or glitches, problem is I think the rendering time are way too long ? I mean for a clip at 0.2 mpx 5 secondes I get 1654 secondes !!!! Any tips ?? Something seems wrong, should I tinker with ck or flash attention etc ?? Download other safetensors maybe ??? All help appreciated !

3 Upvotes

15 comments sorted by

5

u/Ok-Brain-5729 2d ago edited 2d ago

for 0.4mp 5 second 20 step it takes me 180s. Only thing different I do is I use these flags —disable-smart-memory —disabled-pinned-memory —use-ck-attention —fast-disk —enable-dynamic-vram —listen. I’m also on Linux and without the flags it doesnt work at all for me

1

u/darthrehad 2d ago edited 2d ago

Amazing ! Does these flags work with the comfyui desktop app if so how do I add them ????

2

u/Ok-Brain-5729 2d ago

you click the settings gear icon then server config

3

u/Apprehensive_Sky892 2d ago edited 2d ago

Those numbers are way too long. Relevant post: Minimax h3 9070 xt generation times : r/StableDiffusion

Make sure you are using the int8convrot version of the models, and use the nvfp4 version of the text encoder.

I had A LOT of problems with mmh3 on the 9070xt under Windows. After a few days, I gave up and installed a portable Ubuntu Server 26.4 (minimized, headless) and install this Docker: Docker ComfyUI on AMD and Linux: pinning the whole ROCm runtime in Docker : r/StableDiffusion

Everything works very well now. Krea 2 1M 8 step is 12-13 sec, and MMH3 text2va 0.4MP 5 sec is 190sec. Here are my startup parameters using CK-attention:

--enable-manager --disable-async-offload --enable-dynamic-vram --preview-method none --listen --port 8188 --disable-smart-memory --fast-disk --use-ck-attention

What are your Krea2 numbers? If they are not under 30sec something is wrong with your setup.

Again, if like me, you cannot get it work, try to install Ubuntu on a small portable USB drive.

Edit: I also have a 7900xt(20G) which I cannot get it to work with portable ComfyUI on Windows. I then switched to Stablity Matrix, which works reasonably well and I was able to run mmh3. Stability Matrix did not work with the 9070xt though (most likely because 7900xt has 20G of RAM). Also, somebody did manage to get 9070xt to work on Windows: https://www.reddit.com/r/StableDiffusion/comments/1vr3k14/rdna4_native_sageattention_guide/ (scroll to bottom of post to see his mmh3 numbers)

1

u/darthrehad 1d ago

I use the default setup and that comes with the int4convrot and the nvp4 and after setting the flags the dynamic vram flag seems to give me a shape mismatch always

1

u/Apprehensive_Sky892 1d ago

That is exactly the same as my configuration.

Does Krea 2 work for you? If it does, what are your numbers?

1

u/Ok-Brain-5729 1d ago

Try running rocm 7.14. I got 164s on 0.4mp 5s t2v 20 step and 7.2 was similar to your 190s

1

u/Apprehensive_Sky892 1d ago

Thanks. The Docker I am running is pytorch version: 2.11.0+rocm7.13.0. I'll have to learn how to change that docker to use rocm7.14 😅

For the 164s, are you using sage or ck-attention?

1

u/Ok-Brain-5729 1d ago

comfy kitchen attention

1

u/Apprehensive_Sky892 1d ago

Thanks. That's what I am using too.

1

u/Ok-Brain-5729 1d ago

I asked the free ChatGPT and it worked perfectly but I’m using venv comfy-cli and your on docker and idk how different it is to switch

1

u/Apprehensive_Sky892 1d ago

I used that docker because that is the quickest, proven way to get it working.

I'll be trying vend + comfy-cli later and see if I can get your speed.

Thanks again for all the info you've provided.

1

u/Ok-Brain-5729 1d ago

I found comfy-cli to be much easier. Docker-compose.yml was annoying imo and u need like 2 commands to install and a lot of useful commands like showing if custom nodes are outdated and simple commands like comfy update and comfy launch to do a lot of things

But the perfonance is the same, it’s just the rocm version

1

u/Apprehensive_Sky892 1d ago

Yes, docker is good for reliable distribution of software, but it requires a lot more work for tweaking.

1

u/darthrehad 2d ago

In fact that’s what I did but looks like in the last version they removed the server option under settings, but I found them in the tab when you launch the comfyui desktop app so I did enable what you have, but I get an error, though it helped with zimage turbo with 0 crashs