NPU function error: c1O_npu::SetDevice(device_id_), error code is 507033
收藏回复举报
NPU function error: c1O_npu::SetDevice(device_id_), error code is 507033
t('forum.solved') 已解决
发表于2025-06-05 11:08:02
0 查看

mindiie版本:1.0.0

NPU:Atlas300I Duo

问题:mindie拉起服务化报错: Initialize:build/CMakeFiles/torch_npu.dir/compiler_depend.ts:222 NPU function error: c1O_npu::SetDevice(device_id_), error code is 507033

2025-06-03 15:33:57,901 [ERROR] model.py:39 - [Model] >>> Exception:Initialize:build/CMakeFiles/torch_npu.dir/compiler_depend.ts:222 NPU function error: cl

0_npu::SetDevice(device_id_), error code is 507033

[ERROR] 2025-06-03-15:33:57 (PID:809, Device:0, RankID:-1) ERR00100 PTA call acl api failed

[Erron): Failed to start the device.

Rectify the fault based on the error information in the ascend log.

EL0005: [PID: 809] 2025-06-03-15:33:52.410.982 The resources are busy.

.Kpeau qou sy aueMJoS 8 asau Butaq st apphap ayl *Z paldnopo usaq aney sabunosau aul iT tasneg alq!ssod

Solution: 1. Close applications not in use. 2. Wait for a while and try again.

TraceBack (most recent call last):

Task execute failed,Tdevice id 7, stream_id-O, task_id=1, flip_num-0, task_type-83.[FUNC:GetError][FILE:stream.cc][LINE:1124]ee

Failed to create ring buffer, errorcode = 118816772.[FUNC:Start][FILE:raw_device.cc][LINE:443]

The resources are busy.

[ZSOV:3NI1](3 awqunu:3П19][u e3ayab[^aG:ONN3]iTTNN aq qou ueo Aap fpalley weued xpayo

Check param failed, dev can not be NULL![FUNC:PrimaryContextRetain][FILE:runtime.cc][LINE:3749]

Check param failed, ctx can not be NULL![FUNC:PrimaryContextRetain][FILE:runtime.cc][LINE:3776]

Check param failed, context can not be null.[FUNC:NewDevice][FILE:api_impl.cc][LINE:2456]

[08VZ:BNI1][> 2dw) de:3119][3L9049S:ONN3]9000T0/X0=Оp09491 palleJ 3pLap MaN

rtSetDevice execute failed, reason=[device retain error][FUNC:FuncErrorReason][FILE:error_message_manage.cc][LINE:53]

open device 7 failed, runtime result = 507033.[FUNC:ReportCallError][FILE:log_inner.cpp][LINE:161]

Traceback (most recent call last):

File "/usr/local/Lib/python3.11/site-packages/model_wrapper/model.py", line 37, in initialize

return self.python model.initialize(config)

我要发帖子