Closed Lothiraldan closed 3 months ago
I have the same issue. Ray 2.32.0 python 3.11.9
thanks - we'll triage today.
I also have the same issue : AttributeError: 'RabitTracker' object has no attribute 'worker_envs'
I downgraded to xgboost 2.1.0 but I'm still having the same error.
Getting the same issue, running Python 3.10.14 and following requirements (trimmed down):
kaleido==0.2.1
kedro==0.19.8
kedro-datasets==4.1.0
kedro-telemetry==0.6.0
kedro-viz==10.0.0
modin==0.26.1
notebook==7.2.2
notebook_shim==0.2.4
numba==0.60.0
numpy==1.26.4
omegaconf==2.3.0
ray==2.34.0
scikit-base==0.7.8
scikit-learn==1.4.2
scikit-plot==0.3.7
scipy==1.11.4
seaborn==0.12.2
wandb==0.18.1
xgboost==2.1.0
@Spin8Cycle @yenicelik Can you try upgrading ray>=2.35.0
?
That's the first version where xgboost 2.1.x support is added from this PR: https://github.com/ray-project/ray/pull/46667
What happened + What you expected to happen
Hi, I'm maintaining some examples of Ray with Comet and our automated CI detected a failure in the following Ray + XGBoost example: https://github.com/comet-ml/comet-examples/blob/master/integrations/model-training/ray-train/notebooks/Comet_with_ray_train_xgboost.ipynb
It used to run fine in the past but started to fails recently with the following traceback:
I tracked it down to a recent change in XGBoost 2.1.0 that removed a method that Ray XGBoost was using
RabitTracker.worker_envs
in the following PR: https://github.com/dmlc/xgboost/commit/a5a58102e5e82fa508514c34cd8e5f408dcfd3e1#diff-bb6f193f9b5b43834b65f777b7c21d33440618e006c965f2e962b17ec9100444On my side, I will pin an older of version of xgboost for now but I didn't find an open bug for it so preferred to report it.
Versions / Dependencies
Python version: 3.10.12 Pip freeze:
Reproduction script
Issue Severity
Low: It annoys or frustrates me.