Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onnx.Pad with mode 'reflect' fails to compile #18695

Open
giacs-epic opened this issue Oct 4, 2024 · 0 comments
Open

onnx.Pad with mode 'reflect' fails to compile #18695

giacs-epic opened this issue Oct 4, 2024 · 0 comments
Labels
bug 🐞 Something isn't working integrations/onnx ONNX integration work

Comments

@giacs-epic
Copy link

What happened?

Compilation fails with error error: 'linalg.generic' op inferred input/output operand #0 has shape's dimension #3 to be greater than or equal to 4, but found 1. See full output.

If pad's mode is set to 'constant' instead, it works.

compiler_output.log

Steps to reproduce your issue

Compile repro.txt with the command:

iree-compile --iree-input-demote-i64-to-i32 --iree-hal-target-backends=llvm-cpu repro.txt -o o.vmfb

repro.txt

What component(s) does this issue relate to?

Frontends

Version information

718b4fd

Additional context

No response

@giacs-epic giacs-epic added the bug 🐞 Something isn't working label Oct 4, 2024
@ScottTodd ScottTodd added the integrations/onnx ONNX integration work label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working integrations/onnx ONNX integration work
Projects
None yet
Development

No branches or pull requests

2 participants