def METHOD_NAME() -> int:
    r"""Returns the current GPU memory occupied by tensors in bytes.
    .. note::
       The returned size does not include cached allocations in
       memory pools of MPSAllocator.
    """
    return torch._C._mps_currentAllocatedMemory()