-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[core] Clear CPU affinity for worker processes #36816
Conversation
Signed-off-by: Stephanie Wang <swang@cs.berkeley.edu>
|
||
// Clear any CPU affinity that might have been inherited from the raylet. | ||
// See https://github.com/ray-project/ray/issues/35984. | ||
cpu_set_t mask; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to add a test for this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know of a good way to do it (in the PR description: This PR is not tested because the best way to do so would require sudo permissions.). What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops. Sorry I missed that comment. I think it is okay to merge if you manually have checked it then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lmk if you tested manually!
Clear CPU affinity for worker processes when forking from raylet. See ray-project#35984 for more details. This PR is not tested because the best way to do so would require sudo permissions. Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
…6816)" (ray-project#36958) This reverts commit 92cc3c3. Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
Why are these changes needed?
Clear CPU affinity for worker processes when forking from raylet. See #35984 for more details.
This PR is not tested because the best way to do so would require sudo permissions.
Related issue number
Closes #35984.
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.