-
Notifications
You must be signed in to change notification settings - Fork 499
chore(config): deprecate min_cpu_per_task #7125
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
Open
XiaoHongbo-Hope
wants to merge
22
commits into
Eventual-Inc:main
Choose a base branch
from
XiaoHongbo-Hope:fix/min-cpu-per-task-wiring
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+21
−1
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1d05985
fix(flotilla): wire min_cpu_per_task into TaskResourceRequest
XiaoHongbo-Hope 034ec2b
test: cover min_cpu_per_task wiring; clarify field doc
XiaoHongbo-Hope a0f07e5
fix(flotilla): keep min_cpu_per_task default at 1.0 (no-regression)
XiaoHongbo-Hope 2b7ce31
test(flotilla): reuse builder's min_cpu_per_task in with_resource_req…
XiaoHongbo-Hope ab1e67a
fix(flotilla): apply min_cpu_per_task as floor and reject non-positiv…
XiaoHongbo-Hope 48a4d2a
fix(clippy): collapse let-chain in min_cpu_per_task env guard
XiaoHongbo-Hope ebdf031
Merge branch 'main' into fix/min-cpu-per-task-wiring
XiaoHongbo-Hope c36c458
fix(plan): leave num_cpus unset so min_cpu_per_task can lower task CPU
XiaoHongbo-Hope cd6ea1f
docs: align min_cpu_per_task docstring with fallback (not floor) sema…
XiaoHongbo-Hope 710c932
fix(autoscale): use TaskResourceRequest wrappers so min_cpu_per_task …
XiaoHongbo-Hope f0ee20c
fix(flotilla): send fractional CPU to Ray autoscaler and reject non-f…
XiaoHongbo-Hope ad2f528
fix(flotilla): aggregate fractional CPU into integer Ray autoscaler b…
XiaoHongbo-Hope 4620acb
fix(flotilla): keep multi-CPU tasks as individual autoscaler bundles
XiaoHongbo-Hope 5303372
fix(flotilla): track post-aggregation request as autoscaler high-wate…
XiaoHongbo-Hope eb091a3
fix(resource-request): reject non-finite and negative num_cpus/num_gpus
XiaoHongbo-Hope d6f11a1
fix(flotilla): pack fractional GPU into integer autoscaler bundles
XiaoHongbo-Hope 467f0b7
fix(flotilla): carry GPU tasks' CPU into packed autoscaler bundles
XiaoHongbo-Hope 5f25d91
refactor(daft-config): share min_cpu_per_task validity rule
XiaoHongbo-Hope 953b6be
fix(flotilla): emit unit GPU autoscaler bundles, not oversized shapes
XiaoHongbo-Hope 1483cee
docs(flotilla): tighten autoscaler bundle comments
XiaoHongbo-Hope 27f15c2
fix(flotilla): honor explicit num_cpus=0 in autoscaler bundles
XiaoHongbo-Hope 5f9a8a6
deprecate min_cpu_per_task execution config
XiaoHongbo-Hope File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
stacklevel=2only surfaces this warning for directset_execution_config(...)calls. When users callexecution_config_ctx(min_cpu_per_task=...), the warning is attributed todaft/context.pyinstead of user code, so the defaultDeprecationWarningfilter hides it. The new test catches the warning withpytest.warns, but misses this user-visible behavior. Could we warn from the outer context-manager path or adjust the stacklevel/helper so both public APIs point at the caller?