aboutsummaryrefslogtreecommitdiff
path: root/modules/interrogate.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-22 18:49:08 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-22 18:49:08 +0300
commit016554e43740e0b7ded75e89255de81270de9d6c (patch)
tree127ecb9d92ce53f8e351270e8ef1c27784af3088 /modules/interrogate.py
parentbb7dd7b64668d4b645dba38a3bc52be452d14eb8 (diff)
add --medvram-sdxl
Diffstat (limited to 'modules/interrogate.py')
-rw-r--r--modules/interrogate.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/interrogate.py b/modules/interrogate.py
index a3ae1dd5..3045560d 100644
--- a/modules/interrogate.py
+++ b/modules/interrogate.py
@@ -186,9 +186,8 @@ class InterrogateModels:
res = ""
shared.state.begin(job="interrogate")
try:
- if shared.cmd_opts.lowvram or shared.cmd_opts.medvram:
- lowvram.send_everything_to_cpu()
- devices.torch_gc()
+ lowvram.send_everything_to_cpu()
+ devices.torch_gc()
self.load()