def test_generate_quality(self):
        """
        Simple test to check the quality of the model by comparing the generated tokens with the expected tokens
        """
        if self.device_map is None:
            self.check_inference_correctness(self.quantized_model.to(0))
        else:
            self.check_inference_correctness(self.quantized_model)

        Simple test to check the quality of the model by comparing the generated tokens with the expected tokens
        
dpkd/transformers/tests/quantization/gptq/test_gptq.py