{"record":{"id":"06e722cecf319a32","repo":"vllm-project/vllm","slug":"unknown-quantization-method-self-quantization","errorCode":null,"errorMessage":"Unknown quantization method: {self.quantization}. Must be one of {supported_quantization}.","messagePattern":"Unknown quantization method: (.+?)\\. Must be one of (.+?)\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"vllm/config/model.py","lineNumber":1282,"sourceCode":"                    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 \"\n                    f\"({self.quantization}).\"\n                )\n\n        if self.quantization is not None:\n            if self.quantization not in supported_quantization:\n                raise ValueError(\n                    f\"Unknown quantization method: {self.quantization}. Must \"\n                    f\"be one of {supported_quantization}.\"\n                )\n            current_platform.verify_quantization(self.quantization)\n\n        if self.quantization in me_quant.DEPRECATED_QUANTIZATION_METHODS:\n            if self.allow_deprecated_quantization:\n                logger.warning(\n                    \"The quantization method %s is deprecated \"\n                    \"and will be removed in future versions of vLLM.\",\n                    self.quantization,\n                )\n            else:\n                raise ValueError(\n                    \"The quantization method %s is deprecated \"\n                    \"and will be removed in future versions of vLLM. To bypass, \"\n                    \"set `--allow-deprecated-quantization`.\",\n                    self.quantization,","sourceCodeStart":1264,"sourceCodeEnd":1300,"githubUrl":"https://github.com/vllm-project/vllm/blob/c794754062d49a8fdb63ab3c5215b488b865030c/vllm/config/model.py#L1264-L1300","documentation":"Error \"Unknown quantization method: {self.quantization}. Must be one of {supported_quantization}.\" thrown in vllm-project/vllm.","triggerScenarios":"Raised at vllm/config/model.py:1282 when validation fails: Unknown quantization method. 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:1282 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":["Use one of the supported quantization methods listed in the error.","Check the model's quantization config and the vLLM supported quantization list."],"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"}