This commit is contained in:
lllyasviel
2024-01-31 23:21:58 -08:00
parent 0f7c71b400
commit a203113f43
3 changed files with 66 additions and 71 deletions

View File

@@ -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