def to_dict_optimum(self):
        """
        Get compatible dict for optimum gptq config
        """
        quant_dict = self.to_dict()
        # make it compatible with optimum config
        quant_dict["disable_exllama"] = not self.use_exllama
        return quant_dict

        Get compatible dict for optimum gptq config
        
dpkd/transformers/src/transformers/utils/quantization_config.py