Skip to content

Commit 7ec4d71

Browse files
committed
nit: re-added original comment
Signed-off-by: gcunhase <[email protected]>
1 parent 4b057ec commit 7ec4d71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modelopt/onnx/quantization/graph_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ def build_non_residual_input_map(
526526
# Input in the longest path to LCA is the non-residual input
527527
lca, d1, d2 = find_lowest_common_ancestor(input1_producer, input2_producer)
528528

529+
# Generally if both the inputs have a backbone then both backbones are of the same type
529530
if backbone1 and backbone2:
530531
if backbone1 == backbone2:
531532
non_residual_inputs[node.name] = None

0 commit comments

Comments
 (0)