Skip to content

Commit b39d69e

Browse files
committed
traversal
1 parent e694d1d commit b39d69e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

olive/passes/onnx/mnb_to_qdq.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def mat_mul_n_bits_replacement(
151151
# TODO(justinchuby): Call the rewriter with replace_mat_mul_n_bits
152152

153153
# 2. Repack the quantized weights
154-
for node in ir_model.graph:
154+
for node in ir.traversal.RecursiveGraphIterator(ir_model.graph):
155155
if "needs_repacking" not in node.meta:
156156
continue
157157

0 commit comments

Comments
 (0)