-
Notifications
You must be signed in to change notification settings - Fork 185
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
[Feature Request]: Implementation of Token Merging for fast SD #61
Comments
DirectML seems to be weak on handling partially modified dimensions. (dim < 0) |
Thank you for taking a look into it. |
I think they'll fix it someday, but I don't know when it will be. I don't think we need to maintain this issue because an extension for Token Merging is already out. |
Is there an existing issue for this?
What would your feature do ?
Assuming its possible - an implementation of https://github.com/dbolya/tomesd would be great!
They claim significant memory savings and inference speed improvements with very little quality loss.
However, it requires
pytorch >= 1.12.1
(forscatter_reduce
) so I'm not sure this can be ported to DirectML though.Proposed workflow
.
Additional information
No response
The text was updated successfully, but these errors were encountered: