I am running ComfyUI through Pinokio on CachyOS Linux. It is working perfectly UNTIL I try to generate my second image or video per session, then it always bombs and requires a restart
I set this whole thing up just a couple of days ago.
First I was having issues with out of memory errors that shouldn't be happening. A downgrade of torch fixed those, as per this post.
But I still have this problem where the second thing that I try to generate always bombs out. Sometimes I will see an out of memory error. Sometimes I will not see anything in the log and it disconnects as if the back-end crashed. Other times my whole desktop starts glitching out and I have to restart the entire PC.
If I close and then restart Pinokio after every generation, this doesn't happen. But that's very obnoxious to have to do and I could work so much more efficiently if not having to reload the large models to memory constantly.
I saw one suggestion that adding this startup parameter should fix the issue that I describe: -disable-smart-memory But I have no clue where to put this since ComfyUI is launching out of Pinokio, not like a standard application.
I have also tried clicking the unload model and free model and node cache buttons (vacuum cleaner buttons). It frees up memory as seen in a resource monitor, but still doesn't help this behavior.
Anybody have any ideas how to proceed?
EDIT: Oh yeah, a bit about my hardware might help...
CPU: AMD Ryzen 9 5900X (24) @ 5.36 GHz
GPU: AMD Radeon RX 7800 XT [Discrete] with 16 GB VRAM
Memory: 64 GB DDR4