ComfyUI crashes the whole Linux OS (AMD GPU)
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
Not crashing
### Actual Behavior
I run Ubuntu 24.04 with 64G RAM and an Radeon RX 7800 XT GPU. ComfyUI was installed yesterday, v0.18.0 and rocm7.1.
No matter which template i use, the system will eventually crash. Text-to-Image takes a few runs. Animating an image crashes the system within a minute.
For thermal testing, i ran the GPU fan at full speed. When the crash happens, the fan turns off for a few seconds (and the screen goes blank). Screen and fan come back, but the system is locked up.
ComfyUI also uses way to much RAM. I had to add 20GB of swap just to run through like 3 or 4 text-to-image runs before running into problems. This memory leak issue may or may not be a separate problem.
This does NOT seem to be a hardware issue. I can run both Easy Diffusion and many demanding games (Satisfactory, U-Boat, Skyrim "whatever the newest edition is", Minecraft with high end renderers, Hogwards, ...) for hours on end without any problems. I can also run long, CPU-demanding tasks as well without problems, like compiling.
### Steps to Reproduce
See above
### Debug Logs
```powershell
I don't have them because the whole system crashes.
```
### Other
ComfyUI seems to be pretty unusable (in any mode) on my system for now. I'm going back to EasyDiffusion for the moment.
Contributor guide
Assessment
This issue has not been assessed yet.