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

[WIP] Initial impl of HF Diffusers adapter #1013

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

deeply
Copy link
Collaborator

@deeply deeply commented Feb 10, 2023

No description provided.


*(under development)*
BladeDISC can compile PyTorch models in Stable Diffusion pipeline to improve the inference speed.
A general workflow is like: export model and call BladeDISC to compile, then wrap optimized model
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export model and call BladeDISC

maybe call a specific API is helpful to understanding, just like call torch_blade.optimize(...)

BladeDISC can compile PyTorch models in Stable Diffusion pipeline to improve the inference speed.
A general workflow is like: export model and call BladeDISC to compile, then wrap optimized model
into original pipeline.
To further simplify the optimization workflow, we provide a adapter for Huggingface Diffusers library.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

library or models ? there are too many libraries in huggingface org.

@bonlime
Copy link

bonlime commented May 26, 2023

What's the status of this MR? I've tried using, but was unable to trace/script the components of StableDiffusion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants