(self)
| 114 | |
| 115 | # Memory management |
| 116 | def empty_cache(self): |
| 117 | return torch.mps.empty_cache() |
| 118 | |
| 119 | def memory_allocated(self, device_index=None): |
| 120 | return torch.mps.current_allocated_memory() |
nothing calls this directly
no outgoing calls
no test coverage detected