iree
iree copied to clipboard
Failed to legalize torch.operator "onnx.Expand"
What happened?
Hello!
I have been trying to iree-compile
a converted onnx model, but I hit this error:
error: failed to legalize operation 'torch.operator' that was explicitly marked illegal
%1806 = torch.operator "onnx.Expand"(%1804, %1805) : (!torch.vtensor<[],f32>, !torch.vtensor<[?],si64>) -> !torch.vtensor<[],f32>
Looking at https://github.com/nod-ai/SHARK-Turbine/issues/215, it looks like Expand
should be supported, since it's marked as completed. Is this the case? I tried with both the latest stable release and the most recent release candidate.
Steps to reproduce your issue
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
What component(s) does this issue relate to?
No response
Version information
No response
Additional context
No response