Open vinayakdsci opened 2 days ago
cc @pashu123 @MaheshRavishankar.
It's not generating wrong memref.alloca -- it's just generating unwanted memref.alloca that causes memory and performance issues.
It's not generating wrong memref.alloca -- it's just generating unwanted memref.alloca that causes memory and performance issues.
Ah, my bad. Fixed the title.
Thanks for filing the issue. I'll get back to this.
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.