diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-08-08 11:39:34 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 11:39:34 +0900 |
commit | f17c8c2eff63210f5e96e1e2b049b46ba9cfa389 (patch) | |
tree | 701056aec9ae11bc45df9b39b176a54fa4d34e19 /modules/lowvram.py | |
parent | c75bda867be5345bf959daf23bdc19eadc90841a (diff) | |
parent | 01997f45ba089af24b03a5f614147bb0f9d8d824 (diff) |
Merge branch 'dev' into auro-autolaunch
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 = {}
|