Skip to content

Commit 3e2e26d

Browse files
cccclaifacebook-github-bot
authored andcommitted
extract the delegate segments to allow emit large models (#2714)
Summary: Pull Request resolved: #2714 If the delegated blob is part of flatbffers, it will exceed the flatbuffers limit (4GB). extract the segments as default for qnn backend Reviewed By: kirklandsign Differential Revision: D55432338 fbshipit-source-id: 2b0869ec917970b67651cb77dbafdd724b681e76
1 parent e283967 commit 3e2e26d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/qualcomm/scripts/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ def build_executorch_binary(
226226
alloc_graph_input=not shared_buffer,
227227
alloc_graph_output=not shared_buffer,
228228
),
229+
extract_delegate_segments=True,
229230
)
230231
)
231232
with open(f"{file_name}.pte", "wb") as file:

0 commit comments

Comments
 (0)