Shortcuts

torch.cuda.reset_peak_host_memory_stats

torch.cuda.reset_peak_host_memory_stats()[source][source]

Reset the “peak” stats tracked by the host memory allocator.

See host_memory_stats() for details. Peak stats correspond to the “peak” key in each individual stat dict.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources