Rate this Page

torch.mps.empty_cache#

torch.mps.empty_cache()[source]#

Releases all unoccupied cached memory currently held by the cachingallocator so that those can be used in other GPU applications.