automatic icon indicating copy to clipboard operation
automatic copied to clipboard

[Feature]: Play a notification sound when OOM

Open Threnos opened this issue 2 years ago • 4 comments

Feature description

As a user with just 4gb of vram, I constantly deal with OOM, especially when experimenting with settings and extentions. A great addition was to play a sound when generation is done, and I think it would be no less great to hear when system OOM'ed (if that event is catchable at all).

Version Platform Description

Version: 6b26c551 Tue Jul 11 08:35:15 2023 -0400 Linux Mint 20.3 Cinnamon Chrome Version 114.0.5735.198 (Official Build) (64-bit) NVIDIA GeForce RTX 3050 Ti Laptop GPU VRAM 3697 Arch (8, 6) Cores 20

Threnos avatar Jul 11 '23 19:07 Threnos

As a user with just 4gb of vram, I constantly deal with OOM, especially when experimenting with settings and extentions.

Ouch, what optimizations are you using? have you tried the diffusers backend? We just had a version go in that should allow switching them live, so you may find the diffusers backend to be more VRAM efficient for you, you'll see those under the Diffusers settings, there are tooltips.

Aptronymist avatar Jul 11 '23 20:07 Aptronymist

Asked and answered; https://github.com/vladmandic/automatic/issues/796 ;-)

brknsoul avatar Jul 11 '23 21:07 brknsoul

@Aptronymist --medvram with SDP (no mem attention) Forgive my lazyness, but is there a topic in this repo that explains what diffusers backend is?

Threnos avatar Jul 11 '23 21:07 Threnos

@Aptronymist --medvram with SDP (no mem attention) Forgive my lazyness, but is there a topic in this repo that explains what diffusers backend is?

https://huggingface.co/docs/diffusers/index

Or our Diffusers page in the wiki.

Aptronymist avatar Jul 11 '23 22:07 Aptronymist