That was astonishingly easy to get working, and now on my laptop 3060 I can write a new prompt and generate another 10-odd samples every few minutes. Of course, I do mean 10 odd samples: most of the human images it’s giving me have six fingers on one hand and/or a vaguely fetal-alcohol-syndrome vibe about the face, and none of them could be mistaken for a photo or even art by a competent artist yet. But they’re already better than any art I could make, and I’ve barely begun to experiment with “prompt engineering”; maybe I should have done that on easier subjects before jumping into the uncanny valley of realistic human images headfirst.
Only optimizedSD/optimized_txt2img.py works for me so far, though. scripts/txt2img.py, as well as any version of img2img.py, dies on my 6GB card with RuntimeError: CUDA out of memory.
That was astonishingly easy to get working, and now on my laptop 3060 I can write a new prompt and generate another 10-odd samples every few minutes. Of course, I do mean 10 odd samples: most of the human images it’s giving me have six fingers on one hand and/or a vaguely fetal-alcohol-syndrome vibe about the face, and none of them could be mistaken for a photo or even art by a competent artist yet. But they’re already better than any art I could make, and I’ve barely begun to experiment with “prompt engineering”; maybe I should have done that on easier subjects before jumping into the uncanny valley of realistic human images headfirst.
Only
optimizedSD/optimized_txt2img.py
works for me so far, though.scripts/txt2img.py
, as well as any version ofimg2img.py
, dies on my 6GB card withRuntimeError: CUDA out of memory.
Update: in the optimization fork at https://github.com/basujindal/stable-diffusion ,
optimized_txt2img.py
works on my GPU as well.