Skip to content

Commit 13a29dc

Browse files
sirakiincopybara-github
authored andcommitted
Update the regex for capturing the partition stats
LiteRT-PiperOrigin-RevId: 835000723
1 parent 802006b commit 13a29dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

litert/python/aot/core/apply_plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
_BINARY = pathlib.Path("tools/apply_plugin_main")
3030

3131
_RE_PARTITION_STATS = re.compile(
32-
r"PartitionSubgraph: (\d+), selected num ops: (\d+), from totoal ops:"
33-
r" (\d+), num partitions: (\d+)"
32+
r"Partitioned subgraph<(\d+)>, selected (\d+) ops, from a total of "
33+
r"(\d+) ops. resulted in (\d+) partitions."
3434
)
3535

3636

0 commit comments

Comments
 (0)