Home
last modified time | relevance | path

Searched refs:current_allocated_memory (Results 1 – 4 of 4) sorted by relevance

/external/pytorch/torch/distributed/_tools/
Dmemory_tracker.py139 op_name, current_allocated_memory = self.memories_allocated[i]
140 op_diff[op_name] = current_allocated_memory - previous_allocated_memory
141 previous_allocated_memory = current_allocated_memory
/external/pytorch/docs/source/
Dmps.rst18 current_allocated_memory
/external/pytorch/torch/mps/
D__init__.py113 def current_allocated_memory() -> int: function
/external/pytorch/test/
Dtest_mps.py1141 caching_allocator_mem_allocated = torch.mps.current_allocated_memory()
1147 self.caching_allocator_before = torch.mps.current_allocated_memory()
1157 caching_allocator_mem_allocated = torch.mps.current_allocated_memory()
1172 caching_allocator_mem_allocated = torch.mps.current_allocated_memory()
8008 current_alloc_before = torch.mps.current_allocated_memory()
8017 current_alloc_after = torch.mps.current_allocated_memory()