Open seymurkafkas opened 1 month ago
It seems like the gm.named_children()
function returns both the original module (as an nn.Module
that doesn't have the attribute graph) and the fused fx.GraphModules
. But even by filtering out the original Module, you can't save the exported model because fuse_partitions
inserts call_module
nodes and that is not compilant with the IR Spec (See this).
upd: filtering the unfused child module and saving the model with torchscript works
yes, i am also getting this error
Hi all! Trying to use global partitioning fails with the dynamo backend, and couldn't pinpoint why (tried various compilation parameters).
How to Reproduce:
System:
Dependencies (wheels):
Script to reproduce:
Error and TraceBack: