class_docstr: This is a wrapper class about all possible attributes and features that you can
   play with a model that has been loaded using `auto-awq` library awq quantization
   relying on auto_awq backend.
  
  Args:
      bits (`int`, *optional*, defaults to 4):
          The number of bits to quantize to.
      group_size (`int`, *optional*, defaults to 128):
          The group size to use for quantization.
          Recommended value is 128 and -1 uses per-column quantization.
      zero_point (`bool`, *optional*, defaults to `True`):
          Whether to use zero point quantization.
      version (`AWQLinearVersion`, *optional*, defaults to
      `AWQLinearVersion.GEMM`):
          The version of the quantization algorithm to use.
          GEMM is better for big batch_size (e.g. >= 8) otherwise,
          GEMV is better (e.g. < 8 )
      backend (`AwqBackendPackingMethod`, *optional*, defaults to
      `AwqBackendPackingMethod.AUTOAWQ`):
          The quantization backend. Some models might be quantized using `llm-awq` backend.
          This is useful for users that quantize their own models using `llm-awq` library.
      modules_to_not_convert (`list`, *optional*, defaults to []):
          The modules in qblock while not quantized.
docstr: Safety checker that arguments are correct
docstr_tok: ["Safety","checker","that","arguments","are","correct"]
code: def post_init(self):
      r"""
      Safety checker that arguments are correct
      """
      invalidInputError(
          self.backend == AwqBackendPackingMethod.AUTOAWQ
          or self.backend == AwqBackendPackingMethod.LLMAWQ,
          "Only supported quantization backends in "
          f"{AwqBackendPackingMethod.AUTOAWQ} and "
          f"{AwqBackendPackingMethod.LLMAWQ} and "
          f"not recognized backend {self.backend}",
      )
  
      invalidInputError(
          self.version
          in [AWQLinearVersion.GEMM, AWQLinearVersion.GEMV],
          "Only supported versions are in [AWQLinearVersion.GEMM,"
          f"AWQLinearVersion.GEMV] - not recognized version {self.version}",
      )
  
imports: from dataclasses import dataclass
  from bigdl.llm.utils.common import invalidInputError
  from transformers.utils.quantization_config import QuantizationConfigMixin
  from transformers.utils.quantization_config import AwqBackendPackingMethod, AWQLinearVersion, QuantizationMethod
label_desc: Use image node_id 2 for calling the AwqConfig obj's underlying member method code with example usage: obj.post_init() without return types