[GH-ISSUE #321] question about megamoe #162

Closed
opened 2026-10-26 21:13:56 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @Thunderbrook on GitHub (Apr 28, 2026).
Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/321

hello~ I have some questions about the two comments in the code.

  1. "Only use first 16 lanes for address" — I see that stmatrix.x4 is used, which seems to require all 32 lanes to provide addresses. link0
  2. What does the phrase 'One warp per row' mean in there? I personally feel that one warp processes two tokens. link1

thx~

Originally created by @Thunderbrook on GitHub (Apr 28, 2026). Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/321 hello~ I have some questions about the two comments in the code. 1. "Only use first 16 lanes for address" — I see that stmatrix.x4 is used, which seems to require all 32 lanes to provide addresses. [link0](https://github.com/deepseek-ai/DeepGEMM/blob/main/deep_gemm/include/deep_gemm/impls/sm100_fp8_fp4_mega_moe.cuh#L1163) 2. What does the phrase 'One warp per row' mean in there? I personally feel that one warp processes two tokens. [link1](https://github.com/deepseek-ai/DeepGEMM/blob/main/deep_gemm/include/deep_gemm/impls/sm100_fp8_fp4_mega_moe.cuh#L1186) thx~
Author
Owner

@zheanxu commented on GitHub (Apr 30, 2026):

Thanks for your careful review. You're right — both comments are outdated after recent code changes. We'll update them to reflect the current behavior. Appreciate you pointing this out!

<!-- gh-comment-id:4350589108 --> @zheanxu commented on GitHub (Apr 30, 2026): Thanks for your careful review. You're right — both comments are outdated after recent code changes. We'll update them to reflect the current behavior. Appreciate you pointing this out!
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#162
No description provided.