-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[core] Pin legacy OOM killing policy in test_memory_pressure fixtures #62922
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,6 +52,10 @@ def ray_with_memory_monitor(shutdown_only): | |
| "task_oom_retries": task_oom_retries, | ||
| "min_memory_free_bytes": -1, | ||
| "task_oom_retry_delay_base_ms": 0, | ||
| # PR #62643 flipped the default OOM killing policy to the | ||
| # time-based multi-worker policy; these tests assert on | ||
| # single-worker, owner-group semantics. | ||
| "worker_killing_policy_by_group": True, | ||
| }, | ||
| ) as addr: | ||
| yield addr | ||
|
|
@@ -70,6 +74,7 @@ def ray_with_memory_monitor_no_oom_retry(shutdown_only): | |
| "task_oom_retries": 0, | ||
| "min_memory_free_bytes": -1, | ||
| "task_oom_retry_delay_base_ms": 0, | ||
| "worker_killing_policy_by_group": True, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missed pinning legacy kill policy in inline ray.init testMedium Severity
Reviewed by Cursor Bugbot for commit 5049c59. Configure here. |
||
| }, | ||
| ) as addr: | ||
| yield addr | ||
|
|
||


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.
For consistency and maintainability, it would be beneficial to add a comment here explaining why
worker_killing_policy_by_groupis set toTrue, similar to the one in theray_with_memory_monitorfixture. This will help future developers understand the context for this configuration.