Closed Laurae2 closed 7 years ago
(ignore this if subscribed)
random stuff (pictures for PR)
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.
issue used for adding pictures for GPU installation on Windows
Changing PATH:
MinGW install:
Checking whether we are using R's MinGW or stand-alone MinGW (we are using R here):
What you get at the end of Boost installation (this was for MinGW 5.3, while Rtools is not 5.3 currently):
This is what happens when we link to Rtools's MinGW:
Here, downloading Git for Windows:
Here, cmake download:
Here I use cmake on C:/xgboost/LightGBM:
Scroll down, and check
USE_GPU
:In Git Bash, we can run make and we clearly see it compiled successfully with GPU!:
Some hack to do on CLI/Python GPU to avoid segmentation fault:
Alternative hack:
When we run it with CLI with GPU support:
We can even compile for Python without any issue:
In Python and Windows, we cannot see the GPU so you have to rely on the delay between the issued command and the real training:
Getting Makeconf in R:
Makevars looks like that:
Installation in R working peacefully:
Now we can try with GPU support in R:
Laurae's LightGBM package:
Debugging:
remove this:
add debug in cmake:
compile with debug:
run: