lllyasviel / lllyasviel/stable-diffusion-webui-forge
TypeError when using CFG scale 1 + ControlNet XL models.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
I can just use a CFG scale of 1.01 and solve the issue, but I want some detailed explanation if possible.
When using CFG scale 1 (for sdxl lightning) and an XL ControlNet (cannyXL from diffusers), it gives me a
TypeError: 'NoneType' object is not iterable
error.
Anyone experiencing the same issue?
Sorry for leaving the logs and all those stuff. I can't log in to github in the server that SD is running.
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 by reproducing the reported configuration: CFG scale 1 with an SDXL Lightning model and the cannyXL ControlNet from diffusers. Capture the complete traceback and server logs, then trace the NoneType iteration to its source. Done means identifying the failing condition and documenting or fixing the behavior, with a regression check if the project has an applicable test location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100