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
It's not generating wrong memref.alloca -- it's just generating unwanted memref.alloca that causes memory and performance issues.
vinayakdsci
changed the title
iree-compile generates wrong memref.alloca instruction for models with dynamic dimsiree-compile generates unwanted memref.alloca instruction for models with dynamic dims
Oct 24, 2024
For the following disptach:
We have this error dump: https://gist.github.com/vinayakdsci/18b0ffb91ce40bbc026a1cfe2f2b6e9d.
The original IR used to generate the dispatch was https://gist.github.com/vinayakdsci/2e1f2dd1e6c00aed33a9c04dc4f37ee7.
The issue originates from the use of
util
dialect to externalize model parameters, and the crash is observable only for models with dynamic shapes.Models with static shapes, like
ResNet152_vaiq_int8
pass compile.The text was updated successfully, but these errors were encountered: