def test_memory_footprint(self):
        r"""
        A simple test to check if the model conversion has been done correctly by checking on the
        memory footprint of the converted model
        """

        mem_quantized = self.quantized_model.get_memory_footprint()

        self.assertAlmostEqual(self.mem_fp16 / mem_quantized, self.EXPECTED_RELATIVE_DIFFERENCE)

        A simple test to check if the model conversion has been done correctly by checking on the
        memory footprint of the converted model
        
dpkd/transformers/tests/quantization/gptq/test_gptq.py