From bbaf9e9cb15af23e7a1fd250bf49a5efb15cadf7 Mon Sep 17 00:00:00 2001 From: Chen Zhang Date: Mon, 11 Aug 2025 21:22:26 -0700 Subject: [PATCH] [gpt-oss] Fix mxfp4 support (#22700) Signed-off-by: Chen Zhang --- vllm/model_executor/layers/quantization/utils/mxfp4_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/model_executor/layers/quantization/utils/mxfp4_utils.py b/vllm/model_executor/layers/quantization/utils/mxfp4_utils.py index 4084dd837c082..95eabe149d89c 100644 --- a/vllm/model_executor/layers/quantization/utils/mxfp4_utils.py +++ b/vllm/model_executor/layers/quantization/utils/mxfp4_utils.py @@ -68,7 +68,7 @@ def _can_support_mxfp4(use_grouped_topk: bool = False, return not (use_grouped_topk or topk_group or num_expert_group or expert_map or custom_routing_function or e_score_correction_bias or apply_router_weight_on_input - or scoring_func != "softmax" or activation != "silu" + or scoring_func != "softmax" or activation != "swiglu_oai" or expert_load_view or logical_to_physical_map or logical_replica_count)