torchrec
torchrec copied to clipboard
Enable custom perf models in MemoryBalancedPartitioner
Summary:
We are enabling custom perf models while evaluating candidate plans in MemoryBalancedPartitioner. This will enable us to leverage the new critical path model defined in NoopCriticalPathPerfModel while trying to construct a memory balanced plan with the greedy partitioner.
Upcoming diffs will modify the greedy partitioner to leverage the new perf model.
Differential Revision: D73292939
This pull request was exported from Phabricator. Differential Revision: D73292939