Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gfpgan & codeformer performance really slow #18

Open
geekbleek opened this issue Jun 30, 2023 · 4 comments
Open

gfpgan & codeformer performance really slow #18

geekbleek opened this issue Jun 30, 2023 · 4 comments

Comments

@geekbleek
Copy link

I'm just playing with these tools, and it looks like the gfpgan and codeformer chains are realllly slow (like 20 minutes for 300 frames or 10 sec of video). I am on 4x A100's, and bumped threads up to 16, and that was the speed I got. I can see the GPU usage, but CPU usage is very high as well. The faceswap alone takes less than a second to execute for the same video.

Any thoughts or is this expected performance?

@RichardErkhov
Copy link
Owner

RichardErkhov commented Jun 30, 2023

For my m40 same thing, fps goes down 10 times, so I guess it's expected, but Im not sure about high cpu usage, maybe misconfigured venv ? From speed drop it seems like enhancement is done on cpu

@phineas-pta
Copy link
Contributor

4x A100 ! try to put more threads

@RichardErkhov
Copy link
Owner

4x A100 ! try to put more threads

Does code distribute between multiple gpus though ? I dont think so, I dont have multiple gpus to text xD @phineas-pta

Can you tell me if it is distributing on multiple gous? @geekbleek

@phineas-pta
Copy link
Contributor

idk neither, just an attempt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants