Open mindbugg opened 1 year ago
@mindbugg same here with a RTX4090... Face renderer takes a few Minutes, but Face Enhancer takes almost 2 hours and uses only 1 CPU Core !? ... Did you find a Solution?
I run the webui on Kaggle and it provides 2 x T4 GPU's but I couldn't find the optimal settings. batch size in generation is one of them. Additionally I need to utilize second GPU to get the best result bu IDK how...
@mindbugg same here with a RTX4090... Face renderer takes a few Minutes, but Face Enhancer takes almost 2 hours and uses only 1 CPU Core !? ... Did you find a Solution?
Not really a 'found' solution per se, but you can rewrite the utils/face_enhancer.py file to include batching during face enhancing.
Since face enhancing only comes after face rendering, I just reused the batch_size argument for it.
Since face enhancing only comes after face rendering, I just reused the batch_size argument for it.
Do you mind to share your code?
current batch_size only works for face renderer, when running it on v100 GPU, most of the time is consumed in enhancer