-
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
LightGBM-gpu doesn't work on win10 even if I have figured and compiled right in CMake and no errors when specifying GPU parameters. #2221
Comments
AMD APP SDK cannot be used with NVIDIA graphic card https://lightgbm.readthedocs.io/en/latest/GPU-Targets.html. BTW, passing I think you can force compilation for your NVIDIA card by passing |
@BovenPeng From your logs:
It proves my previous guess. You wrote that you successfully compiled GPU version with CMake-GUI:
In this case you should switch to Also, I'm pretty sure that you need to play around with these two params: If problem will still persist, try to reinstall again your NVIDIA driver and maybe disable integrated graphic in the BIOS. |
Now I have switched to
I will try to reboot my PC and reinstall CUDA again to see if it is solved. |
What an amazing thing is that after rebooting my PC seems that everything is fine...
It seems that the problem is sovled. |
I'm glad that your problem has been solved! 🎉
Unfortunately, it's impossible now. We have an issue for this: #1493. Please stay tuned! |
Thanks for your help! |
Environment info
Operating System: Windows10
CPU: AMD Ryzen 7 1800X
GPU: Nvidia 1080Ti
Python version: Python 3.5.6 |Anaconda 4.2.0 (64-bit)| (default, Aug 26 2018, 16:05:27) [MSC v.1900 64 bit (AMD64)] on win32
LightGBM version: LightGBM 2.2.4
CMake version: 3.13.3
Boost version: boost_1_64_0
Error message
It doesn't use GPU computing in higgs.csv example that I write even if I have configured and generated it right on CMake and there are no error messages when specifying GPU relevant parameters and running the program.
AND I have checked task manager during the whole procedure, but the GPU cost is lower than 1%.
Reproducible examples
I follow the guide and I use the Visual Studio 15 2017 win64 to compile it and here is the picture:
Here is the code I ran:
output:
Here is a screenshot of the task monitor, which shows it only uses the CPU computing, not GPU:
And I have tried to recompile it in CMake and reinstall CUDA 9.0 and add cuDNN 7.4.2 relevant files into the CUDA path.
Also tried to uninstall and reinstall LightGBM which is GPU version that I have complied well in CMake by typing `python setup.py install --gpu --precompile` on the path, ''C:\Users\pbw\LightGBM\python-package", after generating the release folder by CMake.
I guess I have tried all the way I can find and it all doesn't work.
SO I am wondering if there is any possible mistake I have made but not fix.
The text was updated successfully, but these errors were encountered: