-
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
LocalAI: Stable Diffusion image generation broken: 500 Internal Server Error #88
Comments
I have a similar behavior. I think it is related to the image size requested by the assistant, which is 1024x1024. See line 46 in Application.php of the integration_openai repo. In the past there was a picker for this in the assistant or text2image helper. See also TextToImageProvider.php line 56. The default stablediffusion of LocalAI can only deal with resolutions up to 512x512. |
@S-I-M-O-N thank you for this hint! |
@Killerjoe It depends on the model used. I stumbled across this previously, because earlier versions of the Nextcloud integration only allowed 1024x1024 to be selected for OpenAI (thus I assume it can handle larger than 512x512). I used LocalAI with stable-diffusion-xl-base-1.0 which required at least 1024x1024 otherwise it would just produce garbage. |
And the default size has been changed to 512x512 in integration_openai as well (>= v3.1.2). |
@julien-nc Thank you for fixing the default value. LocalAI should work now out of the box. |
Which version of assistant are you using?
v1.0.9
Which version of Nextcloud are you using?
v29.0.0
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Firefox
Describe the Bug
I cannot get Stable Diffusion image generation to work with Nextcloud Assistant: I have my LocalAI instance attached and using the own LocalAI UI, image generation works flawlessly.
Expected Behavior
I should be able to generate an image with Nextcloud Assistant
To Reproduce
See above.
The text was updated successfully, but these errors were encountered: