Closed svuckovicTT closed 1 day ago
Interesting. Yeah I'm not sure where we can store the System Desc and device in a more "official" place, the module really feels like the best place to store it, but it feels kinda nasty to have to remove the attributes to run certain passes.
Interesting. Yeah I'm not sure where we can store the System Desc and device in a more "official" place, the module really feels like the best place to store it, but it feels kinda nasty to have to remove the attributes to run certain passes.
Yeah, I agree on both points. There might a better way to do it, but I just don't know how.
If you get any ideas on how to do it, lmk and I'll give it a shot!
Running:
Produces an error:
In order to avoid it, one must use the
--allow-unregistered-dialect
flag when runningttmlir-translate
. The proper fix is to remove problematic attributes from the top-levelModuleOp
so that the additional flag doesn't need to be used.Updated the docs/comments as well.