Open saienduri opened 3 months ago
@saienduri what backend/device were you facing this issue on, and did you also try testing with an updated IREE build?
@Groverkss is there any expected failure cases like this with SDPA enabled for now?
This is on the cpu backend, and I was trying with the one pinned in turbine from 04/03. I just tried with the latest iree releases, but still the same issue.
See: models/turbine_models/tests/stateless_llama_test.py
Marked as
expectedFailure
.This test is failing during the export/tracing stage with the following error:
From dynamic shapes manual in "Error Cookbook" section, it seems that we have to make changes to the operator schema to accept SymBool and not only bools in torch. But I was able to workaround it for now by changing in modelling_llama.py:
to
But, after this change, ran into this error in iree-compile stage:
Do we need to register a decomposition for this op for this to work?