You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stablehlo to TTIR conversion uses a custom type convertor for modifying the unsupported data types to supported data types. tensor::emptyop fails due to not applying this custom type convertor if emptyop is created with unsupported data type.
aten::empty_strided_0.mlir:4:5: error: failed to legalize unresolved materialization from ('tensor<1xi1>') to 'tensor<1xbf16>' that remained live after conversion "aten::empty_strided_0.mlir:4:5: error: failed to legalize unresolved materialization from ('tensor<1xi1>') to 'tensor<1xbf16>' that remained live after conversion
return %0 : tensor<1xi1>
^
aten::empty_strided_0.mlir:4:5: note: see current operation: %1 = ""builtin.unrealized_conversion_cast""(%0) : (tensor<1xi1>) -> tensor<1xbf16>
aten::empty_strided_0.mlir:4:5: note: see existing live user here: func.return %1 : tensor<1xbf16>
The text was updated successfully, but these errors were encountered:
Stablehlo to TTIR conversion uses a custom type convertor for modifying the unsupported data types to supported data types.
tensor::emptyop
fails due to not applying this custom type convertor if emptyop is created with unsupported data type.Sample mlir graph
Stack dump
The text was updated successfully, but these errors were encountered: