-
Notifications
You must be signed in to change notification settings - Fork 487
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
SD3 and Flux support #2073
SD3 and Flux support #2073
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
…pdated negative prompt test, flux and sd3 tests
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.
LGTM as far as we get the CIs green. Thanks for adding the support @IlyasMoutawwakil !
…pdated negative prompt test, flux and sd3 tests
…gingface/optimum into diffusers-transformer-export
How would this work with stabilityai/stable-diffusion-3-medium on huggingface? Even after specifying the framework as pytorch, it's not able infer the correct library for the models:
|
hi @kahmed10, the pipeline should be loadable with diffusers first, stability has a diffusers-compatible pipeline in |
This worked, thanks!!!
|
@IlyasMoutawwakil is this planning to be merged in soon? I see in CI there are some tests failing. |
@kahmed10 it should be merged today, the failing tests are unrelated (because tests saturating the memory). |
tests are passing except for macos-13 (due to known issue handled in #2085) |
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 great thanks @IlyasMoutawwakil
will merge once all ci is finished ! |
with the merged #2085, I added some checks based on transformers and diffusers versions. |
a21148f
to
2183fb7
Compare
Hi, @IlyasMoutawwakil Did this patch support to export the series of SD3 to onnx models, include SD3.5 large, SD3.5 Large Turbo, SD3.5 Medium and SD3.0-medium? |
What does this PR do?
In this PR we add support of SD3 and Flux Diffusion Pipelines, for onnx export and onnxruntime inference.
Before submitting
Who can review?