r/MachineLearning • u/0x00groot • Oct 19 '22
Discussion [D] Imagic Stable Diffusion training in 11 GB VRAM with diffusers and colab link.
Text-Based Real Image Editing
Code: https://github.com/ShivamShrirao/diffusers/tree/main/examples/imagic
Still need to play around and tune the parameters a bit, may not work as is on every subject. Hopefully everyone can try it out now.


137
Upvotes
6
u/advertisementeconomy Oct 19 '22
Wow. The pace is exciting. Is that the Barack from the original tweet or was it run through this implementation?
Here's the README for anyone interested: https://github.com/ShivamShrirao/diffusers/blob/main/examples/imagic/README.md
Is the .ipynb file a Jupyter Notebook that could be run locally on a card with 12GB VRAM (forgive me if this is a stupid question using Colab and Jupyter is new to me)?
1
u/thelastpizzaslice Oct 19 '22
What is the value of having a ckpt output? Is it like dreambooth?
1
u/thelastpizzaslice Oct 20 '22
Does this use model v1.5 or is it still running on v1.4?
2
u/danquandt Oct 19 '22
How different is this in practice from running img2img on regular SD? The examples shown in the paper look very similar to what you would get from img2img, as far as I can tell.
(Ps: great work on your repos! I still can't run Dreambooth on my 3080 10gb but have played around with it in Collab and it's fantastic.)
3
u/Roarexe Oct 19 '22
Awesome, thanks for sharing!
1
u/[deleted] Oct 22 '22
Oh my Obama. What large teeth you have.
1
u/readyourSICP Oct 23 '22
Does this give the exact same output as 24gb VRAM?
1
u/Ribhov Nov 30 '22
I am getting the following error since the past few days in the inference step.
RuntimeError: Expected query.size(0) == key.size(0) to be true, but got false.
I was not facing this issue earlier
1
u/LargeSackOfNuts Oct 19 '22
Obamna
-1
u/deep-yearning Oct 19 '22
paging Automatic1111
pls implement in webui
17
u/[deleted] Oct 19 '22
[removed] — view removed comment