-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
昇腾310分别使用CPU及NPU推理,所需时间相差很小 #10625
Comments
可以 export GLOG_v=5,看一下完整的日志,确认一下是否算子都执行在 NPU 上。 |
这边好像没有看到具体的信息呢 |
这是啥啊?编译日志? |
./PaddleLite-generic-demo/object_detection_demo/shell/build.linux.arm64/CMakeFiles/CMakeOutput.log是这个吗 |
是在运行脚本里加 export GLOG_v=5,打印推理的日志信息。 |
运行脚本里原本就设定的export GLOG_v=5,后来我又换成了 GLOG_v=6,但打印出来的日志信息还是不完整,跟issue中提的保持一致 |
使用自己训练的pployoe-sod模型,在昇腾310上分别使用NPU与CPU进行推理,结果如下。
NPU:
CPU:
而且调用NPU进行推理期间,CPU被大量占用:
之前有用直接下载的模型对比过,NPU推理和CPU推理所用的时间是有明显差距的。请问运行命令有什么问题吗?
The text was updated successfully, but these errors were encountered: