-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue] ControlNet Support #9
Comments
Getting the same error! |
ControlNet might patch the same things that ToMe patches, causing a conflict. |
Stack trace:
|
Hmm, seems like the controlnet plugin might overwrite the forward function for the unet itself, which is how ToMe gets the image size. I'll try to see if I can find a workaround. |
Fixed this by changing how I patched the model. However, do note that controlnet runs its own model in parallel, and that model doesn't have tome applied. So the speed-up might not be as good as without using controlnet. If there are any more issues, feel free to reopen. |
@dbolya |
@icech |
ToMe is currently not working with ControlNet. I tried canny preprocessor, for example, and got the following error:
Now, I am not sure if sd-web-ui-controlnet doesn't support ToMe or the opposite... 🤔
The text was updated successfully, but these errors were encountered: