reports that training with medvram is possible.

This commit is contained in:
AUTOMATIC 2022-10-11 23:07:09 +03:00
parent 2f6ea2fbca
commit 6be32b31d1
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ def train_hypernetwork(*args):
initial_hypernetwork = shared.loaded_hypernetwork 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: try:
sd_hijack.undo_optimizations() sd_hijack.undo_optimizations()

View File

@ -23,7 +23,7 @@ def preprocess(*args):
def train_embedding(*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: try:
sd_hijack.undo_optimizations() sd_hijack.undo_optimizations()