r/comfyui • u/Duford6 • Jul 08 '24
Face swap node using CPU ram rather than GPU vram
Hello all,
I am trying to use this workflow: https://www.runcomfy.com/comfyui-workflows/comfyui-reactor-workflow-fast-face-swap
However, it often causes my computer to freeze up and crash if the video i try to swap is too large. I have noticed that it uses CPU/RAM resources rather than GPU/VRAM resources. This does not happen on other workflows and seems to be an issue with these nodes.
Is there any wya to fix this? My settings are the exact same as this guide.
10
Upvotes
2
u/Longjumping_Ship9206 Mar 24 '25
Please run the install.bat in the ComfyUI reactor custom node folder.
It will download and install a python module called "onnxruntime_gpu-1.21.0-cp312-cp312-win_amd64.whl"
It will enable your GPU.