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!
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!