Skip to content

Commit d58d54a

Browse files
lucylqfacebook-github-bot
authored andcommitted
Add deprecation message for constant buffer branch
Summary: ^ Differential Revision: D77965467
1 parent 6b3f172 commit d58d54a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runtime/executor/program.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ Result<executorch_flatbuffer::ExecutionPlan*> get_execution_plan(
219219
} else {
220220
// The constant data is stored inside the flatbuffer, so this program does
221221
// not contain a separate segment for it.
222+
ET_LOG(
223+
Error,
224+
"!!PLEASE REGENERATE YOUR PTE FILE!! This branch is deprecated as of ExecuTorch 0.7. Regenerate your PTE to ensure newer versions of the ExecuTorch runtime can support it. See the ExecuTorch deprecation policy at: https://docs.pytorch.org/executorch/stable/api-life-cycle.html#deprecation-policy. Contact the PyTorch Edge team if you have any questions.");
222225
return Program(
223226
loader,
224227
segment_base_offset,

0 commit comments

Comments
 (0)