torch.mtia.memory
The MTIA backend is implemented out of the tree, only interfaces are defined here.
This package adds support for device memory management implemented in MTIA.
Reset the peak memory stats for a given device. | |
The MTIA backend is implemented out of the tree, only interfaces are defined here.
This package adds support for device memory management implemented in MTIA.
Reset the peak memory stats for a given device. | |
Return the maximum memory allocated in bytes for a given device. |
Return a dictionary of MTIA memory allocator statistics for a given device. |
Return the current MTIA memory occupied by tensors in bytes for a given device. |