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

Fix ONNX export of stable diffusion models #1108

Closed
wants to merge 3 commits into from
Closed

Conversation

echarlaix
Copy link
Collaborator

Solution integrated by @eaidova in huggingface/optimum-intel#342 to fix the ONNX export of stable diffusion models as the aten::scaled_dot_product_attention is not registered for export. Beforehand the scaled dot-product attention was disabled by default even for torch > v2.0 before exporting the model. See huggingface/diffusers#3273, disabled in huggingface/diffusers#3387

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jun 13, 2023

The documentation is not available anymore as the PR was closed or merged.

@echarlaix echarlaix marked this pull request as ready for review June 15, 2023 15:17
@echarlaix echarlaix requested a review from fxmarty June 15, 2023 16:35
@echarlaix echarlaix closed this Jun 16, 2023
@echarlaix echarlaix deleted the fix-diffusers branch June 23, 2023 13:04
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 this pull request may close these issues.

None yet

2 participants