GetCacheMemory ============== Get the cache size in bytes. .. raw:: html

PyTorch

API: torch.cuda.memory_reserved
Strategy: Direct Mapping

Apple MLX

API: mlx.core.get_cache_memory
Strategy: Direct Mapping