aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAngelBottomless <35677394+aria1th@users.noreply.github.com>2022-11-02 13:18:55 +0000
committerGitHub <noreply@github.com>2022-11-02 13:18:55 +0000
commit7ea5956ad5fa925f92116e8a3bf78d7f6517b654 (patch)
treee90e22ebc73ceec48d6f5be47188d411e55d91cd /modules/shared.py
parent10b280e9a21d7bbe854b212164b955444610743f (diff)
downloadstable-diffusion-webui-gfx803-7ea5956ad5fa925f92116e8a3bf78d7f6517b654.tar.gz
stable-diffusion-webui-gfx803-7ea5956ad5fa925f92116e8a3bf78d7f6517b654.tar.bz2
stable-diffusion-webui-gfx803-7ea5956ad5fa925f92116e8a3bf78d7f6517b654.zip
now add
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py
index d8e99f85..7ecb40d8 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -309,6 +309,7 @@ options_templates.update(options_section(('system', "System"), {
options_templates.update(options_section(('training', "Training"), {
"unload_models_when_training": OptionInfo(False, "Move VAE and CLIP to RAM when training if possible. Saves VRAM."),
+ "save_optimizer_state": OptionInfo(False, "Saves Optimizer state with checkpoints. This will cause file size to increase VERY much."),
"dataset_filename_word_regex": OptionInfo("", "Filename word regex"),
"dataset_filename_join_string": OptionInfo(" ", "Filename join string"),
"training_image_repeats_per_epoch": OptionInfo(1, "Number of repeats for a single input image per epoch; used only for displaying epoch number", gr.Number, {"precision": 0}),