mmengine.device.is_npu_available¶ mmengine.device.is_npu_available()[source]¶ Returns True if Ascend PyTorch and npu devices exist. Return type: bool