-
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
[GPU] [R-package] Installing a GPU-enabled Build in R --- amd gpu. #6786
Comments
Thanks for using LightGBM. Let's try to narrow this further... are you able to build cmake -B build -S .
cmake --build build --target _lightgbm If yes, then we'll know the issue is specific to the R package. Either way, could you share the logs from running those commands? |
This is the output after using
|
When I try to write a path
this is the output
|
I also tried
Now,
|
It looks to me that boost package for compute in Arch is broken until 1.87 is released. (I'm the |
Can you provide specific details about this? Maybe those things you're referring to would be useful references for LightGBM to follow, but difficult to say without specific examples.
This is a known issue, tracked in #5960. If you have time and interest, we'd welcome a contribution to fix it... for both Unix-like operating systems and Windows.
LightGBM doesn't currently support boost versions that new. We'd welcome help with that if either of you are interested:
So depending on what "broken" means, I guess you won't be able to build the OpenCL-based GPU variant of the It would also be helpful if you could share links to relevant discussions / bug reports we could follow, to better understand what "broken" means.
@sofiageo thanks for commenting! What is "it" in this statement? Some variant of LightGBM (the R package? just the shared library?) or something else? If it's LightGBM, we'd welcome some help to improve this if you have time and interest. One other thing to note... in LightGBM's own CI, we are still using PoCL 1.8, which at this point is over 4 years old (#5596). |
I tried to say that I can use my gpu for "running models". For example, in Stan. See this example (https://mc-stan.org/cmdstanr/articles/articles-online-only/opencl.html). Here we can select a platform and a device via argument A list of available platforms and devices is shown with command In case of LGBM, using the gpu is easy when using nvidia. But i still can't make it work with an amd gpu. |
I'm using Archlinux and I'm trying to use the following command lines to install lightgbm in R.
I already installed
opencl-amd
from AUR.Then I get the following error message
They output of
clinfo --list
is:I'm wodering whether there is a way to indicate the gpu platform and device to this
Rscript build_r.R
and try to build LGBM. Or what's the correct way to build LGBM in R with gpu support when using an AMD gpu.On other applications I can indicate what gpu platform and device I want to use. Thus I can confirm the the GPU is working.
The text was updated successfully, but these errors were encountered: