We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96aeb57 commit c878c78Copy full SHA for c878c78
examples/qualcomm/custom_op/custom_ops_1.py
@@ -84,7 +84,7 @@ def annotate_custom(gm: torch.fx.GraphModule) -> None:
84
continue
85
86
# skip annotation if it is already annotated
87
- if _is_annotated([node]):
+ if Q_ANNOTATION_KEY in node.meta and node.meta[Q_ANNOTATION_KEY]._annotated:
88
89
90
input_qspec_map = {}
0 commit comments