Description
🚀 The feature, motivation and pitch
BundledProgram is a primary way for users to bundle representative input and (optional) its expected outputs with serialized ExecuTorch program (.pte file). It is a critical way to run representative input on device in a unified way.
However we realize the serialization is pretty slow nowadays. The key reason is we try to reserialize the pte file again into bundled program, which has been serialized and is unnecessary here.
To make the pte data a part of serialized bundled program, while not reserialize it, we can use the new introduced NameData to handle that, which makes inserialized data as separate data blobs append after serialized flabuffer data.
#8187 here's the design doc for NameDataBlob, and
executorch/exir/_serialize/_program.py
Line 381 in 48de264
Metadata
Metadata
Assignees
Type
Projects
Status