Dask 2025.4.0 scheduler info compatibility#11462
Conversation
|
@trivialfis this test xgboost/tests/python/test_tracker.py Lines 160 to 181 in 9ad4e24 is explicitly checking the previous worker id is in the task id used for determining the rank. Do you have a suggestion on how to update this test? Or should it be removed? |
Based on #11461 (comment) , can we use |
Yeah, fair point. I just want to reiterate whether the current That said, that's a separate issue. I've gone ahead and updated this PR to avoid the |
|
Hmm the build failure here looks unrelated (probably just some transient HTTP error). I'll push an empty commit to rerun CI to see if that helps. |
|
Please ignore the canceled error. I don't know how it happens, github action is dark magic to me. On the other hand, we have seen this https://github.com/dmlc/xgboost/actions/runs/15050046963/job/42303211874?pr=11462 a couple of times before. Would you like to help make a guess? (not expecting you to spend time debugging it). It's a flaky error that looks like dask is having trouble with parameter packs: |
Hmm yeah that's a weird one. My guess is that it has something to do with somehow including diff --git a/python-package/xgboost/dask/__init__.py b/python-package/xgboost/dask/__init__.py
index 7f38647fa..e87e85126 100644
--- a/python-package/xgboost/dask/__init__.py
+++ b/python-package/xgboost/dask/__init__.py
@@ -923,12 +923,11 @@ def train( # pylint: disable=unused-argument
"""
client = _get_client(client)
- args = locals()
return client.sync(
_train_async,
global_config=config.get_config(),
dconfig=_get_dask_config(),
- **args,
+ **locals(),
)might? fix the issue. At a minimum, it seems like a harmless change (and it's how |
|
Thanks @trivialfis |
|
Btw, do you have a sense for when this change might be included in a release? I see it just missed the 3.0.1 patch release unfortunately |
|
We can do another one if necessary, cc @hcho3 . |
|
I'm not sure how much of a burden it is to release, but I'd certainly appreciate a release with this update as soon as makes sense for you all (most |
Closes #11461 per @trivialfis suggestion here #11461 (comment)