-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[python-package] support GPU training with the conda-forge package #5419
Comments
I think the simplest way to use lightgbm that is just use |
@BinchaoPeng thanks for using LightGBM! The We can take it as a feature request to try to add that support there at some point, and it might get easier in the future with the work done in #3403 and #5252 . It looks like there is someone trying to add integrated GPU support to the |
Thank you very much! |
Sure! I'm going to close this for now, as we keep issues for feature requests closed (and track them in #2302) in this repo until they're being actively worked on. Thanks again for your interest in LightGBM! |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, this was locked accidentally. Just unlocked it. We'd still love help with this feature! |
Is this solved according to the following? |
I think so! I'd like to test it on a system with CUDA when I have time and update LightGBM's documentation. I think the CUDA-based version will automatically be chosen on systems with CUDA available, thanks to the |
Just did it:
And after installation CUDA works 🎉 :
Note the following line from logs: |
Hey great! Ok yes I think we can consider this solved then. For those finding this from search engines and looking for something to copy-paste: conda install -c conda-forge 'lightgbm>=4.4.0' I will put up some docs changes. |
So cool, respect!🥴 |
Summary
I use
conda install -c conda-forge lightgbm
to install lightgbm, and I found it may not support gpu device.Motivation
Installing gpu-version lightgbm by
conda
command.Description
when
conda install -c conda-forge lightgbm
, thenLightGBMError: GPU Tree Learner was not enabled in this build. Please recompile with CMake option -DUSE_GPU=1
Therefore, is it possible to get gpu lightgbm with
conda install
?References
[github_使用conda安装](https://github.com/Microsoft/LightGBM/tree/master/python-package#install-from-conda-forge-channel)
The text was updated successfully, but these errors were encountered: