lllyasviel / lllyasviel/sd-forge-layerdiffuse
Error processing every sampling
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.1k
- Forks
- 352
- PR merge metrics
- No merged PRs in 30d
Description
I get this
Moving model(s) skipped. Freeing memory has taken 1.48 seconds
[Layer Diffusion] LayerMethod.FG_ONLY_ATTN_SD15
*** Error running process_before_every_sampling: F:\stable-diffusion-webui-forge\extensions\sd-forge-layerdiffuse\scripts\forge_layerdiffusion.py
Traceback (most recent call last):
File "F:\stable-diffusion-webui-forge\modules\scripts.py", line 830, in process_before_every_sampling
script.process_before_every_sampling(p, *script_args, **kwargs)
File "F:\stable-diffusion-webui-forge\extensions\sd-forge-layerdiffuse\scripts\forge_layerdiffusion.py", line 151, in process_before_every_sampling
vae = p.sd_model.forge_objects.vae.clone()
AttributeError: 'VAE' object has no attribute 'clone'
plus no model is downloaded. trying to generate in SD1.5. I manually downloaded the model and still issues.
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 scripts/forge_layerdiffusion.py at process_before_every_sampling, especially line 151 where p.sd_model.forge_objects.vae.clone() fails. Reproduce the SD1.5 generation path and inspect the VAE object exposed by Forge. Done means sampling completes without the AttributeError and the required model handling works as expected.
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