-
Notifications
You must be signed in to change notification settings - Fork 560
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
Preshuffled BF16I4 Gemm Kernel #3913
Conversation
This pull request was exported from Phabricator. Differential Revision: D72270467 |
✅ Deploy Preview for pytorch-fbgemm-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Summary: X-link: facebookresearch/FBGEMM#1003 This diff adds a preshuffled BF16I4 mixed dtype kernel using cutlass. Performance is quite compelling and shows substantial speedups for some shapes compared to bf16 x bf16 gemm backed by cublas. Differential Revision: D72270467
3260bd3
to
f4c60d4
Compare
This pull request was exported from Phabricator. Differential Revision: D72270467 |
f4c60d4
to
fc2e0a8
Compare
Summary: X-link: facebookresearch/FBGEMM#1003 This diff adds a preshuffled BF16I4 mixed dtype kernel using cutlass. Performance is quite compelling and shows substantial speedups for some shapes compared to bf16 x bf16 gemm backed by cublas. Notably, this preshuffle approach is 1.5-2X faster than the standard bf16i4 gemm for most shapes. Differential Revision: D72270467
This pull request was exported from Phabricator. Differential Revision: D72270467 |
Summary: X-link: facebookresearch/FBGEMM#1003 This diff adds a preshuffled BF16I4 mixed dtype kernel using cutlass. Performance is quite compelling and shows substantial speedups for some shapes compared to bf16 x bf16 gemm backed by cublas. Notably, this preshuffle approach is 1.5-2X faster than the standard bf16i4 gemm for most shapes. Differential Revision: D72270467
fc2e0a8
to
38fb7bb
Compare
This pull request was exported from Phabricator. Differential Revision: D72270467 |
Summary: X-link: facebookresearch/FBGEMM#1003 This diff adds a preshuffled BF16I4 mixed dtype kernel using cutlass. Performance is quite compelling and shows substantial speedups for some shapes compared to bf16 x bf16 gemm backed by cublas. Notably, this preshuffle approach is 1.5-2X faster than the standard bf16i4 gemm for most shapes. Compared to other mixed dtype kernels like marlin and machete, we see that this new kernel is probably the best average performer. {F1976677491} Reviewed By: jianyuh Differential Revision: D72270467
Summary: X-link: facebookresearch/FBGEMM#1003 This diff adds a preshuffled BF16I4 mixed dtype kernel using cutlass. Performance is quite compelling and shows substantial speedups for some shapes compared to bf16 x bf16 gemm backed by cublas. Notably, this preshuffle approach is 1.5-2X faster than the standard bf16i4 gemm for most shapes. Compared to other mixed dtype kernels like marlin and machete, we see that this new kernel is probably the best average performer. {F1976677491} Reviewed By: jianyuh Differential Revision: D72270467
38fb7bb
to
2ac7e7d
Compare
This pull request was exported from Phabricator. Differential Revision: D72270467 |
Summary: X-link: facebookresearch/FBGEMM#1003 This diff adds a preshuffled BF16I4 mixed dtype kernel using cutlass. Performance is quite compelling and shows substantial speedups for some shapes compared to bf16 x bf16 gemm backed by cublas. Notably, this preshuffle approach is 1.5-2X faster than the standard bf16i4 gemm for most shapes. Compared to other mixed dtype kernels like marlin and machete, we see that this new kernel is probably the best average performer. {F1976677491} Reviewed By: jianyuh, jiawenliu64 Differential Revision: D72270467
This pull request has been merged in 8cbb32c. |
Summary: Pull Request resolved: facebookresearch/FBGEMM#1003 X-link: pytorch#3913 This diff adds a preshuffled BF16I4 mixed dtype kernel using cutlass. Performance is quite compelling and shows substantial speedups for some shapes compared to bf16 x bf16 gemm backed by cublas. Notably, this preshuffle approach is 1.5-2X faster than the standard bf16i4 gemm for most shapes. Compared to other mixed dtype kernels like marlin and machete, we see that this new kernel is probably the best average performer. {F1976677491} Reviewed By: jianyuh, jiawenliu64 Differential Revision: D72270467 fbshipit-source-id: 8426afd6587547083b8307f515cda49145939554
Summary: This diff adds a preshuffled BF16I4 mixed dtype kernel using cutlass. Performance is quite compelling and shows substantial speedups for some shapes compared to bf16 x bf16 gemm backed by cublas.
Differential Revision: D72270467