打开微信,使用扫一扫进入页面后,点击右上角菜单,
点击“发送给朋友”或“分享到朋友圈”完成分享
2023-08-03 08:13:40.581982: [cnrtError] [291] [Card : 0] Error occurred during calling 'cnInit' in CNDrv interface.
2023-08-03 08:13:40.581995: [cnrtError] [291] [Card : 0] Return value is 100004, CN_ERROR_NO_DEVICE, means that "No useful mlu device"
2023-08-03 08:13:40.581998: [cnrtError] [291] [Card : 0] Failed to initialize CNDrv.
2023-08-03 08:13:40.582003: [cnrtError] [291] [Card : 0] Error occurred during calling 'cnDeviceGetCount' in CNDrv interface.
2023-08-03 08:13:40.582006: [cnrtError] [291] [Card : 0] Return value is 100002, CN_ERROR_NOT_INITIALIZED, means that "initialization error"
2023-08-03 08:13:40.582010: [cnrtError] [291] [Card : 0] get device count failed!
2023-08-03 08:13:40.582040: [cnrtError] [291] [Card : 0] Failed to initialize CNRT 632015
2023-08-03 08:13:40.582088: [cnrtError] [291] [Card : 0] Set the current device ordinal failed.
2023-08-03 08:13:40.582101: INFO: magicmind/runtime/resource/cn_device.cc:29] [CNRT] Runtime Error(100006 : invalid argument.)
docker
yellow.hub.cambricon.com/magicmind/release/x86_64/magicmind:1.1.0-x86_64-ubuntu20.04-py_3_7
代码
with mm.System() as sys:
# create device
dev = mm.Device()
dev.id = 0
assert dev.active().ok()
热门帖子
精华帖子