ray-project / xgboost_ray

Distributed XGBoost on Ray
Apache License 2.0
139 stars 34 forks source link

[Data] Remove `Dataset.num_blocks()` usages #307

Closed scottjlee closed 7 months ago

scottjlee commented 7 months ago

As part of https://github.com/ray-project/ray/pull/43178, we want to remove all usages of Dataset.num_blocks(), as that method will be deprecated for Ray 2.10. The replacement code is: ds._plan.initial_num_blocks()