You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to compile a dummy example of a model whose computation graph depends on the input, but it fails with the error "error: failed to legalize operation 'torch.operator' that was explicitly marked illegal"
Problem :
I am trying to compile a dummy example of a model whose computation graph depends on the input, but it fails with the error "error: failed to legalize operation 'torch.operator' that was explicitly marked illegal"
Steps to reproduce :
Run the following code :
After running this code run :
Then, run :
which results in the following error :
Is there something wrong with my implementation or is the operation simply not supported ?
Additional informations :
Versions of the packages :
torch : 2.6.0
iree-turbine : 3.2.0
Associated IR (file conditional_model.mlir) :
The text was updated successfully, but these errors were encountered: