cancel
Showing results for 
Search instead for 
Did you mean: 

AI Discussions

hinst
Adept I

AMD AMUSE v2.1.11 potential memory leak

Good day. I come to report a potential bug in AMD AMUSE v2.1.11

System info:

  1. Windows 11 Home, version 23H2
  2. Graphics card: Radeon RX 7800 XT
  3. Graphics driver: Adrenalin Edition 24.9.1

Steps to reproduce:

  1. Load model: Juggernaut XL
  2. Set resolution: 1280 x 1280, steps=100
  3. Generate one image by clicking "Generate" button
    1. While you wait for image generation, open Windows Task Manager, go to GPU tab
  4. Observe VRAM usage over time
  5. Video memory usage is around 9 GB
  6. At the moment when image generation process is finished, the memory usage spikes up to 20 GB -> 16 dedicated + 4 shared
    1. This is not good because we have now filled all the available memory, and it stays occupied filled, despite the image generation process being already finished
  7. Generate more images with the same settings
    1. The image generation process will get slower and slower over time, eventually crashing or freezing
  8. Use batch image generation on the "Automation" tab -> the same problem will happen.
    1. The first image is always good, but next images will use too much VRAM

It seems like VRAM does not get released at some point where it probably should be released.

9GB should be enough because it is always enough for the first image, but the consequent images always struggle.

The workaround is to unload the model every time manually by clicking the red "x" button below Model Selector

0 Likes
0 Replies