Repository navigation
Add type validation for ray.autoscaler.sdk.request_resources() - #26626
Merged
Merged
Conversation
Signed-off-by: Your Name <[email protected]>
Contributor
Author
|
@DmitriGekhtman Thank you for approving the other PR. I messed up the rebase. Can you please take a look on this PR instead when you get a chance ? I have addressed all comments and DCO. |
Signed-off-by: Your Name <[email protected]>
DmitriGekhtman
approved these changes
Jul 16, 2022
DmitriGekhtman
left a comment
Contributor
There was a problem hiding this comment.
Thank you, looks good!
xwjiang2010
pushed a commit
to xwjiang2010/ray
that referenced
this pull request
Jul 19, 2022
…oject#26626) Adds type validation to ray.autoscaler.sdk.request_resources(). Signed-off-by: Xiaowei Jiang <[email protected]>
Stefan-1313
pushed a commit
to Stefan-1313/ray_mod
that referenced
this pull request
Aug 18, 2022
…oject#26626) Adds type validation to ray.autoscaler.sdk.request_resources(). Signed-off-by: Stefan van der Kleij <[email protected]>
justinvyu
pushed a commit
that referenced
this pull request
May 14, 2026
…rces (#63306) #59353 open-sourced the `AutoscalingCoordinator` including a `math.ceil` block on incoming resource bundles. The block traces back to that validator was added back in #26626 to fix a *shape* bug (#23166 ). The literal `int` came from an informal type annotation; It seems that neither v1 (KV → load_metrics → bin-packing) nor v2 (proto `map<string, double>`) requires it. Drop the value-type check in the SDK and remove the `math.ceil` workaround in Ray Data --------- Signed-off-by: Lehui Liu <[email protected]>
TruongQuangPhat
pushed a commit
to cyhapun/ray-fix-issue
that referenced
this pull request
May 27, 2026
…rces (ray-project#63306) ray-project#59353 open-sourced the `AutoscalingCoordinator` including a `math.ceil` block on incoming resource bundles. The block traces back to that validator was added back in ray-project#26626 to fix a *shape* bug (ray-project#23166 ). The literal `int` came from an informal type annotation; It seems that neither v1 (KV → load_metrics → bin-packing) nor v2 (proto `map<string, double>`) requires it. Drop the value-type check in the SDK and remove the `math.ceil` workaround in Ray Data --------- Signed-off-by: Lehui Liu <[email protected]> Signed-off-by: phattruong <[email protected]>
alexandrplashchinsky
pushed a commit
to alexandrplashchinsky/ray-alex
that referenced
this pull request
May 29, 2026
…rces (ray-project#63306) ray-project#59353 open-sourced the `AutoscalingCoordinator` including a `math.ceil` block on incoming resource bundles. The block traces back to that validator was added back in ray-project#26626 to fix a *shape* bug (ray-project#23166 ). The literal `int` came from an informal type annotation; It seems that neither v1 (KV → load_metrics → bin-packing) nor v2 (proto `map<string, double>`) requires it. Drop the value-type check in the SDK and remove the `math.ceil` workaround in Ray Data --------- Signed-off-by: Lehui Liu <[email protected]> Signed-off-by: Alexandr Plashchinsky <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why are these changes needed?
#23166 needed type validation in autoscaler for bundles.
Related issue number
Closes #23166
Checks
scripts/format.shto lint the changes in this PR.