Skip to content

Commit b21fb5f

Browse files
committed
fix(partitioner): Update adjacency partitioner to handle changes in
torch.fx.passes.splitter_base._SplitterBase Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 6dd6915 commit b21fb5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py/torch_tensorrt/dynamo/partitioning/_adjacency_partitioner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ def __init__(
110110
allowed_single_node_partition_ops: Optional[Collection[str]] = None,
111111
min_block_size: int = MIN_BLOCK_SIZE,
112112
require_full_compilation: bool = REQUIRE_FULL_COMPILATION,
113+
return_tuple: bool = False,
113114
):
114115
"""
115116
Preprocesses graph before splitting:
@@ -149,6 +150,7 @@ def __init__(
149150
self.num_trt_accelerated_subgraphs: Optional[int] = None
150151
self.allowed_single_node_partition_ops = allowed_single_node_partition_ops
151152
self.require_full_compilation = require_full_compilation
153+
self._return_tuple = return_tuple
152154

153155
def remove_small_acc_subgraphs(self, subgraphs: List[Subgraph]) -> List[Subgraph]:
154156
"""

0 commit comments

Comments
 (0)