[Quantization] Remove dead QuantizationConfig.is_mxfp4_quant (#51793)

Signed-off-by: Felix Marty <Felix.Marty@amd.com>
This commit is contained in:
fxmarty-amd
2026-08-13 13:58:31 -04:00
committed by GitHub
parent b96bcd0b47
commit 48825acc23
4 changed files with 0 additions and 41 deletions
@@ -258,19 +258,3 @@ class QuantizationConfig(ABC):
# TODO: revision is never passed currently in vllm.py,
# but is used in subclasses, should we remove this parameter?
pass
def is_mxfp4_quant(self, prefix: str, layer: torch.nn.Module) -> bool:
"""
Determine if mxfp4 quantization will be used for this config.
This allows hidden_size rounding to happen before moe_config creation
without needing to instantiate quant_method first.
Args:
prefix: The layer prefix/name in the model
layer: The layer module
Returns:
True if this config uses MXFP4 quantization, False otherwise
"""
return False