From 1fbd9ae45652ed2e2c6b76d81f00eef8cbec89d3 Mon Sep 17 00:00:00 2001 From: zhewenli Date: Thu, 2 Oct 2025 10:31:12 -0700 Subject: [PATCH] fix import Signed-off-by: zhewenli --- .../layers/quantization/quark/schemes/quark_w4a4_mxfp4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/model_executor/layers/quantization/quark/schemes/quark_w4a4_mxfp4.py b/vllm/model_executor/layers/quantization/quark/schemes/quark_w4a4_mxfp4.py index f8628a82277b..bcf3911095ac 100644 --- a/vllm/model_executor/layers/quantization/quark/schemes/quark_w4a4_mxfp4.py +++ b/vllm/model_executor/layers/quantization/quark/schemes/quark_w4a4_mxfp4.py @@ -97,7 +97,7 @@ def gemm_with_dynamic_quant_fake( dispatch_key=current_platform.dispatch_key, ) -except ImportError: +except (ImportError, AttributeError): dynamic_mxfp4_quant = gemm_afp4wfp4 = None __all__ = ["QuarkW4A4MXFP4"]