We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/fluid/framework/threadpool.cc#L33 When the program runs in Docker, the number of threads is the number of CPU the host and not the number of CPU in the container.
The text was updated successfully, but these errors were encountered:
Maybe this will help? moby/moby#31424 (comment)
Sorry, something went wrong.
Maybe another way is to use the env variable to determinate the thread numbers, looks like more general.
May we need an ENV variable to initial thread_num in a container.
Yancey1989
No branches or pull requests
https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/fluid/framework/threadpool.cc#L33
When the program runs in Docker, the number of threads is the number of CPU the host and not the number of CPU in the container.
The text was updated successfully, but these errors were encountered: