-
Notifications
You must be signed in to change notification settings - Fork 60
Diffusers support #604
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
base: main
Are you sure you want to change the base?
Diffusers support #604
Conversation
ffed450 to
eb55c51
Compare
42cf8b6 to
1cf4b30
Compare
1cf4b30 to
0ee0b9f
Compare
0ee0b9f to
1e0fbfd
Compare
bb01d84 to
00f5286
Compare
00f5286 to
0a26f1b
Compare
ac6382a to
19e0ccd
Compare
| . preflight_qeff/bin/activate && | ||
| pip install --upgrade pip setuptools && | ||
| pip install .[test] && | ||
| pip install .[diffusers] && |
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.
better to make a .[all] where we install all the packages required for jenkins
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.
As we dont have the permission of many packages like librosa we can't put those in pyproject, so are you asking to create another .toml with the .[all]?
|
|
||
| # Initialize the FLUX.1-schnell pipeline from pretrained weights | ||
| # use_onnx_function=True enables ONNX-based optimizations for faster compilation | ||
| pipeline = QEFFFluxPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", use_onnx_function=False) |
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.
In CausalLM models we are adding use_onnx_subfunctions
Lets use same parameter name.
Also, this is a export time decision and we should take this parameter in the same call where we call export which is either in compile/export/__call__ in this case.
We should move this parameter to be accepcted by above mentioned methods.
In CausalLM models we are accepting this parameter in export/compile
Refer to #621 discussion for more details.
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.
Will resolve this.
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: tv-karthikeya <vtirumal@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
…and export APIs Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com> Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
…nd comments addressed Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
19e0ccd to
8d78ac9
Compare
Signed-off-by: Amit Raj <amitraj@qti.qualcommm.com>
Support for Diffusers Architecture in Efficient Transformers
Overview
This pull request introduces Diffusers architecture support to the Efficient Transformers framework, enabling seamless integration of diffusion models.
Key Highlights
parallel_compile