def test_quantization_config_json_serialization(self):
        r"""
        A simple test to check if the quantization config is correctly serialized and deserialized
        """
        config = self.model_8bit.config

        self.assertTrue(hasattr(config, "quantization_config"))

        _ = config.to_dict()
        _ = config.to_diff_dict()

        _ = config.to_json_string()

        A simple test to check if the quantization config is correctly serialized and deserialized
        
dpkd/transformers/tests/quantization/bnb/test_mixed_int8.py