From 5c4c1d6f1773af4b56ade21b020ea4855390e2f0 Mon Sep 17 00:00:00 2001 From: Masaki Takano Date: Tue, 28 Mar 2023 21:11:17 +0900 Subject: [PATCH 1/3] Change step of network_alpha from 1 to 0.1 --- lora_gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lora_gui.py b/lora_gui.py index e7ada89..f4c4a16 100644 --- a/lora_gui.py +++ b/lora_gui.py @@ -796,11 +796,11 @@ def lora_tab( interactive=True, ) network_alpha = gr.Slider( - minimum=1, + minimum=0.1, maximum=1024, label='Network Alpha', value=1, - step=1, + step=0.1, interactive=True, ) From 2e6ebec8b22a02f8906b2d99bf0735814a357708 Mon Sep 17 00:00:00 2001 From: Masaki Takano Date: Tue, 28 Mar 2023 21:28:41 +0900 Subject: [PATCH 2/3] same change for conv_alpha --- lora_gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lora_gui.py b/lora_gui.py index f4c4a16..e03b11d 100644 --- a/lora_gui.py +++ b/lora_gui.py @@ -815,10 +815,10 @@ def lora_tab( label='Convolution Rank (Dimension)', ) conv_alpha = gr.Slider( - minimum=1, + minimum=0.1, maximum=512, value=1, - step=1, + step=0.1, label='Convolution Alpha', ) # Show of hide LoCon conv settings depending on LoRA type selection From 13c4b1f73be9ebedb2b2222cd07bc12d6d108c4f Mon Sep 17 00:00:00 2001 From: bmaltais Date: Wed, 29 Mar 2023 19:43:23 -0400 Subject: [PATCH 3/3] v21.3.7 --- README.md | 3 +++ library/common_gui.py | 2 +- requirements.txt | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8b5b7a7..15030b7 100644 --- a/README.md +++ b/README.md @@ -213,6 +213,9 @@ This will store your a backup file with your current locally installed pip packa ## Change History +* 2023/03/29 (v21.3.7) + - Allow for 0.1 increment in Network and Conv alpha values: https://github.com/bmaltais/kohya_ss/pull/471 Thanks to @srndpty + - Updated Lycoris module version * 2023/03/28 (v21.3.6) - Fix issues when `--persistent_data_loader_workers` is specified. - The batch members of the bucket are not shuffled. diff --git a/library/common_gui.py b/library/common_gui.py index addd360..1645756 100644 --- a/library/common_gui.py +++ b/library/common_gui.py @@ -31,7 +31,7 @@ V1_MODELS = [ # define a list of substrings to search for ALL_PRESET_MODELS = V2_BASE_MODELS + V_PARAMETERIZATION_MODELS + V1_MODELS -FILE_ENV_EXCLUSION = ['COLAB_GPU', 'RUNPOD_ENVIRONMENT'] +FILE_ENV_EXCLUSION = ['COLAB_GPU', 'RUNPOD_POD_ID'] def check_if_model_exist(output_name, output_dir, save_model_as): diff --git a/requirements.txt b/requirements.txt index 8e47439..f8a1e88 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,9 +22,9 @@ fairscale==0.4.13 requests==2.28.2 timm==0.6.12 # tensorflow<2.11 -huggingface-hub==0.12.0 +huggingface-hub==0.13.0 tensorflow==2.10.1 # For locon support -lycoris_lora==0.1.2 +lycoris_lora==0.1.4 # for kohya_ss library . \ No newline at end of file