I’ve been using the graph partitioning infrastructure and have noticed that the FuseOps pass doesn’t seem to ignore subgraphs that have been designated as external. This causes the build to fail as, in my case, the partitioned subgraphs still contain unlowered qnn ops. I note the subgraphs are designated as ‘Primitive’ functions, which I assume means they should be left alone by any further lowering passes.
I can’t get away with disabling the pass entirely as it’s a required pass for TVM to work. So do we want FuseOps to still run on partitioned subgraphs or should this be considered a bug?