torch.cuda.device\_memory\_used =============================== .. currentmodule:: torch.cuda .. autofunction:: device_memory_used