登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情~
代码拉取完成,页面将自动刷新
开源项目
>
人工智能
>
AI-人工智能
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
224
Star
1.3K
Fork
1.1K
Ascend
/
samples
代码
Issues
41
Pull Requests
99
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
npu-smi info正常, acl.init()正常,但是acl.rt.set_device(0)返回507033
REJECTED
#IALYB3
Bug-Report
yaya325
创建于
2024-08-23 10:41
一、问题现象(附报错日志上下文): [EVENT] PROFILING(415452,python3):2024-08-23-10:27:44.983.225 [msprof_callback_impl.cpp:324] >>> (tid:415452) Started to register profiling ctrl callback. [EVENT] PROFILING(415452,python3):2024-08-23-10:27:44.983.346 [msprof_callback_impl.cpp:331] >>> (tid:415452) Started to register profiling hash id callback. [EVENT] PROFILING(415452,python3):2024-08-23-10:27:44.983.353 [prof_atls_plugin.cpp:83] >>> (tid:415452) RegisterProfileCallback, callback type is 7 [EVENT] PROFILING(415452,python3):2024-08-23-10:27:44.983.357 [msprof_callback_impl.cpp:338] >>> (tid:415452) Started to register profiling enable host freq callback. [EVENT] PROFILING(415452,python3):2024-08-23-10:27:44.983.361 [prof_atls_plugin.cpp:83] >>> (tid:415452) RegisterProfileCallback, callback type is 8 [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.017.795 [prof_atls_plugin.cpp:160] >>> (tid:415452) Module[6] register callback of ctrl handle. [EVENT] ASCENDCL(415452,python3):2024-08-23-10:27:45.021.948 [acl_resource_manager.cpp:90]415452 GetRuntimeV2Env: runtime v2 flag : model flag = 1, singleOp flag = 1 [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.046.349 [prof_atls_plugin.cpp:160] >>> (tid:415452) Module[48] register callback of ctrl handle. [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.046.376 [prof_atls_plugin.cpp:160] >>> (tid:415452) Module[45] register callback of ctrl handle. [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.538.905 [msprof_callback_impl.cpp:79] >>> (tid:415452) MsprofCtrlCallback called, type: 255 [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.539.071 [ai_drv_dev_api.cpp:333] >>> (tid:415452) Succeeded to DrvGetApiVersion version: 0x72313 [EVENT] RUNTIME(415452,python3):2024-08-23-10:27:45.539.151 [runtime.cc:4393] 415452 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.540.281 [prof_atls_plugin.cpp:160] >>> (tid:415452) Module[7] register callback of ctrl handle. [EVENT] TDT(415452,python3):2024-08-23-10:27:45.540.695 [process_mode_manager.cpp:107][OpenProcess][tid:415452] [ProcessModeManager] enter into open process deviceId[0] rankSize[0] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.045 [process_mode_manager.cpp:377][InitTsdClient][tid:415452] [TsdClient] deviceId[0] begin to init hdc client [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.163 [version_verify.cpp:34][SetVersionInfo][tid:415452] VersionVerify: send client version to server [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.174 [version_verify.cpp:51][SetVersionInfo][tid:415452] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.181 [version_verify.cpp:51][SetVersionInfo][tid:415452] send feature_info:{msg_type:37, features:{check before send open qs message,}} [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.821 [version_verify.cpp:67][PeerVersionCheck][tid:415452] VersionVerify: Check client version info, server[1230], client[1230] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.828 [version_verify.cpp:88][ParseVersionInfo][tid:415452] VersionVerify: pass client version info success [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.831 [hdc_client.cpp:276][CheckHdcConnection][tid:415452] Service[2] create hdc success [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.838 [version_verify.cpp:121][SpecialFeatureCheck][tid:415452] VersionVerify: new type[35], supported [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.880 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:415452] [TsdClient][deviceId=0] [sessionId=1]wait package info respond [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.043 [process_mode_manager.cpp:377][InitTsdClient][tid:415452] [TsdClient] deviceId[0] begin to init hdc client [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.109 [version_verify.cpp:34][SetVersionInfo][tid:415452] VersionVerify: send client version to server [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.116 [version_verify.cpp:51][SetVersionInfo][tid:415452] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.125 [version_verify.cpp:51][SetVersionInfo][tid:415452] send feature_info:{msg_type:37, features:{check before send open qs message,}} [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.624 [version_verify.cpp:67][PeerVersionCheck][tid:415452] VersionVerify: Check client version info, server[1230], client[1230] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.629 [version_verify.cpp:88][ParseVersionInfo][tid:415452] VersionVerify: pass client version info success [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.633 [hdc_client.cpp:276][CheckHdcConnection][tid:415452] Service[2] create hdc success [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.638 [process_mode_manager.cpp:424][ConstructOpenMsg][tid:415452] [TsdClient] tsd get process sign successfully, procpid[415452] signSize[48] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.643 [version_verify.cpp:113][SpecialFeatureCheck][tid:415452] VersionVerify: previous type[6], supported [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.653 [process_mode_manager.cpp:124][OpenProcess][tid:415452] [ProcessModeManager] deviceId[0] sessionId[1] rankSize[0], wait sub process start respond [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.115 [stub_process_mode_nowin.cpp:61][ProcessQueueForMdc][tid:415452] [TsdClient] it is unnecessary of current mode[0] chiptype[2] to grant queue auth to aicpusd [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.143 [stub_process_mode_nowin.cpp:99][OpenInHost][tid:415452] enter into OpenInHost deviceid[0] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.149 [stub_process_mode_nowin.cpp:103][OpenInHost][tid:415452] host cpu not support [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.152 [process_mode_manager.cpp:154][OpenProcess][tid:415452] [TsdClient][deviceId=0] [sessionId=1] start hccp and computer process success [ERROR] DRV(415452,python3):2024-08-23-10:27:45.899.259 [ascend][curpid: 415452, 415452][drv][tsdrv][drvDeviceOpen 361]open devdrv_device(0) failed, fd(-1), errno(14), error(Bad address). [ERROR] DRV(415452,python3):2024-08-23-10:27:45.899.268 [ascend][curpid: 415452, 415452][drv][tsdrv][share_log_read 569]invalid para, vdevid(0), devid(0), fid(0) invalid mode(1) or ctx is null. [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.329 [npu_driver.cc:2266]415452 DeviceOpen:[drv api] drvDeviceOpen failed: deviceId=0, drvRetCode=4! [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.337 [device.cc:268]415452 InitRawDriver:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.341 [device.cc:268]415452 InitRawDriver:Failed to open device, retCode=0x7020014, deviceId=0. [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.360 [device.cc:312]415452 Init:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.365 [device.cc:312]415452 Init:Failed to init RawDriver, device_id=0, retCode=0x7020014 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.376 [runtime.cc:3019]415452 DeviceRetain:Failed to init device. [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.383 [process_mode_manager.cpp:182][Close][tid:415452] [TsdClient] Close [deviceId=0][sessionId=1] hccp and computer enter [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.389 [version_verify.cpp:113][SpecialFeatureCheck][tid:415452] VersionVerify: previous type[7], supported [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.411 [process_mode_manager.cpp:192][Close][tid:415452] [TsdClient][deviceId=0] [sessionId=1] wait hccp and computer process close respond [EVENT] TDT(415452,python3):2024-08-23-10:27:45.913.403 [process_mode_manager.cpp:197][Close][tid:415452] [TsdClient][logicDeviceId_=0]has recv close hccp and computer process respond [EVENT] TDT(415452,python3):2024-08-23-10:27:45.913.411 [stub_process_mode_nowin.cpp:149][CloseInHost][tid:415452] enter into CloseInHost deviceid[0] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.913.415 [stub_process_mode_nowin.cpp:152][CloseInHost][tid:415452] host cpu not support [EVENT] TDT(415452,python3):2024-08-23-10:27:45.913.492 [process_mode_manager.cpp:210][Close][tid:415452] [TsdClient][deviceId=0] [sessionId=1] close hccp and computer process success [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.764 [runtime.cc:3041]415452 DeviceRetain:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.770 [runtime.cc:3041]415452 DeviceRetain:Check param failed, dev can not be NULL! [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.783 [runtime.cc:2806]415452 PrimaryContextRetain:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.788 [runtime.cc:2806]415452 PrimaryContextRetain:Check param failed, dev can not be NULL! [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.801 [runtime.cc:2833]415452 PrimaryContextRetain:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.806 [runtime.cc:2833]415452 PrimaryContextRetain:Check param failed, ctx can not be NULL! [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.816 [api_impl.cc:2070]415452 NewDevice:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.820 [api_impl.cc:2070]415452 NewDevice:Check param failed, context can not be null. [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.832 [api_impl.cc:2093]415452 SetDevice:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.836 [api_impl.cc:2093]415452 SetDevice:New device failed, retCode=0x7010006 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.846 [logger.cc:836]415452 SetDevice:Set device failed, device_id=0, deviceMode=0. [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.871 [api_c.cc:1763]415452 rtSetDevice:ErrCode=507033, desc=[device retain error], InnerCode=0x7010006 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.877 [error_message_manage.cc:50]415452 FuncErrorReason:report error module_type=3, module_name=EE8888 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.886 [error_message_manage.cc:50]415452 FuncErrorReason:rtSetDevice execute failed, reason=[device retain error] [ERROR] ASCENDCL(415452,python3):2024-08-23-10:27:45.913.905 [device.cpp:151]415452 aclrtSetDevice: open device 0 failed, runtime result = 507033. set_device:507033 [EVENT] RUNTIME(415452,python3):2024-08-23-10:27:45.984.329 [runtime.cc:1699] 415452 ~Runtime: deconstruct runtime. 二、软件版本: 安装的固件,驱动,CANN版本如下: Ascend-hdk-310p-npu-driver_23.0.1_linux-aarch64.run Ascend-hdk-310p-npu-firmware_7.1.0.4.220.run Ascend-cann-toolkit_7.0.0_linux-aarch64.run --操作系统版本 Linux tdhnodesn13260 4.19.90-17.ky10.aarch64 #1 SMP Sun Jun 28 14:27:40 CST 2020 aarch64 aarch64 aarch64 GNU/Linux npu-smi info正常  import acl acl.init()正常返回0 但是物理机上执行acl.rt.set_device(0)返回507033错误码.
一、问题现象(附报错日志上下文): [EVENT] PROFILING(415452,python3):2024-08-23-10:27:44.983.225 [msprof_callback_impl.cpp:324] >>> (tid:415452) Started to register profiling ctrl callback. [EVENT] PROFILING(415452,python3):2024-08-23-10:27:44.983.346 [msprof_callback_impl.cpp:331] >>> (tid:415452) Started to register profiling hash id callback. [EVENT] PROFILING(415452,python3):2024-08-23-10:27:44.983.353 [prof_atls_plugin.cpp:83] >>> (tid:415452) RegisterProfileCallback, callback type is 7 [EVENT] PROFILING(415452,python3):2024-08-23-10:27:44.983.357 [msprof_callback_impl.cpp:338] >>> (tid:415452) Started to register profiling enable host freq callback. [EVENT] PROFILING(415452,python3):2024-08-23-10:27:44.983.361 [prof_atls_plugin.cpp:83] >>> (tid:415452) RegisterProfileCallback, callback type is 8 [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.017.795 [prof_atls_plugin.cpp:160] >>> (tid:415452) Module[6] register callback of ctrl handle. [EVENT] ASCENDCL(415452,python3):2024-08-23-10:27:45.021.948 [acl_resource_manager.cpp:90]415452 GetRuntimeV2Env: runtime v2 flag : model flag = 1, singleOp flag = 1 [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.046.349 [prof_atls_plugin.cpp:160] >>> (tid:415452) Module[48] register callback of ctrl handle. [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.046.376 [prof_atls_plugin.cpp:160] >>> (tid:415452) Module[45] register callback of ctrl handle. [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.538.905 [msprof_callback_impl.cpp:79] >>> (tid:415452) MsprofCtrlCallback called, type: 255 [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.539.071 [ai_drv_dev_api.cpp:333] >>> (tid:415452) Succeeded to DrvGetApiVersion version: 0x72313 [EVENT] RUNTIME(415452,python3):2024-08-23-10:27:45.539.151 [runtime.cc:4393] 415452 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set [EVENT] PROFILING(415452,python3):2024-08-23-10:27:45.540.281 [prof_atls_plugin.cpp:160] >>> (tid:415452) Module[7] register callback of ctrl handle. [EVENT] TDT(415452,python3):2024-08-23-10:27:45.540.695 [process_mode_manager.cpp:107][OpenProcess][tid:415452] [ProcessModeManager] enter into open process deviceId[0] rankSize[0] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.045 [process_mode_manager.cpp:377][InitTsdClient][tid:415452] [TsdClient] deviceId[0] begin to init hdc client [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.163 [version_verify.cpp:34][SetVersionInfo][tid:415452] VersionVerify: send client version to server [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.174 [version_verify.cpp:51][SetVersionInfo][tid:415452] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.181 [version_verify.cpp:51][SetVersionInfo][tid:415452] send feature_info:{msg_type:37, features:{check before send open qs message,}} [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.821 [version_verify.cpp:67][PeerVersionCheck][tid:415452] VersionVerify: Check client version info, server[1230], client[1230] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.828 [version_verify.cpp:88][ParseVersionInfo][tid:415452] VersionVerify: pass client version info success [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.831 [hdc_client.cpp:276][CheckHdcConnection][tid:415452] Service[2] create hdc success [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.838 [version_verify.cpp:121][SpecialFeatureCheck][tid:415452] VersionVerify: new type[35], supported [EVENT] TDT(415452,python3):2024-08-23-10:27:45.541.880 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:415452] [TsdClient][deviceId=0] [sessionId=1]wait package info respond [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.043 [process_mode_manager.cpp:377][InitTsdClient][tid:415452] [TsdClient] deviceId[0] begin to init hdc client [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.109 [version_verify.cpp:34][SetVersionInfo][tid:415452] VersionVerify: send client version to server [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.116 [version_verify.cpp:51][SetVersionInfo][tid:415452] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.125 [version_verify.cpp:51][SetVersionInfo][tid:415452] send feature_info:{msg_type:37, features:{check before send open qs message,}} [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.624 [version_verify.cpp:67][PeerVersionCheck][tid:415452] VersionVerify: Check client version info, server[1230], client[1230] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.629 [version_verify.cpp:88][ParseVersionInfo][tid:415452] VersionVerify: pass client version info success [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.633 [hdc_client.cpp:276][CheckHdcConnection][tid:415452] Service[2] create hdc success [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.638 [process_mode_manager.cpp:424][ConstructOpenMsg][tid:415452] [TsdClient] tsd get process sign successfully, procpid[415452] signSize[48] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.643 [version_verify.cpp:113][SpecialFeatureCheck][tid:415452] VersionVerify: previous type[6], supported [EVENT] TDT(415452,python3):2024-08-23-10:27:45.542.653 [process_mode_manager.cpp:124][OpenProcess][tid:415452] [ProcessModeManager] deviceId[0] sessionId[1] rankSize[0], wait sub process start respond [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.115 [stub_process_mode_nowin.cpp:61][ProcessQueueForMdc][tid:415452] [TsdClient] it is unnecessary of current mode[0] chiptype[2] to grant queue auth to aicpusd [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.143 [stub_process_mode_nowin.cpp:99][OpenInHost][tid:415452] enter into OpenInHost deviceid[0] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.149 [stub_process_mode_nowin.cpp:103][OpenInHost][tid:415452] host cpu not support [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.152 [process_mode_manager.cpp:154][OpenProcess][tid:415452] [TsdClient][deviceId=0] [sessionId=1] start hccp and computer process success [ERROR] DRV(415452,python3):2024-08-23-10:27:45.899.259 [ascend][curpid: 415452, 415452][drv][tsdrv][drvDeviceOpen 361]open devdrv_device(0) failed, fd(-1), errno(14), error(Bad address). [ERROR] DRV(415452,python3):2024-08-23-10:27:45.899.268 [ascend][curpid: 415452, 415452][drv][tsdrv][share_log_read 569]invalid para, vdevid(0), devid(0), fid(0) invalid mode(1) or ctx is null. [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.329 [npu_driver.cc:2266]415452 DeviceOpen:[drv api] drvDeviceOpen failed: deviceId=0, drvRetCode=4! [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.337 [device.cc:268]415452 InitRawDriver:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.341 [device.cc:268]415452 InitRawDriver:Failed to open device, retCode=0x7020014, deviceId=0. [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.360 [device.cc:312]415452 Init:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.365 [device.cc:312]415452 Init:Failed to init RawDriver, device_id=0, retCode=0x7020014 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.899.376 [runtime.cc:3019]415452 DeviceRetain:Failed to init device. [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.383 [process_mode_manager.cpp:182][Close][tid:415452] [TsdClient] Close [deviceId=0][sessionId=1] hccp and computer enter [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.389 [version_verify.cpp:113][SpecialFeatureCheck][tid:415452] VersionVerify: previous type[7], supported [EVENT] TDT(415452,python3):2024-08-23-10:27:45.899.411 [process_mode_manager.cpp:192][Close][tid:415452] [TsdClient][deviceId=0] [sessionId=1] wait hccp and computer process close respond [EVENT] TDT(415452,python3):2024-08-23-10:27:45.913.403 [process_mode_manager.cpp:197][Close][tid:415452] [TsdClient][logicDeviceId_=0]has recv close hccp and computer process respond [EVENT] TDT(415452,python3):2024-08-23-10:27:45.913.411 [stub_process_mode_nowin.cpp:149][CloseInHost][tid:415452] enter into CloseInHost deviceid[0] [EVENT] TDT(415452,python3):2024-08-23-10:27:45.913.415 [stub_process_mode_nowin.cpp:152][CloseInHost][tid:415452] host cpu not support [EVENT] TDT(415452,python3):2024-08-23-10:27:45.913.492 [process_mode_manager.cpp:210][Close][tid:415452] [TsdClient][deviceId=0] [sessionId=1] close hccp and computer process success [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.764 [runtime.cc:3041]415452 DeviceRetain:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.770 [runtime.cc:3041]415452 DeviceRetain:Check param failed, dev can not be NULL! [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.783 [runtime.cc:2806]415452 PrimaryContextRetain:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.788 [runtime.cc:2806]415452 PrimaryContextRetain:Check param failed, dev can not be NULL! [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.801 [runtime.cc:2833]415452 PrimaryContextRetain:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.806 [runtime.cc:2833]415452 PrimaryContextRetain:Check param failed, ctx can not be NULL! [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.816 [api_impl.cc:2070]415452 NewDevice:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.820 [api_impl.cc:2070]415452 NewDevice:Check param failed, context can not be null. [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.832 [api_impl.cc:2093]415452 SetDevice:report error module_type=0, module_name=EE9999 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.836 [api_impl.cc:2093]415452 SetDevice:New device failed, retCode=0x7010006 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.846 [logger.cc:836]415452 SetDevice:Set device failed, device_id=0, deviceMode=0. [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.871 [api_c.cc:1763]415452 rtSetDevice:ErrCode=507033, desc=[device retain error], InnerCode=0x7010006 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.877 [error_message_manage.cc:50]415452 FuncErrorReason:report error module_type=3, module_name=EE8888 [ERROR] RUNTIME(415452,python3):2024-08-23-10:27:45.913.886 [error_message_manage.cc:50]415452 FuncErrorReason:rtSetDevice execute failed, reason=[device retain error] [ERROR] ASCENDCL(415452,python3):2024-08-23-10:27:45.913.905 [device.cpp:151]415452 aclrtSetDevice: open device 0 failed, runtime result = 507033. set_device:507033 [EVENT] RUNTIME(415452,python3):2024-08-23-10:27:45.984.329 [runtime.cc:1699] 415452 ~Runtime: deconstruct runtime. 二、软件版本: 安装的固件,驱动,CANN版本如下: Ascend-hdk-310p-npu-driver_23.0.1_linux-aarch64.run Ascend-hdk-310p-npu-firmware_7.1.0.4.220.run Ascend-cann-toolkit_7.0.0_linux-aarch64.run --操作系统版本 Linux tdhnodesn13260 4.19.90-17.ky10.aarch64 #1 SMP Sun Jun 28 14:27:40 CST 2020 aarch64 aarch64 aarch64 GNU/Linux npu-smi info正常  import acl acl.init()正常返回0 但是物理机上执行acl.rt.set_device(0)返回507033错误码.
评论 (
4
)
登录
后才可以发表评论
状态
REJECTED
TODO
Analysing
ACCEPTED
WIP
Feedback
TEST
DONE
REJECTED
负责人
未设置
刘喜强
liu-xiqiang
负责人
协作者
+负责人
+协作者
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/ascend/samples.git
git@gitee.com:ascend/samples.git
ascend
samples
samples
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册