-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Onnx] support half-precision and fix bugs for onnx pipelines #932
Conversation
The documentation is not available anymore as the PR was closed or merged. |
This looks great @SkyTNT, thank you so much! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @SkyTNT! Taking a look at the batched safety checker issue, we probably have a bug in forward_onnx()
that causes it.
src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for the updates!
…gface#932) * [Onnx] support half-precision and fix bugs for onnx pipelines * Update convert_stable_diffusion_checkpoint_to_onnx.py * style * fix has_nsfw_concept * Update convert_stable_diffusion_checkpoint_to_onnx.py * fix style
Hello. I add support for half-precision and fix bugs in onnx pipelines. @anton-l could you take a look here?