Open Abhishek-Varma opened 1 year ago
Hi @benvanik @powderluv - this is the issue I was talking about where I'm unable to get the dispatch through the same command to generate a vmfb pertaining to just that dispatch.
There's almost 65 dispatches being dumped so modifying each manually would be time consuming - this issue looks like an unregistered dialect case + an issue with global constants which both forward function uses.
Meanwhile I'll try to use the individual model's IR (instead of the combined IR) to see if I can get a small repro of the compilation crash.
What happened?
This looks like a case of unregistered dialect.
Context :-
In the combined llama IR it fails in compilation stage (for CPU backend) with the following command where I'm using
.mlirbc
file of the combined IR :-and I have the dispatches dumped locally using the
--iree-hal-dump-executable-sources-to=hal_sources
flag in the above command.Now usually to find the culprit dispatch which fails during
iree-compile
I bisect on the dumped dispatches and try to compile it with the same command I was using for the entire model's IR. So, while trying the following command which I used for the combined IR :-I get :-
Steps to reproduce your issue
What component(s) does this issue relate to?
No response
Version information
No response
Additional context
@benvanik