onnx_light.onnx_core.paroquant#
Exposes lossless native GPTQModel ParoQuant checkpoint adapters.
Preserves exact AWQ-GEMM weights and required input rotation/channel-scale
state from the pinned upstream revision. Reconstruction returns weights in
the transformed basis, not a stand-alone replacement for the linear operator.
apply_paroquant_linear applies the complete operator using FLOAT arithmetic;
it retains the pinned dense consumer’s FP16/BF16 weight materialization, but
does not emulate low-precision activations, accelerator kernels or runtime adapters.
See Native GPTQModel ParoQuant operators for required side state and consumer semantics.