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

Honor CPU counts from CFS. #7654

Merged
merged 7 commits into from
Feb 20, 2022
Merged

Honor CPU counts from CFS. #7654

merged 7 commits into from
Feb 20, 2022

Conversation

trivialfis
Copy link
Member

Close #7653 .

Need some testing.

@trivialfis trivialfis changed the title [WIP] Honor CPU counts from CFS. Honor CPU counts from CFS. Feb 16, 2022
@trivialfis trivialfis marked this pull request as ready for review February 16, 2022 10:24
@trivialfis
Copy link
Member Author

I verified that the PR can correctly detect the docker argument --cpus.

@trivialfis trivialfis requested a review from hcho3 February 16, 2022 10:25
@trivialfis
Copy link
Member Author

@hcho3 Could you please take a look? Your expertise regarding container env would be really helpful.

src/common/threading_utils.cc Outdated Show resolved Hide resolved
@trivialfis trivialfis requested a review from hcho3 February 18, 2022 20:58
@trivialfis
Copy link
Member Author

@hcho3 Could you please take another look?

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.

Cgroups awareness for XGBoost when using n_jobs=-1
2 participants