-
Notifications
You must be signed in to change notification settings - Fork 793
Closed
Labels
module: exirIssues related to Export IR and the code under exir/Issues related to Export IR and the code under exir/module: kernelsIssues related to kernel libraries and utilities, and code under kernels/Issues related to kernel libraries and utilities, and code under kernels/triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
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!
Metadata
Metadata
Assignees
Labels
module: exirIssues related to Export IR and the code under exir/Issues related to Export IR and the code under exir/module: kernelsIssues related to kernel libraries and utilities, and code under kernels/Issues related to kernel libraries and utilities, and code under kernels/triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module