Skip to content

Commit 7c5d66e

Browse files
authored
Increase constructTuple max inputs to 13
Differential Revision: D97893805 Pull Request resolved: pytorch#18438
1 parent ad33804 commit 7c5d66e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎extension/pytree/aten_util/ivalue_util.cpp‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,10 @@ IValue constructTuple(const std::vector<IValue>& ivalues) {
9393
return create_tuple<11>(ivalues);
9494
case 12:
9595
return create_tuple<12>(ivalues);
96+
case 13:
97+
return create_tuple<13>(ivalues);
9698
}
97-
ET_ASSERT_UNREACHABLE_MSG("Supports at most 12 inputs");
99+
ET_ASSERT_UNREACHABLE_MSG("Supports at most 13 inputs");
98100
return {};
99101
}
100102

0 commit comments

Comments
 (0)