facebookincubator / AITemplate

AITemplate is a Python framework which renders neural network into high performance CUDA/HIP C++ code. Specialized for FP16 TensorCore (NVIDIA GPU) and MatrixCore (AMD GPU) inference.
Apache License 2.0
4.53k stars 361 forks source link

Stable Diffusion SD XL support #851

Open CyberTimon opened 1 year ago

CyberTimon commented 1 year ago

Hello!

It would be super cool to accelerate the stable diffusion xl models, as they are pretty slow because of the 1024x1024 res.

I think it could work pretty easily, the only problem seems to be the second text encoder.

What do you guys think or has anyone successfully compiled the xl models?

hlky commented 1 year ago
JJHu1993 commented 1 year ago

@hlky is there any plan to support sdxl? If yes, when will it be finished?

hlky commented 1 year ago

@JJHu1993 I have sdxl support in my private projects. When I have time I will bring those changes here.

JJHu1993 commented 1 year ago

@hlky Anticipating your sdxl changes with great excitement, I believe that the integration of sdxl support will significantly enhance the influence of the AITemplate project.

CyberTimon commented 1 year ago

@JJHu1993 I have sdxl support in my private projects. When I have time I will bring those changes here.

Yes it would be great to see these changes. I can't wait to have a faster SDXL. Please share it!

Thank you very much!

BahzBeih commented 1 year ago

@JJHu1993 I have sdxl support in my private projects. When I have time I will bring those changes here.

thanks a lot, this will very great, i have a question, did AMD RX Vega 56 supported by AITemplate ?

CyberTimon commented 1 year ago

Any news? @hlky

hlky commented 1 year ago

@CyberTimon I'll do it today.

CyberTimon commented 1 year ago

Thank you very much! @hlky

aycaecemgul commented 10 months ago

is there an update on this? the comments are deleted