[Fix] Materialize FlashInfer MXFP8 input layout

This commit is contained in:
Zhiyi Hong 2026-08-18 14:50:13 +08:00
parent d0863501ca
commit be9d6bfe3a

View File

@ -36,7 +36,12 @@
x = dispatch_output.hidden_states
topk_output = dispatch_output.topk_output
@@ -384,7 +388,7 @@
@@ -343,3 +347,4 @@
+ x = x.contiguous()
x, input_sf = mxfp8_quantize(
x,
is_sf_swizzled_layout=True,
@@ -384,7 +389,7 @@
ep_rank=quant_info.moe_ep_rank,
use_w4_group_scaling=not use_mxfp8_act_scaling,
use_mxfp8_act_scaling=use_mxfp8_act_scaling,