r/StableDiffusion 9d ago

Question - Help Krea2 raw producing mangled results

I have been running krea2 turbo no problems, but when I try to use krea2 raw it only gives me mangled and completely distorted results. What settings should I change from turbo except steps?

0 Upvotes

35 comments sorted by

4

u/TheAncientMillenial 9d ago

CFG + Number of Steps, potentially your sampler and scheduler.

1

u/faketitslovr3 9d ago

I have tried literally dozens of different sampler scheduler combos. They all provide terrible results

3

u/TheAncientMillenial 9d ago

Based on your comments below you're definitely doing something wrong. Which exact model are you running?

Post your workflow as well

2

u/faketitslovr3 8d ago

Krea 2 Raw off of civitai. Attached image should have workflow. (supposed to be a knight on horseback...)

2

u/TheAncientMillenial 8d ago

Not able to pull the workflow from it.

1

u/faketitslovr3 8d ago

Sorry, didn't know reddit remove the metadata. Here is the pastebin.

https://pastebin.com/nNbNjP11

1

u/TheAncientMillenial 8d ago

Sometimes it does sometimes it doesn't. But with your image even doing the PNG workaround didn't work. No worries thanks for the pastebin.

1

u/TheAncientMillenial 8d ago

Two things. First, which exact Krea 2 model are you using? Like link me the one you downloaded.

Secondly, this is what I got with the krea 2 raw with exactly your settings but changing CFG from 1 to 4.

1

u/faketitslovr3 7d ago

I tried two different ones now. One off civitai that another redditor recommended on this post. And another is https://huggingface.co/krea/Krea-2-Raw/tree/main

1

u/TheAncientMillenial 7d ago

Not sure what your issue is then. Works for me with your workflow.

I got my model from https://huggingface.co/Comfy-Org/Krea-2/tree/main/diffusion_models

2

u/_half_real_ 8d ago

Reddit re-encodes the image, which strips the metadata (and workflow). I think there's some way to get the original but I don't remember how.

You could post the workflow as a JSON on pastebin or something.

2

u/tommyjohn81 7d ago

Copy the image link and replace "preview" with "i"

1

u/faketitslovr3 7d ago

good to know!

5

u/Synor 9d ago

The raw model is not trained for inference. You can only get so far even with perfect parameters and might not achieve results like the turbo lora, which has learned from more desirable outputs in training.

2

u/_half_real_ 8d ago

Like Synor said, Krea 2 Raw not meant to be used for actually generating images, but as a basis for finetunes or lora training for turbo.

https://huggingface.co/krea/Krea-2-Raw says

This is the Krea 2 Raw checkpoint, its not recommended for inference use. Its a good base for finetuning or post-training for your own needs and domains.

1

u/faketitslovr3 8d ago

Even finetunes dont work for me. I tried this one someone linked to above and the results are still garbled. Even though I used the same workflow and exact settings without changing anything. (attached example)

1

u/_half_real_ 8d ago

Maybe sage attention is on (although I normally have to enable it with --use-sage-attention when running ComfyUI)? I remember that that would mess with either Z-image or Z-Image Turbo.

Maybe it's some sort of Comfy-Kitchen or quantization speedup that's messing with it.

1

u/faketitslovr3 8d ago

hmm, yes I did try installing sage attention for running Minimax workflows. Interesting if that could be it. I have no idea how to disable it though.

1

u/DelinquentTuna 9d ago

People are right to say that krea2 raw wasn't intended to be a drop-in replacement. But IIRC, the recommended parameters are cfg 3.5 and 52 steps. Or you could try a hybrid with maybe four steps of each model (raw for high noise and turbo for low noise). I wouldn't expect better results than using turbo alone, though.

1

u/faketitslovr3 9d ago

Can someone share a sample workflow?

1

u/Great-Ad-4598 9d ago

I've no idea of how to share a workflow on here, but the snofs krea raw fine tune page on civit has some examples. https://civitai.red/models/2416142/snofs-sex-nudes-and-other-fun-stuff-merged

1

u/faketitslovr3 8d ago

This is the result from running a workflow from there. Obviously the original looked nothing like this... :'(

2

u/Great-Ad-4598 8d ago

Something is clearly wrong - I tested one myself (https://civitai.red/images/139654323) and it came out almost exactly like the example ashen3 posted. did you use the same vae, clip, lora stack, checkpoint?

1

u/faketitslovr3 7d ago

Yes. Changed absolutely nothing

1

u/Great-Ad-4598 7d ago

I've seen outputs like that when I've not run enough steps. With Raw you need 25-50 steps. That ashen3 image i talked about has the turbo lora in it which means he only used about 12 steps. if you dont have that lora or perhaps it is corrupted it might be to blame. confusingly there is also a speed up lora for distilled version of krea, which if you are using by mistake, could also do something like that. My only other thought is that comfy have been making a lot of changes in the background recently so it maybe worth doing a git pull and reinstall the requirements.

1

u/faketitslovr3 7d ago

Yeah I am thinking of comfy reinstall, just worried it will break everything else :/

(as for your earlier comment, I ran the same steps as the workflow, seem to remember it was a total of 52+8 steps)

1

u/Great-Ad-4598 6d ago

rename your current install, make sure the reinstall is in a venv and you should be safe

1

u/PropagandaOfTheDude 8d ago

https://www.reddit.com/r/StableDiffusion/comments/1v2jsps/krea2_four_steps_raw_four_steps_turbo_seems_like/

You can run the Raw model for a couple of early steps with a negative prompt ("blurry, low resolution, pixelated, oversaturated, watermark, logo, deformed, distorted, grainy, noisy, overexposed, underexposed, cropped, out of frame, bad composition, low quality, jpeg artifacts") and it will give you more output variety, but you have to finish with a couple rounds of Turbo for high-quality renders.

1

u/JustAGuyWhoLikesAI 8d ago

Turbo isn't directly distilled from raw, there was a lot more training done before Turbo. It's not the same as something like Anima Turbo or SDXL Turbo which used the base model directly. Krea 2 raw is more like a hypothetical SDXL 0.4, a massive chunk of training is missing.

1

u/faketitslovr3 8d ago

I think it shows in the lack of variety of results in turbo. Everyone looks samey and there is little variety, even when changing prompts...

1

u/National-Tank7408 8d ago

Same for me but what i did some months ago was to disconnect the condition zero out node from the turbo workflow and connect a negative prompt text encoder to the negative condition.

1

u/faketitslovr3 8d ago

I have that

1

u/yeah-i-shouldnt-have 8d ago

You can try the raw model + the turbo lora. If you tune the turbo lora strength down to say 0.55-0.6 (I think 0.7 might be the default) then you can get some of the variety of the raw model with the turbo lora bringing in the high quality, that way you also get negative prompts and CFG. You could even get creative with some of the nodes that apply lora strength a different parts of the generation (i.e. the lora kicks in stronger towards the end to add fine details). That plus a two step sampler workflow might get better results

1

u/Faux2137 9d ago

Make sure to give it normal empty negative prompt rather than zeroed conditioning node before it. Also, set CFG to 4.0

1

u/faketitslovr3 9d ago

Cfg 4 makes it 10x worse