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

Add special case in _get_tune_resources #250

Merged
merged 3 commits into from
Dec 12, 2022
Merged

Conversation

Yard1
Copy link
Member

@Yard1 Yard1 commented Dec 8, 2022

Signed-off-by: Antoni Baum antoni.baum@protonmail.com

If _max_cpu_fraction_per_node is None and passed to placement_group, an exception will be thrown. Currently, code in Ray doesn't discard that key if its None before passing it to xgboost_ray.RayParams. This will be fixed properly in Ray (ray-project/ray#30977), but in the meantime, we add a special case here to ensure that Ray 2.2 works.

Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>
Signed-off-by: Antoni Baum <antoni.baum@protonmail.com>
@Yard1 Yard1 changed the title Adds special case in _get_tune_resources Adds special case in _get_tune_resources Dec 8, 2022
@Yard1 Yard1 changed the title Adds special case in _get_tune_resources Add special case in _get_tune_resources Dec 9, 2022
@Yard1 Yard1 merged commit 5f016ff into master Dec 12, 2022
@Yard1 Yard1 deleted the pgf_placement_options_fix branch December 12, 2022 04:20
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