[Build] Move DeepGEMM pin to the vLLM fork and update the Mega MoE call convention (#56876)

Signed-off-by: Yongye Zhu <zyy1102000@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yongye Zhu
2026-09-15 00:57:18 -07:00
committed by GitHub
co-authored by Claude Opus 5
parent 000c7df9ff
commit 8263ea12bd
6 changed files with 26 additions and 13 deletions
+5 -1
View File
@@ -280,7 +280,11 @@ def _lazy_init() -> None:
_fp8_gemm_nt_impl = getattr(_dg, "fp8_gemm_nt", None)
_fp8_einsum_impl = getattr(_dg, "fp8_einsum", None)
_grouped_impl = getattr(_dg, "m_grouped_fp8_gemm_nt_contiguous", None)
_grouped_masked_impl = getattr(_dg, "fp8_m_grouped_gemm_nt_masked", None)
# DeepGEMM 2.8.0 dropped the legacy `fp8_*` aliases; keep both spellings so
# an externally pinned older DeepGEMM still resolves.
_grouped_masked_impl = getattr(
_dg, "m_grouped_fp8_gemm_nt_masked", None
) or getattr(_dg, "fp8_m_grouped_gemm_nt_masked", None)
_grouped_fp4_impl = getattr(_dg, "m_grouped_fp8_fp4_gemm_nt_contiguous", None)
# DeepGEMM exposes fp8_fp4_*_mqa_logits as the canonical symbols that
# handle both the FP8 and FP4 Q/K paths via a tuple-typed `q`.