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

auto set openblas env #7104

Merged
merged 3 commits into from
Dec 29, 2017
Merged

auto set openblas env #7104

merged 3 commits into from
Dec 29, 2017

Conversation

tensor-tang
Copy link
Contributor

@tensor-tang tensor-tang commented Dec 28, 2017

fix #7105

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.

run_openblas_infer.sh脚本也要对应做修改

@@ -2,6 +2,7 @@ set -e

function train() {
unset OMP_NUM_THREADS MKL_NUM_THREADS OMP_DYNAMIC KMP_AFFINITY
Copy link
Contributor

Choose a reason for hiding this comment

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

第4行的unset要变么,OMP_NUM_THREADS 和MKL_NUM_THREADS应该对openblas没有作用吧。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

是没有作用的,可以删掉。

Copy link
Contributor Author

@tensor-tang tensor-tang left a comment

Choose a reason for hiding this comment

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

好的没问题, Done.

@@ -2,6 +2,7 @@ set -e

function train() {
unset OMP_NUM_THREADS MKL_NUM_THREADS OMP_DYNAMIC KMP_AFFINITY
Copy link
Contributor Author

Choose a reason for hiding this comment

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

是没有作用的,可以删掉。

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 d00e1ed into PaddlePaddle:develop Dec 29, 2017
@tensor-tang tensor-tang deleted the openblas branch December 29, 2017 07:07
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.

Lack of openblas env
2 participants