(self, module)
| 566 | return model_times |
| 567 | |
| 568 | def _module_match(self, module): |
| 569 | for policy in generic_policies: |
| 570 | policy = policy() |
| 571 | if policy.match_replaced(module): |
| 572 | return True |
| 573 | return False |
| 574 | |
| 575 | def _local_cuda_graph_used(self, module): |
| 576 | if isinstance(module, torch.nn.Module): |
no test coverage detected