Open xiaol opened 1 month ago
ReActor loads all the tensors (when processing input frames) into RAM, the more frames you load - the more RAM it eats Also RAM consumption depends on the video resolution, the more resolution - the more RAM it consumes You can split this process into parts by working with such parameters as "frame load cap" and "skip first frames" (Load Video node) and then combine all the parts in another workflow or via any video editor Or you can try to reduce frames size (via scale by node) and upscale them back before combining the final video
I'm struggling with the same problem with the reactor ... I wish that you can find a solution to optimize the process... I tried multiple faceswap repositories for example face fusion , Roop unleashed ultra high resolution videos with those programs but i didn't face this extremely high usage of CPU and ram and it always works very well without facing problems with the extremely high usage of CPU and ram ... There must be something missed in the programming of the reactor I wish if somebody can find a solution for this problem.... Before the last update of the reactor everything was fine but after the last update which made the process faster the problem begins with the extremely high usage of CPU and ram Please fix it reactor is better than any other program because we can combine it with other nodes to create masterpiece videos
Guys, feel free to test "mem_test" branch https://github.com/Gourieff/comfyui-reactor-node/tree/mem_test with the latest commit https://github.com/Gourieff/comfyui-reactor-node/commit/7bd408b67520f8259bcc1e1bae3beb4d48f59b11 to see if there are any RAM benefits by combining different methods of analyzing images:
Additional fields in the ReActorOptions Node:
- analyzer_load: "fast" or "slow" (old method)
- processing_method: "analyzing -> swapping" or "analyzing + swapping" (old way)
Related #310
Related #310
I tried to install it the memory test from comfy (install through git url) I couldn't I received a fail installation
Same problem still exist I couldn't install mem test
First, confirm
What happened?
When using multi-face swap on lengthy videos, it consumes the entire server CPU. Is there a way to restrict its usage? Additionally, the server crashes after analyzing images.
Steps to reproduce the problem
workflow-of-comfyui-reactor-fast-face-swap
Sysinfo
a100 64x CPU 126G RAM
Relevant console log
Additional information
No response