torch.mps.empty_cache# torch.mps.empty_cache()[source]# Releases all unoccupied cached memory currently held by the caching allocator so that those can be used in other GPU applications.
torch.mps.empty_cache# torch.mps.empty_cache()[source]# Releases all unoccupied cached memory currently held by the caching allocator so that those can be used in other GPU applications.