You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stable Diffusion seems to not be able to do more than 80 characters input for the example. I cannot see where it allows more tokens generated, which I suspect is wrong?
I get this as output on input above 80 characters somewhere, this triggers the issue...
I am digging more into it myself but posting here to see if this is a base stable diffusion in candle bug or a candle example bug, and if a quick easy fix is known once seen by devs?
Thanks!
The text was updated successfully, but these errors were encountered:
(sorry for the late reply) The 77 limit is actually an underlying issue of stable diffusion, see huggingface/diffusers#2136 for example for more details.
I'll tweak things so that there is a more explicit error message. Maybe it would be possible to chunk the prompt in batches of 77 and combine things later on but I feel that it may add a bit too much complexity for a niche use case.
(sorry for the late reply) The 77 limit is actually an underlying issue of stable diffusion, see huggingface/diffusers#2136 for example for more details. I'll tweak things so that there is a more explicit error message. Maybe it would be possible to chunk the prompt in batches of 77 and combine things later on but I feel that it may add a bit too much complexity for a niche use case.
Ah thank you! That makes sense, I guess they do this in the python ones. Yes that will help, it is hard to know what is going on and possibly need to know how to truncate it so doesn't go over since it also seems tricky to know exactly how many tokens it will be that I put int to know it is above 77.
Stable Diffusion seems to not be able to do more than 80 characters input for the example. I cannot see where it allows more tokens generated, which I suspect is wrong?
I get this as output on input above 80 characters somewhere, this triggers the issue...
I am digging more into it myself but posting here to see if this is a base stable diffusion in candle bug or a candle example bug, and if a quick easy fix is known once seen by devs?
Thanks!
The text was updated successfully, but these errors were encountered: