Open monorimet opened 22 hours ago
It just occurred to me that this is probably because the model was exported with several dynamic input dims. Could this be why padding to intrinsics is getting stuck?
I'm not sure why iree-preprocessing-pad-to-intrinsics
changes anything but OptimizeIntArithmetic
seems to be the problem. Its spending a ton of time making calls to solver.eraseState()
. I previously tried to fix it with https://github.com/iree-org/iree/pull/19130
What happened?
IREE compiler hangs when I use iree-preprocessing-pad-to-intrinsics on this IR:
the above hangs for longer than 30 minutes. if I take out
iree-preprocessing-pad-to-intrinsics
, i.e., use:it compiles in under 30 seconds.
I'm not sure if this pass is still required for matching amdgpu intrinsics.
Steps to reproduce your issue
What component(s) does this issue relate to?
Compiler
Version information
IREE compiler version 3.0.0rc20241118 @ 29c451b00ecc9f9e5466e9d1079e0d69147da700
Additional context
The MLIR used is an ONNX export. It has its parameters externalized. The model precision is fp32.