How can I limit CPU RAM usage in ComfyUI? #4841
Unanswered
Amit30swgoh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a command-line argument to limit CPU RAM usage, not VRAM? I have ample VRAM, but some nodes only work with CPU RAM, and I only have 50GB. I'm experiencing crashes, particularly when creating videos with features like "vid to vid." The error message is "^C," and ComfyUI crashes due to insufficient RAM. The --gpu-only flag doesn't solve the issue; I need to limit CPU RAM usage or perhaps split cross-attention processing. I'm unsure of the best approach, but it needs to target CPU RAM specifically, as I have plenty of GPU VRAM available.
Beta Was this translation helpful? Give feedback.
All reactions