aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-10-11 20:07:09 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-10-11 20:07:09 +0000
commit6be32b31d181e42c639dad3451229aa7b9cfd1cf (patch)
tree59e3fcf183fa186444b450f28ae73737039dfc86
parent2f6ea2fbca4783404f03be03f3d51b0cfe0d2612 (diff)
downloadstable-diffusion-webui-gfx803-6be32b31d181e42c639dad3451229aa7b9cfd1cf.tar.gz
stable-diffusion-webui-gfx803-6be32b31d181e42c639dad3451229aa7b9cfd1cf.tar.bz2
stable-diffusion-webui-gfx803-6be32b31d181e42c639dad3451229aa7b9cfd1cf.zip
reports that training with medvram is possible.
-rw-r--r--modules/hypernetworks/ui.py2
-rw-r--r--modules/textual_inversion/ui.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/hypernetworks/ui.py b/modules/hypernetworks/ui.py
index c67facbb..dfa599af 100644
--- a/modules/hypernetworks/ui.py
+++ b/modules/hypernetworks/ui.py
@@ -25,7 +25,7 @@ def train_hypernetwork(*args):
initial_hypernetwork = shared.loaded_hypernetwork
- assert not shared.cmd_opts.lowvram and not shared.cmd_opts.medvram, 'Training models with lowvram or medvram is not possible'
+ assert not shared.cmd_opts.lowvram, 'Training models with lowvram is not possible'
try:
sd_hijack.undo_optimizations()
diff --git a/modules/textual_inversion/ui.py b/modules/textual_inversion/ui.py
index 70f47343..36881e7a 100644
--- a/modules/textual_inversion/ui.py
+++ b/modules/textual_inversion/ui.py
@@ -23,7 +23,7 @@ def preprocess(*args):
def train_embedding(*args):
- assert not shared.cmd_opts.lowvram and not shared.cmd_opts.medvram, 'Training models with lowvram or medvram is not possible'
+ assert not shared.cmd_opts.lowvram, 'Training models with lowvram not possible'
try:
sd_hijack.undo_optimizations()