diff options
Diffstat (limited to 'modules/lowvram.py')
-rw-r--r-- | modules/lowvram.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/lowvram.py b/modules/lowvram.py index 3f830664..96f52b7b 100644 --- a/modules/lowvram.py +++ b/modules/lowvram.py @@ -15,6 +15,9 @@ def send_everything_to_cpu(): def setup_for_low_vram(sd_model, use_medvram):
+ if getattr(sd_model, 'lowvram', False):
+ return
+
sd_model.lowvram = True
parents = {}
|