code: def _add_quant_opts(parser):
      group = parser.add_argument_group("Quant options")
      group.add(
          "--quant_layers",
          "-quant_layers",
          default=[],
          nargs="+",
          type=str,
          help="list of layers to be compressed in 4/8bit.",
      )
  
      group.add(
          "--quant_type",
          "-quant_type",
          default="",
          choices=[
              "",
              "bnb_8bit",
              "bnb_FP4",
              "bnb_NF4",
              "awq_gemm",
              "awq_gemv",
          ],
          type=str,
          help="Type of compression.",
      )
      group.add(
          "--w_bit",
          "-w_bit",
          type=int,
          default=4,
          choices=[4],
          help="W_bit quantization.",
      )
      group.add(
          "--group_size",
          "-group_size",
          default=128,
          choices=[128],
          type=int,
          help="group size quantization.",
      )
  
imports: import configargparse
  from onmt.modules.sru import CheckSRU
  from onmt.transforms import AVAILABLE_TRANSFORMS
  from onmt.constants import ModelTask
  from onmt.modules.position_ffn import ACTIVATION_FUNCTIONS
  from onmt.modules.position_ffn import ActivationFunction
  from onmt.constants import DefaultTokens
label_desc: Use image node_id 12 for calling a global function with example usage: _add_quant_opts(parser) without return types