Skip to content

Fix ImportError: cannot import name 'generation_parameters_copypaste'#947

Merged
zanllp merged 1 commit into
zanllp:mainfrom
germyparker:main
May 7, 2026
Merged

Fix ImportError: cannot import name 'generation_parameters_copypaste'#947
zanllp merged 1 commit into
zanllp:mainfrom
germyparker:main

Conversation

@germyparker

Copy link
Copy Markdown
Contributor

A popular fork of SD Forge, Neo, removed the compatibility alias that mapped modules.generation_parameters_copypaste to modules.infotext_utils (the module it was renamed to some time ago).

This caused IIB to fail on load with an ImportError.

This PR updates the import in scripts/iib_setup.py to use infotext_utils directly, which works across all current versions of A1111, Forge, and Forge neo.

@zanllp zanllp merged commit fb14793 into zanllp:main May 7, 2026
@zanllp

zanllp commented May 7, 2026

Copy link
Copy Markdown
Owner

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants