lllyasviel / Fooocus

Focus on prompting and generating
GNU General Public License v3.0
41.68k stars 5.95k forks source link

[Bug]: AMD GPU Crashing Due to High Usage and Memory Overflow #3681

Open kiruthikpurpose opened 1 month ago

kiruthikpurpose commented 1 month ago

Checklist

What happened?

When using Fooocus for image generation tasks, the GPU crashes during high memory utilization. The screen goes black, and the system requires a restart, sometimes also needing a driver reinstall.

Steps to reproduce the problem

  1. Open Fooocus and start an image generation task (e.g., inpainting).
  2. GPU memory utilization spikes to near 100%.
  3. System crashes, screen goes black.

What should have happened?

Fooocus should complete image generation tasks without crashing the system or causing GPU issues.

What browsers do you use to access Fooocus?

Brave

Where are you running Fooocus?

Cloud (other)

What operating system are you using?

No response

Console logs

Logs can be provided upon request. No immediate log output before the crash.

Additional information

hqnicolas commented 3 weeks ago

Try this method: https://github.com/hqnicolas/lllyasvielFooocusROCm/tree/main