问题描述:
我们在测试机器重复开关机中发现,偶然会出现svp_npu推理报错的问题。具体的流程和日志如下图,麻烦路过的朋友帮忙看看
报错日志:
[Func]:svp_npu_runtime_impl_get_device_and_stream_node_id [Line]:466 [Info]:Error, please set device or create context first
[Func]:svp_npu_runtime_impl_execute_model_async [Line]:1519 [Info]:Error, get device and stream id failed when execute model async
[Func]:svp_npu_model_execute_async [Line]:794 [Info]:Error, runtime execute model async failed
failed at InferModelAsync: LINE: 82 with 0x30d45!
硬件型号: SS928
SDK版本:[SVP_NPU] Version: [SS928V100V2.0.2.1 B050 Release], Build Time[Apr 27 2022, 16:54:46]
程序开机后的运行流程:
每次开机后,机器会先创建线程1,等线程1结束后,再创建线程2。线程1和线程2跑的模型不一样。
有时会出现在线程2中,第一次调用推理时就报错

问题描述:
我们在测试机器重复开关机中发现,偶然会出现svp_npu推理报错的问题。具体的流程和日志如下图,麻烦路过的朋友帮忙看看
报错日志:
[Func]:svp_npu_runtime_impl_get_device_and_stream_node_id [Line]:466 [Info]:Error, please set device or create context first
[Func]:svp_npu_runtime_impl_execute_model_async [Line]:1519 [Info]:Error, get device and stream id failed when execute model async
[Func]:svp_npu_model_execute_async [Line]:794 [Info]:Error, runtime execute model async failed
failed at InferModelAsync: LINE: 82 with 0x30d45!
硬件型号: SS928
SDK版本:[SVP_NPU] Version: [SS928V100V2.0.2.1 B050 Release], Build Time[Apr 27 2022, 16:54:46]
程序开机后的运行流程:
每次开机后,机器会先创建线程1,等线程1结束后,再创建线程2。线程1和线程2跑的模型不一样。
有时会出现在线程2中,第一次调用推理时就报错