GetActiveMemoryΒΆ

Get the actively used memory in bytes.

PyTorch

API: torch.cuda.memory_allocated
Strategy: Direct Mapping

Apple MLX

API: mlx.core.get_active_memory
Strategy: Direct Mapping