Closed RichardMcSorley closed 1 year ago
--fix-faces
adds an additional 7-10 seconds.
2023-01-11T09:06:14.208159005Z Fixing 😊 's in 🖼 using CodeFormer...
2023-01-11T09:06:14.434474197Z Enhancing 1 faces
2023-01-11T09:06:24.090127494Z Image Generated. Timings: conditioning:0.02s sampling:4.03s safety-filter:1.43s total:15.61s
I dont think it takes that long for me. What system are you on?
Face enhancement is run partially on the CPU to save memory. For me it's taking ~3.2s per face. I did some quick hacks to run it on CUDA and it runs in 0.33s per face.
I just released 7.4.2 which moves face enhancement to the GPU. should provide a large speedup.
Anything can be done for improving speeds when attempting to restore faces + upscale?
Each prompt takes roughly 25s
CPU utilization to go up to 100% seems when restoring faces.
Prompt inference seems to be using GPU fine as I see it spike up and back down.