stablediffusion icon indicating copy to clipboard operation
stablediffusion copied to clipboard

memory leak?

Open twmht opened this issue 1 year ago • 0 comments

Trying to use

python scripts/txt2img.py --prompt "a professional photograph of an astronaut riding a horse" --ckpt <path/to/768model.ckpt/> --config configs/stable-diffusion/v2-inference-v.yaml --H 768 --W 768  

I set n_iter to 1000 and n_samples to 1, the process is out of memory when procedding about 100 images.

is this a memory leak problem or is there any config i need to set to avoid that?

twmht avatar Jun 09 '23 03:06 twmht