Operator torch._ops.aten.linalg_vector_norm.default is not Aten Canonical #3566
Labels
bug
Something isn't working
module: exir
Issues related to Export IR
module: kernels
Issues related to kernel libraries, e.g. portable kernels and optimized kernels
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
I am trying to create an Executorch Program using the steps mentioned at Setting Up Executorch. I made the changes successfully according to my model… But as I am executing the export script… I am getting this error:
torch._export.verifier.SpecViolationError: Operator torch._ops.aten.linalg_vector_norm.default is not Aten Canonical.
Looking back at my model, the only operator that might have caused this issue seems to be:
q = torch.nn.functional.normalize(q, dim=-1)
,But I am not sure how exactly I deal with this error and am stuck at this step.
What could be a probable workaround for this case? Any suggestions/help is appreciated!
Regards!
The text was updated successfully, but these errors were encountered: