lllyasviel / lllyasviel/sd-forge-layerdiffuse
Error loading script: forge_layerdiffusion.py
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.1k
- Forks
- 352
- PR merge metrics
- No merged PRs in 30d
Description
Hello. The script stopped loading at startup.
```
*** Error loading script: forge_layerdiffusion.py
Traceback (most recent call last):
File "C:\ai\webui\modules\scripts.py", line 541, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\ai\webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\ai\webui\extensions\sd-forge-layerdiffuse\scripts\forge_layerdiffusion.py", line 15, in
from lib_layerdiffusion.models import TransparentVAEDecoder, TransparentVAEEncoder
File "C:\ai\webui\extensions\sd-forge-layerdiffuse\lib_layerdiffusion\models.py", line 10, in
from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block
ModuleNotFoundError: No module named 'diffusers.models.unets'
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with extensions/sd-forge-layerdiffuse/scripts/forge_layerdiffusion.py and lib_layerdiffusion/models.py, focusing on the failing diffusers import and the installed module layout. Reproduce startup loading in the Forge WebUI and confirm that forge_layerdiffusion.py loads without the ModuleNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100