vllm.model_executor.layers.quantization.inc.inc
¶
Classes:
-
INCConfig–Config class for Intel Neural Compressor (INC).
INCConfig
¶
Bases: QuantizationConfig
Config class for Intel Neural Compressor (INC). Repo: https://github.com/intel/neural-compressor
Methods:
-
maybe_update_config–Record linear modules that the checkpoint keeps in 16 bit.
-
override_quantization_method–Override the
auto-roundmethod toinc.
maybe_update_config(model_name, hf_config=None, revision=None)
¶
Record linear modules that the checkpoint keeps in 16 bit.
AutoRound can leave a module inside a quantized block unquantized
without listing it in extra_config (for example the routed MoE gate
of Intel/Qwen3.5-35B-A3B-int4-AutoRound), while other exports quantize
the same module (Intel/Qwen3-Coder-Next-int4-AutoRound). Only the
safetensors headers say which one applies.
override_quantization_method(hf_quant_cfg, user_quant, hf_config=None)
classmethod
¶
Override the auto-round method to inc.