code: def __init__(self, config: Dict, dtype: torch.dtype) -> None:
      self.config = config
      self.dtype = dtype
      assert (
          self.config["num_bits"] == 4 or self.config["num_bits"] == 8
      ), "Only INT4 and INT8 quantization is supported."
      assert (
          self.config["symmetric"] == False
      ), "Only asymmetric quantization is supported at this moment."
  
imports: import torch
  import deepspeed
  from torch import Tensor
  from typing import Tuple
  import torch.nn
  from typing import Dict, Callable, Union
  from deepspeed.accelerator import get_accelerator
  import functools
label_desc: Use image node_id 1 to create a new DeQuantizer object  with example: obj = DeQuantizer(config, dtype)