[GH-ISSUE #366] [Feature] Will DeepGEMM support more advanced epilogue fusion for GEMM kernels? #176

Closed
opened 2026-10-26 21:14:13 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @b8zhong on GitHub (Jun 24, 2026).
Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/366

https://github.com/deepseek-ai/DeepGEMM/pull/347 has support BF16 accumulation, which can help a lot for large problem sizes. However, I'm wondering if DeepGEMM will consider support direct FP8 output GEMMs in the future and potentially other activation functions too?

Originally created by @b8zhong on GitHub (Jun 24, 2026). Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/366 https://github.com/deepseek-ai/DeepGEMM/pull/347 has support BF16 accumulation, which can help a lot for large problem sizes. However, I'm wondering if DeepGEMM will consider support direct FP8 output GEMMs in the future and potentially other activation functions too?
Author
Owner

@hiSandog commented on GitHub (Jul 2, 2026):

A useful way to frame this feature request may be to separate API surface from kernel support. Direct FP8 output has different accuracy and scaling implications from BF16 accumulation, while activation fusion adds epilogue shape/layout constraints. If the maintainers are open to it, a target matrix such as accumulator dtype -> output dtype -> supported epilogues would make it clearer which combinations are intended to stay in DeepGEMM versus be handled by a follow-up kernel.

<!-- gh-comment-id:4861721862 --> @hiSandog commented on GitHub (Jul 2, 2026): A useful way to frame this feature request may be to separate API surface from kernel support. Direct FP8 output has different accuracy and scaling implications from BF16 accumulation, while activation fusion adds epilogue shape/layout constraints. If the maintainers are open to it, a target matrix such as `accumulator dtype -> output dtype -> supported epilogues` would make it clearer which combinations are intended to stay in DeepGEMM versus be handled by a follow-up kernel.
Author
Owner

@b8zhong commented on GitHub (Sep 16, 2026):

Solved by https://github.com/deepseek-ai/DeepGEMM/pull/432

<!-- gh-comment-id:5700893322 --> @b8zhong commented on GitHub (Sep 16, 2026): Solved by https://github.com/deepseek-ai/DeepGEMM/pull/432
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepGEMM#176
No description provided.