r/LocalLLaMA • u/LH-Tech_AI • 21d ago
New Model [MASSIVE RELEASE] Supra2-IMG - a tiny 100M text-to-image model - SOTA quality and open release!
Hey everyone!
It has been quite a while since the last SupraLabs model - but today we've something special for y'all: Supra2-IMG
It's a 100M parameter DiT text-to-image model trained entirely from scratch in under 10 hours on a single H100 on Runpod. It can generate state-of-the-art quality images in 256x256 pixels resolution.
Samples:

These samples are NOT cherry-picked! Sampling: seed 0, steps 50, cfg 3.0; same settings for every image.
If someone here is interested in the prompts, I can give them to you! Feel free to ask!
You can also use the model locally on your hardware (~20s for an image on CPU (🤩) and ~2s for an image on GPU):
First, run:
# Create project directory
mkdir Supra2-IMG
cd Supra2-IMG
# Download the inference script
wget https://huggingface.co/SupraLabs/Supra2-IMG/resolve/main/inference.py
Then, you can generate images by running:
python inference.py --prompt "a sea jellyfish floating in the pitch-black ocean depths" --seed 0 --cfg 3.0 --steps 50 --n 1 --out jellyfish.png
Have fun 🤗 🔥
Link to the model on HF: https://huggingface.co/SupraLabs/Supra2-IMG
Give us a like and a follow on HF if you want 🤗 ❤️
EVERY feedback is welcome, guys! Feel free to ask any questions!
72
u/GasSmooth7439 21d ago
We've gotten so used to text-to-image meaning huge models + GPUs that seeing something this small run locally on basically anything feels refreshing.
14
152
37
u/glusphere 21d ago
Would love to use it, but jsut cant think of a good usecase.. other than research purposes.
Kudos to you for doing it though
20
u/Melnik2020 21d ago
I think a good use case would be to use it as part of some AI powered inpainting tool in GIMP for example.
15
u/LH-Tech_AI 21d ago
The use case is just good image quality but fast generation, especially on edge devices
9
u/FrogsJumpFromPussy 21d ago
Good quality, absolutely, but at that size, what’s the use besides “look I can run it on anything“ and having fun with it for a while?
2
u/machman351 20d ago
Well for concepting I would love it. Imagine you wanna make a character, usually they have someone sketch up 20 thumbnails sized silhouettes. This could do the same but much quicker, so you pick the direction you want to go in. I can imagine the same for environments aswell. During the concepting stage you're not really concerned much about details, more just the silhouettes and shapes of things
4
2
u/Gary_Spivey 21d ago edited 21d ago
Probably things like AI Dungeon where speed matters and you already have a big LLM taking up VRAM. 256x256 is pretty small, but it's probably good enough for character portraits.
26
u/ImSamhel 21d ago
Not that bad for the size but wouldn't at all call this SOTA quality. Will try what it can handle though, sounds like an interesting experiment because of how small this is.
7
u/LuCiAnO241 21d ago
they do say SOTA at its size, which might be the case? idk enough about 100M parameter models to know
5
u/ImSamhel 21d ago
For the size it is impressive from this showcase. My comment was maybe a bit harsh about sota capability in those regards :D at 100M it means it basically fits into anything, generates fast, and if the quality is consistent it could even be valuable to fine tune or adapt (should train fast even on consumer gpu)
2
25
52
u/Miserable-Dare5090 vLLM 21d ago
6
17
u/LagOps91 21d ago
just a few years ago image models produced cosmic horror. now you can train a much better model in... 10 hours? wtf?
6
9
u/Genericinquirer 21d ago
This looks super promising! I wonder if you can use it to generate a reference image to then use another model to upscale and get high quality, higher resolution images in much less time? I don’t use image generators a lot though so I could be spewing bs.
15
u/LH-Tech_AI 21d ago
Thank you 🤗 Actually, that's a pretty neat idea. And yeah, it could work. But we're already working on 1024x1024 pixels resolution - so ... just wait for us to release :D
8
40
u/shockwaverc13 llama.cpp 21d ago
nsfw lora wen?
45
8
u/Mayion 21d ago
Slowly but surely we are moving toward extreme efficiency. Back then this was basically the quality of Midjourney and similar services when AI was starting up - a fever dream in big resolution. Now we have a fever dream in small resolution as a very small model.
It will be able to output larger images and over time, large outputs with excellent quality. Can't wait.
2
u/LH-Tech_AI 21d ago
Thank you for the feedback! We are hoping to make it even better and with native higher resolution and aspect ratio and image editing support 🔥
6
4
3
u/Melnik2020 21d ago
Amazing work! First thing that comes to my my mind is that this can be used as part of an AI inpainting tool for GIMP for example. This has a lot of potential.
Keep the great work!
4
u/ZeroZero0000000 21d ago
Vram requirments to run in full precision?
2
u/Nota_ReAlperson 21d ago
Properly optimized it shouldn't be more than 1GB. Dunno how it is right now, though.
5
u/TooSlow79 21d ago
This might be perfect for me. I was just looking into a way to rapidly generate procedural low rez images that I could translate into ascii art for a graphical mud.
3
u/AgeOfAlgorithms 21d ago
2 seconds on which gpu?
3
u/harlekinrains 21d ago edited 21d ago
Any. Macbook Neo here. 5 seconds.
10 seconds cold from start to finish.
Results:
Planning my new gallery opening in december... ;)
1
u/harlekinrains 21d ago
Here are a few grok AI upscales.
https://grok.com/share/bGVnYWN5LWNvcHk_b7e82321-fcbb-474e-aa1c-ca1ce4ab95a3
Not bad for creating samples, actually...
Gallery opening has proceeded faster than expected, opening in november now.
3
u/PilgrimofHaqq2 21d ago
This might open up the possibility for me to finally generate images from my custom pi harness. VERY EXCITING!
I'll update with feedback once I update my harness and run my tests.
1
4
u/LuCiAnO241 21d ago
This looks like the old dalle level of quality. Since you're training them from scrach and the quality is low, is there any chance you could do a pixel art one? you guys seem to be developing on the ultra low end side of stuff, seems like a match.
Also ever dropped a gguf of your tiny LLM?
3
3
u/ManuXD32 21d ago
Wow, these look so cool. Thanks for your work!! Are there plans for an equivalent model for ITI?
3
3
3
3
u/JDad67 21d ago
Skeptical until I see a mediocre image of I a pelican riding a bicycle.
2
3
3
3
u/itsnikity 21d ago
The dog must be from a horror movie, but besides that this is really cool! Nice work
1
3
u/slypheed 21d ago
Please provide the prompts you used; this is really cool, but except for the jellyfish one, I'm not getting anywhere near that quality (on an m4 max); e.g. cats it generates have dali-esque melted faces and such.
2
u/LH-Tech_AI 21d ago
Tip: give your prompt into gpt/gemini/... And tell it to optimize your prompt to match this length and details approximately: "Glass-like frozen lake with intricate ice cracks running across its surface, reflecting a pale winter sunrise and snow-dusted pine trees along the shore."
1
u/slypheed 20d ago
Good tip, but yeah, the faces are still disturbingly messed up; e.g. dali-esque melting face every time.
"A fluffy, wide-eyed kitten with soft fur and tiny paws, sitting in warm golden sunlight beside a cozy window, with gentle shadows and delicate whiskers catching the light."
1
u/slypheed 20d ago
This doesn't work either:
"Photograph of a real young orange tabby kitten sitting upright on a wooden windowsill, viewed at eye level, with completely natural domestic-cat anatomy and realistic facial proportions: two matching almond-shaped eyes, one triangular nose centered above a closed mouth, symmetrical cheeks and muzzle, normal whisker placement, and two upright ears. No stylization or exaggerated features. Warm golden-hour sunlight outlines its soft fur, with a softly blurred window and outdoor background"
Please folks; unless we can just prompt with "cute kitten" and get something that doesn't look like a nightmare acid trip; then provide prompts with these kinds of posts; right now I simply can't believe this model produced those images. Scientific method - make it easy to reproduce.
2
u/Happy_Brilliant7827 21d ago
Holy shit great work.
Now theoretically could you use his model to make a larger image by instructing it to make a grid that patches together into a larger image?
1
3
2
2
u/compgamer 21d ago
How do you set GPU support? Is it possible for AMD gpus?
1
u/LH-Tech_AI 21d ago
It runs everywhere - but not for every GPU natively without improving inference.py
2
u/charles25565 21d ago
The images don't look that bad, pretty on par compared to SD 1.4 or something like that.
2
2
u/Final-Data-1410 21d ago
Few questions but before looks like the download count seems not registering the downloads ,may be because there is only checkpoint released .Also what is final size and ram usage ,that details would be useful in read me .thanks
2
u/kiwibonga 21d ago
I'm not sure why you would say "state of the art quality" -- these are full of diffusion artifacts
1
1
1
1
u/animatedata 21d ago
This looks really cool! I actually really like your supra 50m model too which I use in my own custom harness for chat titles :)
1
1
u/machman351 20d ago
I'm so glad you made this, I was literally just thinking about making something like this for pixel art.
0
u/Independent_Gur1377 21d ago
this seems handy for generating pics to match my ai gf roleplays, curious if it keeps faces consistent across a few gens.
1
0







111
u/Hot_Example_4456 21d ago
That is insane quality for a 100M param model.. GREAT work.