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

Limit the number of pytorch threads #5

Merged
merged 1 commit into from
Nov 18, 2019

Conversation

marchbnr
Copy link
Contributor

@marchbnr marchbnr commented Nov 4, 2019

Running multiple experiments with extensive cpu usage can lead to a clogged machine, where the single runs are slowing down each other due to extensive rescheduling. This can be resolved by limiting the available pytorch threads.

Copy link
Contributor

@kernelmachine kernelmachine left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for adding this.

@kernelmachine kernelmachine merged commit cd45d78 into allenai:master Nov 18, 2019
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.

None yet

2 participants