-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Lightgbm does not work on GPU? #6205
Comments
That is absolutely not true. There are 2 GPU-accelerated builds of LightGBM:
To install the Python package using these builds, see the guide in https://github.com/microsoft/LightGBM/blob/master/python-package/README.rst.
Thanks for pointing this out! That's a typo. I found that error message using GitHub search: https://github.com/search?q=repo%3Amicrosoft%2FLightGBM+%22Please+recompile+with+CMake+option+-DUSE_CUDAP%3D1%22&type=code
It should be |
Please see the advice in #5914 (comment). |
ha sorry about that! Thanks, just edited
Yes. The
If you have an NVIDIA GPU, use the
great, we'll close this issue |
great thanks |
Per the report in #6205. Fixes a typo in an error message from the CUDA version of the library.
Not yet, that's being tracked in #5076. |
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Description
It's really hard to install a gpu version.
"Please recompile with CMake option -DUSE_CUDAP=1"
??? What is CUDAP?
cmake -DUSE_CUDAP=1 ..
but still got the same error.
Reproducible example
Environment info
centos 7 (in docker)
LightGBM version or commit hash:
master branch (4.1?)
Command(s) you used to install LightGBM
cmake -DUSE_CUDAP=1 .. sh ./build-python.sh install --precompile # the command above upgrades numpy and lightgbm will fails to import (numpy.float error). why do you upgrade that then? pip3 install numpy==1.20
Additional Comments
The text was updated successfully, but these errors were encountered: