lora low memory mode: switching requires manual model reload

This commit is contained in:
AI-Casanova
2024-12-06 22:54:08 -06:00
parent 461be71050
commit 6c9101dfaf
2 changed files with 64 additions and 4 deletions
+1
View File
@@ -913,6 +913,7 @@ options_templates.update(options_section(('extra_networks', "Networks"), {
"lora_apply_tags": OptionInfo(0, "LoRA auto-apply tags", gr.Slider, {"minimum": -1, "maximum": 32, "step": 1}),
"lora_in_memory_limit": OptionInfo(0, "LoRA memory cache", gr.Slider, {"minimum": 0, "maximum": 24, "step": 1}),
"lora_quant": OptionInfo("NF4","LoRA precision in quantized models", gr.Radio, {"choices": ["NF4", "FP4"]}),
"lora_low_memory": OptionInfo(False, "LoRA low memory mode"),
}))
options_templates.update(options_section((None, "Internal options"), {