Skip to content
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

report a bug instead of crash when vae_decoder_only=True and using img2img #237

Open
chinshou opened this issue Apr 23, 2024 · 2 comments
Open

Comments

@chinshou
Copy link

At now if we use new_sd_ctx with vae_decoder_only=true , the img2img api call will crash without any exception catched.

We had better checking the vae_decoder_only flag in the img2img function to report ng flag and return NULL instead of crash that is much more user friendly.

@Windsander
Copy link

this too =D

@leejet
Copy link
Owner

leejet commented Apr 29, 2024

The current API lacks extensive documentation, requiring users to have a deeper understanding of some code details. I'll find some time later to improve the documentation for certain APIs.

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

No branches or pull requests

3 participants