Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vllm/model_executor/layers/quantization/modelopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
Loading