Skip to content

Speed of image generation and max. resolution #143

Answered by bitRAKE
aidik asked this question in Q&A
Discussion options

You must be logged in to vote

I'd try to re-install. (Maybe something else is using the GPU memory?)

I'm on Win11 w/ 1080ti, and I just did:
(from a conda prompt with git installed)

git clone <repo> test
cd test
copy ..\sd-v1-4.ckpt models/ldm/stable-diffusion-v1/model.ckpt
conda env create -f environment.yaml
conda activate ldm
python optimizedSD\optimized_img2img.py --skip_grid --from-file "..\prompts.txt" --init-img "..\init.png" --strength 0.79 --outdir ".." --W 1280 --H 1280 --ddim_steps 40 --scale 7.5 --n_samples 1

... and Task Manager is showing between 8.8GB and 10.4GB of GPU memory use. Each image takes about 4:30, but that is because 1080ti's don't have uber FP16 speed.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aidik
Comment options

Answer selected by aidik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants