TFLite Converter segfaults when trying to convert per-channel quantized transposed convolutions #53767
Labels
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
TF 2.7
Issues related to TF 2.7.0
TFLiteConverter
For issues related to TFLite converter
type:bug
Bug
When converting transposed convolutions using per-channel weight quantization the converter segfaults and crashes the Python process. Per-channel quantization is supported by TFLite Transposed convolutions:
tensorflow/tensorflow/lite/kernels/transpose_conv.cc
Lines 371 to 380 in f87be6c
so the converter shouldn't segfault when trying to convert such a model.
It looks like this issue has been introduced in TensorFlow 2.6 since the same model code produced a valid TFLite file in TensorFlow 2.5. This issue might also be related to #53766, but in any case the converter should never segfault.
1. System information
2. Code
A minimal reproduction of the issue and a workaround is available in this notebook.
The text was updated successfully, but these errors were encountered: