lllyasviel/sd-forge-layerdiffuse

No module named 'ldm_patched'

158zd opened this issue · 1 comments

Error loading script: forge_layerdiffusion.py
Traceback (most recent call last):
File "D:\ai\stable-diffusion-webui\modules\scripts.py", line 508, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "D:\ai\stable-diffusion-webui\modules\script_loading.py", line 14, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\ai\stable-diffusion-webui\extensions\sd-forge-layerdiffuse\scripts\forge_layerdiffusion.py", line 11, in
from lib_layerdiffusion.utils import rgba2rgbfp32, to255unit8, crop_and_resize_image, forge_clip_encode
File "D:\ai\stable-diffusion-webui\extensions\sd-forge-layerdiffuse\lib_layerdiffusion\utils.py", line 3, in
from ldm_patched.modules import model_management
ModuleNotFoundError: No module named 'ldm_patched'

This does not work with A1111. You gotta use Forge UI.