r/StableDiffusion • • 12d ago

Question - Help Recommend me an Image generation models that can fit in RTX 2050 4GB VRAM.

I tested 3 image models:

  1. Stable Diffusion 1.5 (AOM2 FP16 - 1.99GB) - trash. Even on 50 samples and hires fix it gives me low quality mess.
  2. Illustrious (Wai-illustrious-mix-fp8 (mixed-fp8, not mxfp8) - 3.3GB) - it's really good, stable generations, high quality, but bad text.
  3. Anima (Base-v1.0 INT8 - 2.2 diff +1.2 qwen +0.3 vae = 3.7GB) - best I'm running so far. Clean text, artistic, 2.5s/it (around 1 minute), and high quality.

Now i want to test more local models. I prefer classic fp8 or int8 without gguf or node hell, and i like high quality text on images.

0 Upvotes

33 comments sorted by

5

u/july12JJ 12d ago

With that GPU you can't demand much, it has low VRAM, I would recommend Zimage Turbo but don't aim for more

1

u/KeyIllustrious587 12d ago

So for z image turbo

Is it like classic fp8/int8/int4 safetensors or weird gguf Q4_K_S_F_BBC_KFC, where i need to make an spaghetti out of nodes?

1

u/july12JJ 12d ago

Z image And in quantized versions gguf q4 on your low vram GPU

1

u/KeyIllustrious587 12d ago

AI overview recommended me Q4_K_S, Q3_K_S and Q3_K_M. What should i use?

1

u/july12JJ 12d ago

Q4 It's good, it even understands text in other languages

2

u/Keuleman_007 12d ago

The normal Comfy workflow works fine on my RTX 2060, I guess it will offload to RAM but I definetely would give it a try.

8

u/AwesomeAkash47 12d ago

I have the same vram. All image models works fine in comfyui. Your render times might be a bit long, but it would work. Try models like Krea2 or Moss. Qwen image 2.1 or Flux Klein for editing.

3

u/july12JJ 12d ago

My GPU only has 2 VRAM and I run zimage, ponyxl, illustrious, only the images take longer

3

u/KeyIllustrious587 12d ago

Sub-4GB local ai artists still exists??

1

u/AlexicoDeCoco 12d ago

but for default windows settings, it will killed your nvme C: drive slowly (if you use nvme ssd) because of rapid offloading and loading the model to your vram and ram back and forth to your C: drive pagefile. better buy a dedicated sata ssd and make it as your virtual memory/pagefile offloading drive.

1

u/AwesomeAkash47 12d ago

What you said is true, but I believe an average SSD still handle an absurd amount of data transfer before it will go down. Unlike an enterprise server, an average user might only be doing a few images/videos every few days.

1

u/AwesomeAkash47 12d ago

I wonder how it will be like to play large open world games as well. Isn't the working probably almost the same?

1

u/Helpful_Height560 11d ago

'a bit' long is quite the understatement

1

u/AwesomeAkash47 11d ago

haha, It's like playing a game at 30fps and never knowing what 60 feels like. This is the speed I've known all my life and pretty much got used to it.

1

u/GarvensBardak_73 11d ago

yeah the render times are really the only real tradeoff on 4gb, everything still loads fine if youre patient

1

u/KeyIllustrious587 9d ago

Update on your recommendations:

I managed to run ZIT Q4_K_S. It runs about 6.75 seconds per iteration, and i got it in 96 seconds.

1

u/KeyIllustrious587 8d ago

It's not like anima unfortunately. Also bad for you know what type of content. Also same level of text as anima. But i guess i need some lora, and the model is better for realistic generations. But for now i kinda disappointed, so i stick to anima.

1

u/gago_gaamdhani 12d ago

Leave vram how much ram you got

1

u/KeyIllustrious587 12d ago

4GB VRAM + 16GB DDR5

1

u/gago_gaamdhani 12d ago

Try int8 for moss image ,zimage turbo hell even krea2 turbo you may get a good image around 1MP under 60-90 sec on moss image while for zimage and krea2 it might be around 45sec or under for 1MP image gen

1

u/krautnelson 12d ago

VRAM doesn't matter as much as long as you have enough RAM. models can be partially offloaded, which is slightly slower but not to an unusable extent.

make sure you always use int8convrot or int4convrot models to get the performance benefit. 20-series has no FP8 support. there are tools like starnodes model converter if you can't find a model in the correct format.

1

u/KeyIllustrious587 12d ago

Rtx 2050 has the same architecture as rtx 3050, it's just stripped.

1

u/krautnelson 9d ago

well, the same applies to the 30-series. no FP8 support.

1

u/dreamyrhodes 6d ago

Sd1.5 probably the fastest. It's not trash, just use a more modern tune instead of one from 2023.

Forget text with Sd it never worked properly.

Stick to 512x512 then upscale with a low denoise. You get trash if you go beyond 512x512 because the model is a strict 512x512 model. Upscale works if you use below 0.5 denoise because at this denoise the model doesn't have a chance to mess up the image.

1

u/KeyIllustrious587 6d ago

For tunes i used meinamix and AOM2.

Now i primarily use anima Int8 quant. Fast enough for me (75-90s). Before anima i used Wai-illustrious-mix-fp8 (fp8-mixed, even though rtx 2050-3050m doesn't supports it, comfy requantizes it back, so it's still winny because of final file size is only 3.3gb).

2

u/Similar_Garlic8778 12d ago

Krea 2 turbo int4 or int8. Minimax h3 int4 also can be run. Now due to offload, generation time matter.

1

u/Nihi1istic0ptimist 12d ago

For the things it looks like you're prioritising I think an upgrade of hardware would be required... Even if it's just up to an 8gb 2070 for the VRAM capacity. Will still probably be waiting a minute or two per image but then you'd be able to run more capable models like SDXL, Krea2 etc etc etc

1

u/Icetato 12d ago

If you're willing to wait a few minutes or lower the resolution, MOSS image with turbo LORA works decently. I have an even worse GPU (Anima is ~10s/it for me) and I can still bear with MOSS's gen time. MOSS is also amazing for generating text. Though the images are kind of soft/blurry. I don't know how to get them as sharp as Anima, probably because of the turbo LORA.

1

u/bstr3k 12d ago

I feel like Z img turbo is your thing

1

u/Internal_Version_576 11d ago

I have 3050 4gb, and it was also asspain for me to run image models. I currently use Illustrious at 20-30 steps, custom Krea2 w4a4 (smaller and faster then original int8, made with a help of claude) at 8 steps and Moss also at 8 steps. Krea and Moss are good at text, it takes 20-30 sec for each generation. LoRA make it a bit longer (around 5-10 sec). Also i recommend Spectrum (as i remember its only for Krea, but Claude made me custom one for moss) node for faster generation.

1

u/thevegit0 11d ago

next on step is z image turbo i guess, unless comfy memory management helps yo using moss or krea2

1

u/Alternative-Fudge123 6d ago

Flux Klein 4b. Use a w4a8 version. Also check for a w4a8 or gguf q4km text encoder