Reflect/Edge/Wrap pad lowering fails with `failed to legalize operation 'torch.prim.ListConstruct'` · Issue #4122 · llvm/torch-mlir · GitHub
More Web Proxy on the site http://driver.im/
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
Issue
I encounter an error when lowering a small onnx model that uses a pad with
reflect
mode to linalg.The error is the following:
Reproduce with
where
repro.mlir
isTested with
b3abd5666aa3fb1637f55c6bdce135c3dc84bbd9
.We see the same issues with the
edge
andwrap
modes.Expected outcome
Lowering to linalg is successful.
How the reproducer was generated
Onnx Model in text form (you can find this model (with a slightly newer opset) in the onnx backend tests):
Steps to get the reproducer IR:
The
importedonnx.mlir
looks like this:The text was updated successfully, but these errors were encountered: