torch.fx.experimental.accelerator_partitioner.check_dependency
- torch.fx.experimental.accelerator_partitioner.check_dependency(partition)
Given a partition,check if there is a circular dependency on this partition using bfs
- Return type:
Given a partition,check if there is a circular dependency on this partition using bfs