Rate this Page

torch.cuda.memory.reset_accumulated_host_memory_stats#

torch.cuda.memory.reset_accumulated_host_memory_stats()[source]#

Reset the “accumulated” (historical) stats tracked by the host memory allocator.

See host_memory_stats() for details. Accumulated stats correspond to the “allocated” and “freed” keys in each individual stat dict.