{"record":{"id":"3997ef4d15f57453","repo":"vllm-project/vllm","slug":"quantization-method-name-is-an-override-but-is-h","errorCode":null,"errorMessage":"Quantization method {name} is an override but is has not been added to the `overrides` list above. This is necessary to ensure that the overrides are checked in order of preference.","messagePattern":"Quantization method (.+?) is an override but is has not been added to the `overrides` list above\\. This is necessary to ensure that the overrides are checked in order of preference\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"vllm/config/model.py","lineNumber":1258,"sourceCode":"            # them at the start of the list so custom overrides have preference\n            # over the built-in ones.\n            quantization_methods = quantization_methods + overrides\n\n            # Detect which checkpoint is it\n            for name in quantization_methods:\n                method = me_quant.get_quantization_config(name)\n                quantization_override = method.override_quantization_method(\n                    quant_cfg, self.quantization, hf_config=self.hf_config\n                )\n                if quantization_override is not None:\n                    # Raise error if the override is not custom (custom would\n                    # be in QUANTIZATION_METHODS but not QuantizationMethods)\n                    # and hasn't been added to the overrides list.\n                    if (\n                        name in get_args(me_quant.QuantizationMethods)\n                        and name not in overrides\n                    ):\n                        raise ValueError(\n                            f\"Quantization method {name} is an override but \"\n                            \"is has not been added to the `overrides` list \"\n                            \"above. This is necessary to ensure that the \"\n                            \"overrides are checked in order of preference.\"\n                        )\n                    quant_method = quantization_override\n                    self.quantization = quantization_override\n                    break\n\n            quant_method = quant_method if quant_method != \"\" else None\n            # Verify quantization configurations.\n            if self.quantization is None:\n                self.quantization = quant_method\n            elif self.quantization != quant_method:\n                raise ValueError(\n                    \"Quantization method specified in the model config \"\n                    f\"({quant_method}) does not match the quantization \"\n                    f\"method specified in the `quantization` argument \"","sourceCodeStart":1240,"sourceCodeEnd":1276,"githubUrl":"https://github.com/vllm-project/vllm/blob/c794754062d49a8fdb63ab3c5215b488b865030c/vllm/config/model.py#L1240-L1276","documentation":"Error \"Quantization method {name} is an override but is has not been added to the `overrides` list above. This is necessary to ensure that the overrides are checked in order of preference.\" thrown in vllm-project/vllm.","triggerScenarios":"Raised at vllm/config/model.py:1258 when validation fails: Quantization method override has not been added to the `overrides` list. Typically triggered by an incompatible or incomplete vLLM configuration, an unsupported platform/backend combination, or a runtime resource/dependency that is missing.","commonSituations":"Commonly encountered at vllm/config/model.py:1258 during vLLM startup/config validation or runtime setup when: (1) conflicting CLI flags or config fields are combined, (2) the current platform (CUDA/ROCm/CPU/XPU) or installed optional packages do not support the requested feature, or (3) a required value is absent or out of range. Resolve by correcting the configuration as described in the message, or by selecting a supported alternative.","solutions":["Add the quantization method name to the `overrides` list in the config so overrides are checked in order of preference."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c794754062d49a8fdb63ab3c5215b488b865030c","analyzedAt":"2026-08-14T21:17:39.825Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}