pytorch
752c06e0 - FX graph partitioner and fuser (#79439)

Commit
2 years ago
FX graph partitioner and fuser (#79439) This PR introduces two components. CapabilityBasedPartitioner for FX graph: given a list of supported operators, this partitioner tries to forms the largest subgraphs that only contain the supported ops. Fuser utility: given a list of nodes in FX graph, it lifts them as a sub-GraphModule in the original graph. Pull Request resolved: https://github.com/pytorch/pytorch/pull/79439 Approved by: https://github.com/jjsjann123, https://github.com/davidberard98
Author
Committer
Parents
Loading