Open mariecwhite opened 1 year ago
There should not be a cond.br at the point where there still are resources. Could you enable reproducers here and add that to the bug?
Running the reproducer I get
error: 'mhlo.convert' op all non-scalar operands/results must have the same shape and base type
...
note: see current operation: %1854 = "mhlo.convert"(%1849) : (tensor<*xi1>) -> tensor<1xi1>
I'll try resyncing to see if there was some difference with head.
Same error at head. Could you try creating a local reproducer with --mlir-elide-elementsattrs-if-larger=16
(as these constants are just too big and I don't think contributing) and then test with iree-tf-opt if the above error reproduces? Then we'd have something narrowed down to that pass.
What happened?
Error when importing the TF T5-base model to MLIR using
iree-import-tf
:Steps to reproduce your issue
iree-import-tf /tmp/t5-base --tf-import-type=savedmodel_v2 --tf-savedmodel-exported-names=forward --tf-savedmodel-tags= -o=/tmp/t5-base_tf.mlir --output-format=mlir-ir --mlir-print-debuginfo
What component(s) does this issue relate to?
No response
Version information
No response
Additional context
No response