Rate this Page
★★★★★
torch.cuda.memory.memory_snapshot#
- torch.cuda.memory.memory_snapshot(mempool_id=None)[source]#
Return a snapshot of the CUDA memory allocator state across all devices.
Interpreting the output of this function requires familiarity with thememory allocator internals.
Note
SeeMemory management for more details about GPU memorymanagement.
On this page