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

fix grep socket error in lscpu command #5952

Merged
merged 1 commit into from
Nov 28, 2017
Merged

fix grep socket error in lscpu command #5952

merged 1 commit into from
Nov 28, 2017

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented Nov 27, 2017

fix #5821
fix #5893

@luotao1 luotao1 requested review from NHZlX and pkuyym November 27, 2017 13:55
@tensor-tang
Copy link
Contributor

也可以使用这两句:

grep 'physical id' /proc/cpuinfo | sort -u | wc -l
2
grep 'core id' /proc/cpuinfo | sort -u | wc -l
22

pkuyym
pkuyym previously approved these changes Nov 27, 2017
Copy link
Contributor

@pkuyym pkuyym left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@pkuyym pkuyym 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 1e6f85e into PaddlePaddle:develop Nov 28, 2017
@luotao1 luotao1 deleted the fix_lscpu_log branch November 28, 2017 01:25
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.

Current method for querying number of cpu sockets is not robust v2 init error on MAC
3 participants