-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xgboost regressor training with GPU does not work when python environment does not have "cudf" package #8467
Comments
Seemingly I need to manually build cudf if I don't use conda environment. |
@trivialfis Could you release a pypi xgboost package that containing the cudf lib ? |
@WeichenXu123 It is now possible to install cudf using |
I tried:
it will install a dependency I cannot find a version that is compatible with cuda 11.3 (which is the version currently we use) @hcho3 Can we make xgboost-spark using "cudf" optionally ? If no cudf installed, fallback to use normal pandas dataframe. |
@WeichenXu123 https://rapids.ai/pip.html says that you can install cuPy version for CUDA 11.3:
Have you tried this? |
And I'm not sure if cuDF can be made optional. I'll defer to @trivialfis |
Yes I tried, then got error:
|
I think it is doable, because when I contributed the xgboost.spark module, it works without The and xgboost package does not install cudf automatically, most user does not know how to install the dependency, it is not a package that can be installed from offical pypi repo. This is also quite bad. |
@WeichenXu123 The At any rate, we should try to make |
Just made #8469 as a first attempt to fix. |
Hi everybody, is there any solution or we have to wait 1.7.2 patch release? Thanks guyz |
You can use nightly build if you don't want to wait for a patch release. |
nightly build? |
Testing on xgboost==1.7.1
Reproducing code:
Error:
The text was updated successfully, but these errors were encountered: