torch.mtia.memory.memory_stats
- torch.mtia.memory.memory_stats(device=None)
Return a dictionary of MTIA memory allocator statistics for a given device.
- Parameters:
device (torch.device, ) – statistics for the current device, given by current_device(), if device is None (default).