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

Request: Add compatiblity with ONNX (OnnxStableDiffusionPipeline) #31

Open
n00mkrad opened this issue Apr 28, 2023 · 2 comments · May be fixed by #43
Open

Request: Add compatiblity with ONNX (OnnxStableDiffusionPipeline) #31

n00mkrad opened this issue Apr 28, 2023 · 2 comments · May be fixed by #43

Comments

@n00mkrad
Copy link

Would be really great to get a speedup on DirectML/ONNX pipelines from Diffusers.

E.g. OnnxStableDiffusionPipeline, OnnxStableDiffusionImg2ImgPipeline, OnnxStableDiffusionInpaintPipeline.

@dbolya
Copy link
Owner

dbolya commented May 7, 2023

I'm not familiar with ONNX. What are the main differences with regular pytorch? If it's easy to do, I can write a patch.

@NatanBagrov NatanBagrov linked a pull request May 30, 2023 that will close this issue
@NatanBagrov
Copy link

Hi @dbolya, @n00mkrad ,
I've implemented an ONNX friendly counterpart :)
Let me know how that works for you

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

Successfully merging a pull request may close this issue.

3 participants