Skip to content

Commit dbec075

Browse files
cccclaifacebook-github-bot
authored andcommitted
add spec violation note in the tutorial (#1116)
Summary: Pull Request resolved: #1116 More clear guidance given the reported issue: #1062 Reviewed By: mergennachin Differential Revision: D50561885 fbshipit-source-id: 10b2a5706595aa411d70d314f06223790588fe90
1 parent 12bcaf6 commit dbec075

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/source/tutorials_source/export-to-executorch-tutorial.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,11 @@ def call_operator(self, op, args, kwargs, meta):
351351
print("Transformed Edge Dialect Graph")
352352
print(transformed_edge_program.exported_program())
353353

354+
######################################################################
355+
# Note: if you see error like `torch._export.verifier.SpecViolationError: Operator torch._ops.aten._native_batch_norm_legit_functional.default is not Aten Canonical`,
356+
# please file an issue in https://github.com/pytorch/executorch/issues and we're happy to help!
357+
358+
354359
######################################################################
355360
# Delegating to a Backend
356361
# -----------------------

0 commit comments

Comments
 (0)