-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Sometimes mklml
is much slower than mkl
.
#4813
Comments
有几个问题想确认下:
|
补充一个问题,请问所用的 |
|
1.请问复现的步骤是什么? |
|
不好意思各位,回复的完了。已经把环境整理的比较整洁了。看大家还有啥问题没有? |
从 https://github.com/gongweibao/tests/blob/develop/build_capi/build_capi.sh#L22 这里看 |
给出的是链接
找不到不会拷贝过去的。 |
libiomp5.so是使用mklml库的时候,才有的。那使用mklml编译出.so的时候,有用到这两个库么?
那使用mklml库的版本是在哪里? |
这个我以为你要自己编,出现diff的时候可以加参数来调整。 |
https://github.com/gongweibao/tests/tree/develop/zhangtai/mkl/lib 这个是链接公司内部mkl库的版本?从lib中看不到公司内部mkl的so文件。
我可以自己编,但我要怎么编译呢?因为对这个project不熟悉,而README中只给出了编译环境,没给出编译命令。所以请问能不能把两个版本的所有环境都放上去,然后写一下分别是怎么编译得到的? 另外,README写了“然后看其打印的时间作对比”。请问要运行哪个文件?
也麻烦回答一下这个问题。 初步怀疑,下降10倍,是因为编译的时候没有开启 |
公司内部
写进去了
写进去了
看上图 |
由于 |
将 https://github.com/gongweibao/testcapi/blob/master/main.cpp#L124 一次循环时间改成十次,两者时间是一样了 |
If we use
mkl
, the model's forward time is 0.03ms in contrast to 2ms when we usemklml
library.Env is put here and you can use this environment to reproduce the problem.
The text was updated successfully, but these errors were encountered: