Skip to content

Commit 5ceac66

Browse files
elfieggTianQiLin666666
authored andcommitted
Update cutlass_moe.py (sgl-project#8535)
1 parent 434b9e2 commit 5ceac66

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

python/sglang/srt/layers/moe/cutlass_moe.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ def cutlass_fused_experts_fp8(
217217
)
218218
print("topk_weights: ", topk_weights.dtype)
219219
result = torch.empty((m, k), device=device, dtype=out_dtype)
220-
return apply_shuffle_mul_sum(c2, result, c_map, topk_weights)
220+
apply_shuffle_mul_sum(c2, result, c_map, topk_weights)
221+
return result
221222

222223

223224
FLOAT4_E2M1_MAX = 6.0

0 commit comments

Comments
 (0)