Skip to content

Commit 9b99aeb

Browse files
committed
nit: Adjusted order to match Conv-Act-Pool sequence
Signed-off-by: gcunhase <[email protected]>
1 parent 086bb45 commit 9b99aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modelopt/onnx/quantization/partitioning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def _is_fusible_mul(mul_node: Node) -> bool:
136136
and _is_cask_fusible(consumer_node, partition_node_outputs)
137137
)
138138
or (
139-
consumer_node.op in ["MaxPool", "BatchNormalization", "Relu"]
139+
consumer_node.op in ["BatchNormalization", "Relu", "MaxPool"]
140140
and get_fusible_backbone(consumer_node, graph)
141141
)
142142
or _is_on_non_residual_path(consumer_node)

0 commit comments

Comments
 (0)