-
Notifications
You must be signed in to change notification settings - Fork 9
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
[gradio] cuda not release gpu memory? #4
Comments
controlnet_conditioning_scale should be of type float like the controlNet model parameter. |
it's sad that, even i input 2.0 , or modify scale_c = float(scale_c), the error also comes. i have no idea why this happen. |
The maximum value of content_C in Gradio is 2.0. However, in our experience, it is not recommended to set it higher than 1.2, which can result in style information not being injected. Is it ok to set the rest of the values please? |
your gradio app.py
so i suppose the controlnet_conditioning_scale should be configured below 1, but it's overwrited by content_scale? feel confused with these two parameters. |
Yes could cause confusion. This will be changed in the next version. |
fixed. |
diffusers 0.28.0.dev0
first time runs well, the second runtime changed the content scale to 2 , CUDA out of memory errors.
:
PTAL
The text was updated successfully, but these errors were encountered: