From 44a4a8e2a59a4eec6a5235ad170424e75d3f4f6f Mon Sep 17 00:00:00 2001 From: CalamitousFelicitousness Date: Sun, 30 Aug 2026 04:39:46 +0100 Subject: [PATCH] fix(lora): align the stack ramp fallback with its option default The ramp read 1.5 when the option was absent while the option itself defaults to 0.0, so a config without the key ran a ramp the settings page said was off. Only reachable where the options registry is not loaded, which is where the offline suites run. --- modules/lora/lora_stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lora/lora_stack.py b/modules/lora/lora_stack.py index 544035e36..d5c0001c7 100644 --- a/modules/lora/lora_stack.py +++ b/modules/lora/lora_stack.py @@ -45,7 +45,7 @@ def density(): def ramp_alpha(): - return float(getattr(shared.opts, 'lora_stack_alpha', 1.5)) + return float(getattr(shared.opts, 'lora_stack_alpha', 0.0)) def manual_discrepancy():