Closed pmeems closed 1 year ago
I had luck changing the LabelTable object's flavor_intermediate_count (ln 53) to a lower number
Thanks @genevera I changed the value in the low_vram section from 1024 to 512 and used the --low_vram parameter and now it works again. It takes about 2 minutes for each image which is fine for me.
I did notice the GPU is not doing a lot, is that expected? I thought this script would use the GPU as well.
I run on
I use
I run run_cli.py as
python run_cli.py -c "ViT-H-14/laion2b_s32b_b79k" -f "d:\MyFolder"
Loading the flavors.txt is taken very long. It is now running almost 2 hours and is just at 16%:
Months ago I used the same command it was very fast. In the meantime I, obviously, installed Windows updates, got the latest version of this repo, and updated my CUDA to v12.1 (also tried 12.2, but then Torch didn't recognize the GPU).
While running this script my CPU is at 27%, my memory is at 86% and my GPU is at 3% What can I do to speed it up?
Edit I removed all lines in flavor.txt except for the first 5 lines. Now the Flavor chain is much faster but it still takes 45-60 minutes per image (928x1312px, 468kB). And it looks my GPU isn't used:
Earlier versions took 3-5 minutes per image. What versions of what package should I use to get the speed back?