mmengine.device¶
Returns the currently existing device type. |
|
Returns the maximum GPU memory occupied by tensors in megabytes (MB) for a given device. |
|
Returns True if cuda devices exist. |
|
Returns True if Ascend PyTorch and npu devices exist. |
|
Returns True if Cambricon PyTorch and mlu devices exist. |
|
Return True if mps devices exist. |