First, confirm
What happened?
I recently upgraded to a 5090 GPU and noticed that when I select GFPGANv.14.pth under face_restore_model, it runs on CPU instead of GPU.
The initial face swap is super fast but when it starts running the 'Restoring with GFPGANv1.4.pth' step, its very slow. These were my tests ::
Video Length - 5 second
-- First Swap --
Node - Fast Face swap
Enabled - ON
swap_model - inswapper_128.onnx
facedetection - retinaface_resnet50
face_restore_model - None
Time to complete - 74 seconds
Note: During the face swap I noticed little bit of GPU activity upto 20-25% but no CPU spike/activity. CPU activity stayed around 10-11%
-- Second Swap -
Node - Fast Face swap
Enabled - ON
swap_model - inswapper_128.onnx
facedetection - retinaface_resnet50
face_restore_model - GFPGANv1.4.pth
Time to complete - 244 seconds
Note: This time, during the face swap, similar GPU/CPU activity as before, but during the face restore step, GPU activity stayed around 10% while CPU activity was at 50-60% throughout
-- Third Swap --
Node - Fast Face swap
Enabled - ON
swap_model - inswapper_128.onnx
facedetection - retinaface_resnet50
face_restore_model - GFPGANv1.4.pth
Face Boost - ON - boost_model: GFPGANv1.4.pth - interpolation: Lancosz - restore_with_main_after: ON
Time to complete - 377 seconds
Note: Similar to the second swap, during the face boost step, only CPU showed activity.
This feels slower than what speeds I was getting on my older 3080Ti card. I alo tried the hyperswap, but it completely changes the area around the lips so its unusable in my case.
Any help with be appreciated. If there is a way to run face_restore and face boost on the GPU that would be great!
Steps to reproduce the problem
Your workflow
Run a simple face swap with a face image as source and video frames as input. Turn on face_restore_model and enable face boost
Sysinfo
Windows 11 + 5090 GPU
Relevant console log
Python version: 3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)]
ComfyUI version: 0.3.75
ComfyUI frontend version: 1.32.9
[ReActor] - STATUS - Running v0.6.2-b1 in ComfyUI
Torch version: 2.8.0+cu128
Additional information
No response
First, confirm
What happened?
I recently upgraded to a 5090 GPU and noticed that when I select GFPGANv.14.pth under face_restore_model, it runs on CPU instead of GPU.
The initial face swap is super fast but when it starts running the 'Restoring with GFPGANv1.4.pth' step, its very slow. These were my tests ::
Video Length - 5 second
-- First Swap --
Node - Fast Face swap
Enabled - ON
swap_model - inswapper_128.onnx
facedetection - retinaface_resnet50
face_restore_model - None
Time to complete - 74 seconds
Note: During the face swap I noticed little bit of GPU activity upto 20-25% but no CPU spike/activity. CPU activity stayed around 10-11%
-- Second Swap -
Node - Fast Face swap
Enabled - ON
swap_model - inswapper_128.onnx
facedetection - retinaface_resnet50
face_restore_model - GFPGANv1.4.pth
Time to complete - 244 seconds
Note: This time, during the face swap, similar GPU/CPU activity as before, but during the face restore step, GPU activity stayed around 10% while CPU activity was at 50-60% throughout
-- Third Swap --
Node - Fast Face swap
Enabled - ON
swap_model - inswapper_128.onnx
facedetection - retinaface_resnet50
face_restore_model - GFPGANv1.4.pth
Face Boost - ON - boost_model: GFPGANv1.4.pth - interpolation: Lancosz - restore_with_main_after: ON
Time to complete - 377 seconds
Note: Similar to the second swap, during the face boost step, only CPU showed activity.
This feels slower than what speeds I was getting on my older 3080Ti card. I alo tried the hyperswap, but it completely changes the area around the lips so its unusable in my case.
Any help with be appreciated. If there is a way to run face_restore and face boost on the GPU that would be great!
Steps to reproduce the problem
Your workflow
Run a simple face swap with a face image as source and video frames as input. Turn on face_restore_model and enable face boost
Sysinfo
Windows 11 + 5090 GPU
Relevant console log
Python version: 3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)] ComfyUI version: 0.3.75 ComfyUI frontend version: 1.32.9 [ReActor] - STATUS - Running v0.6.2-b1 in ComfyUI Torch version: 2.8.0+cu128Additional information
No response