mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-05 23:49:57 +00:00
qol
This commit is contained in:
@@ -38,10 +38,6 @@ def build_loaded(module, loader_name):
|
||||
|
||||
|
||||
def patch_all_basics():
|
||||
import ldm_patched.modules.controlnet
|
||||
import modules_forge.controlnet
|
||||
|
||||
ldm_patched.modules.controlnet.compute_controlnet_weighting = modules_forge.controlnet.compute_controlnet_weighting
|
||||
build_loaded(safetensors.torch, 'load_file')
|
||||
build_loaded(torch, 'load')
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user