I’ve just comment the GPU lines as I don’t have a spare GPU currently:
physical_devices = tf.config.experimental.list_physical_devices('GPU')
tf.config.experimental.set_memory_growth(physical_devices[0], True)  

And uncommented:
# interpreter = tf.lite.Interpreter(model_path="quant_model.tflite")
# interpreter.allocate_tensors()
# input_details = interpreter.get_input_details()
# output_details = interpreter.get_output_details()

But I don’t see any error message with TF 2.6