Skip to content
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

initial with only 1 mkl/openblas threads for each pthreads #11464

Merged
merged 2 commits into from
Jun 14, 2018

Conversation

tensor-tang
Copy link
Contributor

@tensor-tang tensor-tang commented Jun 14, 2018

Since we always need users to set env to get the best performance.

export OPENBLAS_NUM_THREADS=1 
export MKL_NUM_THREADS=1
export OMP_NUM_THREADS=1

We can set this as default.

@tensor-tang tensor-tang requested a review from luotao1 June 14, 2018 06:14
@tensor-tang
Copy link
Contributor Author

[Step 1/1] In file included from /paddle/paddle/fluid/framework/operator.h:25:0,
[06:22:37][Step 1/1]                  from /paddle/paddle/contrib/tape/variable.h:18,
[06:22:37][Step 1/1]                  from /paddle/paddle/contrib/tape/variable.cc:15:
[06:22:37][Step 1/1] /paddle/paddle/fluid/framework/attribute.h:23:49: fatal error: paddle/fluid/framework/framework.pb.h: No such file or directory
[06:22:37][Step 1/1] compilation terminated.
[06:22:37][Step 1/1] make[2]: *** [paddle/contrib/tape/CMakeFiles/tape_variable.dir/variable.cc.o] Error 1

https://paddleci.ngrok.io/viewLog.html?tab=buildLog&logTab=tree&filter=debug&expand=all&buildId=767&_focus=1459

This should be fixed in #11466

Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luotao1 luotao1 merged commit 8f266e2 into PaddlePaddle:develop Jun 14, 2018
@tensor-tang tensor-tang deleted the set_nthreads branch June 14, 2018 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants