def get_quantization_config(self):
        """Return the quantization config to use. It is either None or a config class."""
        if not self.quantization_method or not self.quantization_config:
            return None
        return self.dict_to_quantization_config(self.quantization_method, self.quantization_config)
Return the quantization config to use. It is either None or a config class.
olive/model/config/hf_config.py