-
Notifications
You must be signed in to change notification settings - Fork 236
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
Does torchao support FP8 Grouped GEMM? #1928
Comments
hi @zigzagcai , we recently landed a grouped gemm API into core which includes fp8: pytorch/pytorch#148531 . We plan to provide wrappers in torchao, although we do not have them just yet. cc @drisspg |
Thank you @vkuzo ! |
cc @HDCharles who has been looking into MoE quantization and grouped gemm recently |
Hey, I'm working to enable our existing quantization kernels to compose with group gemm its still in progress at the moment. As far as the core kernel, you can look at: https://github.com/pytorch/pytorch/pull/148531/files#diff-3f31c52b48cfddf8f4617d809f7695b2e4a1c78656f8c4b5143a4b45d01fcf23R1178 ...for an example |
Grouped GEMM kernels (https://github.com/fanshiqing/grouped_gemm) are used in many MoE models.
I just wander does torchao support FP8 kernels for Grouped GEMM, such like the three commonly used ops:
The text was updated successfully, but these errors were encountered: