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

Add StableDiffusion Dreambooth example #102

Open
0xdevalias opened this issue Nov 24, 2022 · 2 comments
Open

Add StableDiffusion Dreambooth example #102

0xdevalias opened this issue Nov 24, 2022 · 2 comments

Comments

@0xdevalias
Copy link
Author

AITemplate is for inference. I don't think it would provide any speedup during training.
EDIT: nevermind. You can still accelerate the frozen parts of the model.

Originally posted by @matteoserva in ShivamShrirao/diffusers#32 (comment)

It is just for inference so won't be helpful in training. I also tested it, it's good for inference but also takes a really long time to compile.

Originally posted by @ShivamShrirao in ShivamShrirao/diffusers#32 (comment)

@chenyang78
Copy link
Contributor

It is just for inference so won't be helpful in training. I also tested it, it's good for inference but also takes a really long time to compile.

Just FYI - The compilation time with the latest open-source version has been improved a lot from our first release. In our experiences, it can be 4X faster for the models where computation-intensive ops are mostly GEMM-family ops. We've made similar improvement for Conv ops in our internal version, which will be sync-ed to the open-source repo later. Stay tuned. Thanks.

tissue3 pushed a commit to tissue3/AITemplate-1 that referenced this issue Feb 7, 2023
* Add fallback group layernorm kernel

* group layernorm cat fusion
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

No branches or pull requests

2 participants