Skip to content

aclrtSetDevice: open device 0 failed, runtime result = 507033 #21

@fateandoption

Description

@fateandoption

1、问题详情

[ERROR] GE(946748,main):2025-05-19-15:59:07.739.753 [host_cpu_engine.cc:288]947062 LoadLib: ErrorNo: 1343225860(Internal errors) [INIT][DEFAULT][Invoke][DlOpen] failed. path = /usr/local/Ascend/ascend-toolkit/7.0.RC1/opp/built-in/op_impl/host_cpu/libops_host_cpu.so, error = /usr/local/Ascend/ascend-toolkit/7.0.RC1/opp/built-in/op_impl/host_cpu/libops_host_cpu.so: undefined symbol: ZN2ge14GetShapeErrMsgEjRKSsS1
[EVENT] PROFILING(946748,main):2025-05-19-15:59:07.740.922 [msprof_callback_impl.cpp:79] >>> (tid:947062) MsprofCtrlCallback called, type: 255
[EVENT] PROFILING(946748,main):2025-05-19-15:59:07.741.051 [ai_drv_dev_api.cpp:333] >>> (tid:947062) Succeeded to DrvGetApiVersion version: 0x71f0d
[EVENT] TDT(946748,main):2025-05-19-15:59:07.741.638 [process_mode_manager.cpp:103][OpenProcess][tid:947062] [ProcessModeManager] enter into open process deviceId[0] rankSize[0]
[EVENT] TDT(946748,main):2025-05-19-15:59:07.755.479 [process_mode_manager.cpp:371][InitTsdClient][tid:947062] [TsdClient] deviceId[0] begin to init hdc client
[EVENT] TDT(946748,main):2025-05-19-15:59:07.755.621 [version_verify.cpp:34][SetVersionInfo][tid:947062] VersionVerify: send client version to server
[EVENT] TDT(946748,main):2025-05-19-15:59:07.755.639 [version_verify.cpp:51][SetVersionInfo][tid:947062] send feature_info:{msg_type:35, features:{check before send aicpu package,}}
[EVENT] TDT(946748,main):2025-05-19-15:59:07.755.646 [version_verify.cpp:51][SetVersionInfo][tid:947062] send feature_info:{msg_type:37, features:{check before send open qs message,}}
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.238 [version_verify.cpp:67][PeerVersionCheck][tid:947062] VersionVerify: Check client version info, server[1230], client[1230]
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.248 [version_verify.cpp:88][ParseVersionInfo][tid:947062] VersionVerify: pass client version info success
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.253 [hdc_client.cpp:272][CheckHdcConnection][tid:947062] Service[2] create hdc success
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.262 [version_verify.cpp:121][SpecialFeatureCheck][tid:947062] VersionVerify: new type[35], supported
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.298 [process_mode_manager.cpp:737][GetDeviceCheckCode][tid:947062] [TsdClient][deviceId=0] [sessionId=1]wait package info respond
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.468 [process_mode_manager.cpp:371][InitTsdClient][tid:947062] [TsdClient] deviceId[0] begin to init hdc client
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.542 [version_verify.cpp:34][SetVersionInfo][tid:947062] VersionVerify: send client version to server
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.550 [version_verify.cpp:51][SetVersionInfo][tid:947062] send feature_info:{msg_type:35, features:{check before send aicpu package,}}
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.556 [version_verify.cpp:51][SetVersionInfo][tid:947062] send feature_info:{msg_type:37, features:{check before send open qs message,}}
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.924 [version_verify.cpp:67][PeerVersionCheck][tid:947062] VersionVerify: Check client version info, server[1230], client[1230]
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.931 [version_verify.cpp:88][ParseVersionInfo][tid:947062] VersionVerify: pass client version info success
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.937 [hdc_client.cpp:272][CheckHdcConnection][tid:947062] Service[2] create hdc success
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.943 [process_mode_manager.cpp:418][ConstructOpenMsg][tid:947062] [TsdClient] tsd get process sign successfully, procpid[946748] signSize[48]
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.950 [version_verify.cpp:113][SpecialFeatureCheck][tid:947062] VersionVerify: previous type[6], supported
[EVENT] TDT(946748,main):2025-05-19-15:59:07.756.963 [process_mode_manager.cpp:120][OpenProcess][tid:947062] [ProcessModeManager] deviceId[0] sessionId[1] rankSize[0], wait sub process start respond
[ERROR] TDT(946748,main):2025-05-19-15:59:07.757.223 [process_mode_manager.cpp:587][DeviceMsgProcess][tid:947062] [TsdClient] DeviceMsgProc errcode[E30003]
[ERROR] TDT(946748,main):2025-05-19-15:59:07.757.290 [process_mode_manager.cpp:269][WaitRsp][tid:947062] tsd client wait response fail, device response code[1]. unknown device error.
[ERROR] TDT(946748,main):2025-05-19-15:59:07.757.334 [process_mode_manager.cpp:123][OpenProcess][tid:947062] Wait open response from device failed.
[ERROR] TDT(946748,main):2025-05-19-15:59:07.757.342 [tsd_client.cpp:31][TsdOpen][tid:947062] TsdOpen failed, deviceId[0].
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.382 [runtime.cc:2015]947062 PrintfTsdError:report error module_name=E30003
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.390 [runtime.cc:2015]947062 PrintfTsdError:TsdOpen failed:The number of started NN processes exceeds the limit.
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.433 [runtime.cc:2677]947062 DeviceRetain:report error module_type=0, module_name=EE9999
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.440 [runtime.cc:2677]947062 DeviceRetain:Start aicpu executor failed, retCode=0x7020009 devId=0
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.476 [runtime.cc:2523]947062 PrimaryContextRetain:report error module_type=0, module_name=EE9999
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.483 [runtime.cc:2523]947062 PrimaryContextRetain:Check param failed, dev can not be NULL!
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.516 [runtime.cc:2550]947062 PrimaryContextRetain:report error module_type=0, module_name=EE9999
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.522 [runtime.cc:2550]947062 PrimaryContextRetain:Check param failed, ctx can not be NULL!
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.554 [api_impl.cc:1893]947062 NewDevice:report error module_type=0, module_name=EE9999
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.562 [api_impl.cc:1893]947062 NewDevice:Check param failed, context can not be null.
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.592 [api_impl.cc:1916]947062 SetDevice:report error module_type=0, module_name=EE9999
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.599 [api_impl.cc:1916]947062 SetDevice:New device failed, retCode=0x7010006
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.644 [logger.cc:821]947062 SetDevice:Set device failed, device_id=0, deviceMode=0.
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.657 [api_c.cc:1624]947062 rtSetDevice:ErrCode=507033, desc=[device retain error], InnerCode=0x7010006
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.663 [error_message_manage.cc:50]947062 FuncErrorReason:report error module_type=3, module_name=EE8888
[ERROR] RUNTIME(946748,main):2025-05-19-15:59:07.757.672 [error_message_manage.cc:50]947062 FuncErrorReason:rtSetDevice execute failed, reason=[device retain error]
[ERROR] ASCENDCL(946748,main):2025-05-19-15:59:07.757.710 [device.cpp:152]947062 aclrtSetDevice: open device 0 failed, runtime result = 507033.
2、设备与软件版本
设备:310P3
系统:
NAME="openEuler"
VERSION="22.03 LTS"
ID="openEuler"
VERSION_ID="22.03"
PRETTY_NAME="openEuler 22.03 LTS"
ANSI_COLOR="0;31"
驱动:

7.0.RC1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions