Why distributed Xgboost runing on local cluster doesn't work?

Hello everyone, I am trying to run a script which implementing the distributed xgboost runing on local cluster, the script can be found on xgboost/sklearn_cpu_training.py at master · dmlc/xgboost (github.com).
However some error occurs as follow:

Does anyone can help me?

Thanks for the screenshots @zhonglism. What version of distributed are you using? I ask because that AttributeError was reported earlier and has been fixed in distributed (see Nanny reporting errors - may be working anyway? · Issue #5386 · dask/distributed · GitHub). Upgrading to the latest distributed release (which is version 2021.10.0 currently) might fix this issue.

1 Like

Thanks for replying, I solved the issue by upgrading the distributed.