torch.accelerator.memory.empty_host_cache
- torch.accelerator.memory.empty_host_cache()
Release all unoccupied cached host (pinned) memory currently held by the host caching allocator so that it can be used by other applications.
Release all unoccupied cached host (pinned) memory currently held by the host caching allocator so that it can be used by other applications.