mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-03-07 14:09:47 +00:00
Maintain patching related
1. fix several problems related to layerdiffuse not unloaded 2. fix several problems related to Fooocus inpaint 3. Slightly speed up on-the-fly LoRAs by precomputing them to computation dtype
This commit is contained in:
@@ -802,8 +802,6 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
|
||||
memory_management.unload_all_models()
|
||||
|
||||
if need_global_unload:
|
||||
p.sd_model.current_lora_hash = str([])
|
||||
p.sd_model.forge_objects.unet.lora_loader.dirty = True
|
||||
p.clear_prompt_cache()
|
||||
|
||||
need_global_unload = False
|
||||
|
||||
Reference in New Issue
Block a user