-
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
LightGBMError: GPU Tree Learner was not enabled in this build. #2222
Comments
I am using : Win 10, Visual Studio 2015, GTX1060 I follower your link But, still not work, what's going on? |
Firstly, great thanks for your help an I have implemented the gpu version. But it is strange in LGBMClassifier.fit(X, y) -- (X shape = (500, 75), y shape = (500, )), using gpu method is so slow and even not end. Also, the Nvidia gpu did not work at all. But for the XGBClassifier, it runs well (using gpu much faster than using cpu) |
Sorry to bother you again. I noticed that I have made a mistake in setting the parameters (gpu_platform_id = 1, gpu_device_id = 0). Because in my computer there are 2 gpus, e.x., 1) Intel gpu, 2) Nvidia gpu. But, as a result, in my testing experiment, it is really strange that the Lightgbm gpu ( 16.49 s) costs much time than the cpu version (10.66 s). Compared to XGBoost, it really works well, the gpu version (5.10 s) is much better than cpu (15.99 s). |
Glad that you've managed to utilize your NVIDIA GPU! For GPU-version performance, please consider starting reading from this issue #768 and follow some links in it. Then, you may want to get familiar with some benchmarks: Laurae2/ml-perf#8, Laurae2/ml-perf#6, szilard/GBM-perf#11. |
Thanks again for your great help! I'll read these information carefully. |
How to fix it? Any document for this problem?
The text was updated successfully, but these errors were encountered: