[Fix] Materialize FlashInfer MXFP8 input layout
This commit is contained in:
parent
d0863501ca
commit
be9d6bfe3a
@ -36,7 +36,12 @@
|
|||||||
|
|
||||||
x = dispatch_output.hidden_states
|
x = dispatch_output.hidden_states
|
||||||
topk_output = dispatch_output.topk_output
|
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,
|
ep_rank=quant_info.moe_ep_rank,
|
||||||
use_w4_group_scaling=not use_mxfp8_act_scaling,
|
use_w4_group_scaling=not use_mxfp8_act_scaling,
|
||||||
use_mxfp8_act_scaling=use_mxfp8_act_scaling,
|
use_mxfp8_act_scaling=use_mxfp8_act_scaling,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user