[Bug] Fix Assertion error DeepEP/csrc/kernels/intranode.cu:928: 'false and Unsupported type' (#26532)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2025-10-13 18:26:37 -04:00
committed by GitHub
parent 577c72a227
commit 7200a21cd1
2 changed files with 5 additions and 1 deletions

View File

@@ -984,7 +984,7 @@ class FusedMoEModularKernel(torch.nn.Module):
assert num_chunks == 0
workspace13 = None
workspace2 = None
fused_out = torch.empty_like(a1q)
fused_out = torch.empty_like(a1q, dtype=in_dtype)
else:
assert num_chunks > 0
workspace13, workspace2, fused_out = self._allocate_buffers(