-
Notifications
You must be signed in to change notification settings - Fork 649
Open
Labels
module: exirIssues related to Export IR and the code under exir/Issues related to Export IR and the code under exir/
Description
Is there (ideally, backend agnostic) support for sharing weights in a multiple entry point PTE exported file? #11738 seems to track this for XNNPack. However, it doesn't seem to be supported based on the last update on the thread (?)
On similar lines, alternatively, is it possible to serialize and export just the (FX) graph/s and load the weights separately (say from a flat_tensor)?
A wishful API would be something like this:
ep = export(model, inputs)
ep = _export_forward_backward(ep)
ep = to_edge(ep)
# Optionally ep.to_backend()
ep = ep.to_executorch()
# Now a wishful workflow would look something like:
ep.save_graph_only(path)
ep.save_weights_only(path)
Metadata
Metadata
Assignees
Labels
module: exirIssues related to Export IR and the code under exir/Issues related to Export IR and the code under exir/
Type
Projects
Status
To triage