stablediffusion icon indicating copy to clipboard operation
stablediffusion copied to clipboard

run scripts/gradio/depth2img.py getting "RuntimeError: CUDA out of memory."

Open liuxianyi opened this issue 2 years ago • 1 comments

My machine is RTX2080ti, 11G Memory.

RuntimeError at:

  File "scripts/gradio/depth2img.py", line 110, in paint
    x_samples_ddim = model.decode_first_stage(samples)

I found when I upload an image and click run in Gradio page, it will need extra memory. I'm confused. Isn't DDIMSampler already started when starting Gradio?

liuxianyi avatar May 14 '23 09:05 liuxianyi

3090,24Gis your need

anvenle avatar Nov 06 '23 06:11 anvenle