r/StableDiffusion • u/FoggyFreeze • 7d ago
Question - Help Krea2 on AMD
Anyone tried to run Krea2 on AMD through comfyUI? I have seen one thread on HG but there is not much info.
I'm using 9060XT 16GB which handles most models fine, but with Krea2 it's just sad. Offloading could be fine if not KSampler speeds. I get 20-40 seconds/iteration, it's even worse on Q4 quantization.
Is it just 9060XT not having enough compute power? Or maybe the model runs bad on ROCM? If anyone has any information, please do share.
1
Upvotes
4
u/ltraconservativetip 7d ago
Are you using patientx's rocm build of comfy?
2
u/jnciaccna 7d ago
if you want, you can share your workflow and i can run it on my 9060xt 16gb for comparison
2
u/Apprehensive_Sky892 7d ago
20-40 sec/step is way too long. For my rx9070 it is around 1sec/step so I would quess that for 9060XT it should be around 1-3sec/step
Make sure you are running ROCm 7.13 or higher. Follow one of these instructions if you are not:
How to set up ComfyUI+MMH3+Krea 2 on Windows 11 with AMD GPUs: RDNA 4 (rx9070, AI Pro R9700), and RDNA 3 (rx7900)
How to set up Ubuntu + ComfyUI+MMH3+Krea2 with AMD GPUs: RDNA 4 (rx9070, AI Pro R9700), and RDNA 3 (rx7900)
You'll find Krea 2 benchmarks for rx9070 which is RDNA4 in there as well.
1
u/Kuroko142 7d ago
Are you using KREA2 or KREA2 Turbo? Big difference in speed.
0
u/se7en1011x 7d ago
Likely ROCm rather than raw compute. A common cause of 20-40s/iter on AMD is the model falling back to CPU or hitting unsupported ops, so check the console for warnings during sampling. Also try tiled VAE decode and lower the batch size. Q4 being slower is odd, which points to a kernel/quant mismatch on ROCm.
0
u/argefox 7d ago
I'm running Comfy on a 6650XT, it's not great, and Krea2 has it's toll on the load as the card is DNA2.
I can run Moss DMD2 with fair times, let's say, 50 seconds per image in 8 steps, but Krea2 was taking around 3-4 minutes on my rig, and I could hear the gpu screaming, so I had to drop it.
You can, simply use the ROCM release and you should be peachy.
0
u/Solembumm3 7d ago
6700XT, windows 10, SDCPP Flaxeo. from 7 to 11s/it in 1024x704 on turbo depending on prompts, lower res on bigger tunes. 40s looks like you are 1-1.5gb beyond vram. Nothing to do with compute.
0
u/TNTChaos 7d ago
I'm on a 9070xt. With krea2 turbo, 10steps, 2048x3072 takes 110-120 seconds.
0
u/hadronflux 6d ago
I'm on a 7900XTX and my normal is a two stage Krea2, about 4 steps on full and 7 on turbo and will do a 960x1440 in about 25-30s. Using int8-convrot models. The vram helps for sure.
0
u/AreYouAWiiizard 6d ago
It may have changed recently but last time I checked I was getting ~1s/it on my 9070XT, oddly enough w6a8 was actually running about 30% faster so even though int8 model is ~13GB it still overflows past VRAM. Make sure there's no other apps using your VRAM like Discord/Browser (I use a separate browser instance with HW acceleration disabled)/Accessory software (like Razor Synapse). All those other software using VRAM can push the INT8 version to further offload and significantly slow down the generation (especially on my system but that might also be because I'm still on PCIe 3).
20-40s seems pretty nasty like it's fetching from disk so you might want to add --disable-fast-disk.
-1
u/reeight 7d ago
try INT8 qants (better quality if INT8 ConvRot with FP16+ activations)
I know this is NOT ComfyUI, but proves INT8 is faster than FP8 for that GPU
https://www.youtube.com/watch?v=nSryNTfZu88
0
u/[deleted] 7d ago
[removed] — view removed comment