def dequantize(self, model):
        """
        Potentially dequantize the model to retrieve the original model, with some loss in accuracy / performance. Note
        not all quantization schemes support this.
        """
        model = self._dequantize(model)

        # Delete quantizer and quantization config
        del model.hf_quantizer

        return model

        Potentially dequantize the model to retrieve the original model, with some loss in accuracy / performance. Note
        not all quantization schemes support this.
        
src/diffusers/quantizers/base.py