From 264864f588b52fc8fe8338ffb0835854e74fecff Mon Sep 17 00:00:00 2001 From: Vadim Gimpelson Date: Sun, 10 May 2026 00:13:40 +0400 Subject: [PATCH] fix Signed-off-by: Vadim Gimpelson --- vllm/model_executor/layers/quantization/modelopt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/model_executor/layers/quantization/modelopt.py b/vllm/model_executor/layers/quantization/modelopt.py index 0862efbea294..b2ed35cf92fd 100644 --- a/vllm/model_executor/layers/quantization/modelopt.py +++ b/vllm/model_executor/layers/quantization/modelopt.py @@ -245,7 +245,7 @@ def _extract_modelopt_quant_algo( """ if hf_quant_cfg is None: return None - if hf_quant_cfg.get("quant_method", "").lower() != "modelopt": + if not hf_quant_cfg.get("quant_method", "").lower().startswith("modelopt"): return None if "quantization" in hf_quant_cfg: quant_config = hf_quant_cfg["quantization"]