How to use GPU #220

Open
opened 2026-01-29 21:45:48 +00:00 by claunia · 0 comments
Owner

Originally created by @DrBlou on GitHub (Aug 1, 2022).

Hi all,

First, its a very nice tool, you did a very good job here !

Sadly, i cant use my RTX3080 GPU to process the images, only the CPU is used, can someone help me with this ?

I can tell my GPU isn't used because of this error :

UserWarning: The unoptimized RealESRGAN is slow on CPU. We do not use it. If you really want to use it, please modify the corresponding codes.

Can someone tell me how to set GFPGAN so it use my GPU ?

Thanks a lot in advance

  • image
Originally created by @DrBlou on GitHub (Aug 1, 2022). Hi all, First, its a very nice tool, you did a very good job here ! Sadly, i cant use my RTX3080 GPU to process the images, only the CPU is used, can someone help me with this ? I can tell my GPU isn't used because of this error : UserWarning: The unoptimized RealESRGAN is slow on CPU. We do not use it. If you really want to use it, please modify the corresponding codes. Can someone tell me how to set GFPGAN so it use my GPU ? Thanks a lot in advance - [ ] ![image](https://user-images.githubusercontent.com/92190077/182247941-f3fa944d-66fc-49c6-830a-5e468a8421e9.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TencentARC/GFPGAN#220