xgboost icon indicating copy to clipboard operation
xgboost copied to clipboard

[Versioning Question] XGBoost Version to Spark Version compatibility

Open Rkuro opened this issue 1 year ago • 3 comments

Hey there -

I searched around but had trouble finding this:

Is there a place where the xgboost versions are matched up with compatible spark versions - i.e. How a developer can check what versions of xgboost should work with which versions of spark for basic SparkXGBRegressor usage?

Thanks!

Rkuro avatar Jun 25 '25 15:06 Rkuro

cc @wbo4958

trivialfis avatar Jun 26 '25 04:06 trivialfis

Hi @Rkuro,

Mostly, xgboost pyspark is using the public spark APIs, so it should work with all spark versions. But if you're using sparse data by enabling enable_sparse_data_optim, you should use spark 3.4+

wbo4958 avatar Jun 30 '25 08:06 wbo4958

Feel free to reopen if you have further questions.

trivialfis avatar Jul 01 '25 15:07 trivialfis