Skip to content

Commit 3bb984e

Browse files
cccclaifacebook-github-bot
authored andcommitted
fix example partitioner
Summary: also miss from D49171496 Reviewed By: mcr229 Differential Revision: D49325488 fbshipit-source-id: ed2eac5840f52b0313097630bd4fa37d3d4f9961
1 parent e6e1898 commit 3bb984e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/example_quantizer_and_delegate/example_partitioner.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def _partition_graph_module(
8080
partition_tags[delegation_tag] = self.delegation_spec
8181

8282
for _, submodule, _ in get_control_flow_submodules(edge_graph_module):
83-
self._partition_graph_module(submodule)
83+
submodule_partition_tags = self._partition_graph_module(submodule)
84+
partition_tags.update(submodule_partition_tags)
8485

8586
return partition_tags
8687

0 commit comments

Comments
 (0)