-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Issue]: R-Package does not recognise the GPU #4
Comments
@therealjpetereit sorry I just noticed this issue. The reason is Python uses the compiled library, which R is configured to recompile XGBoost. The configuration is to compile pure CPU code. |
@hliuca thanks for the reply. I assume that R does not always recompile in pure CPU mode, or there would be no GPU build documentation for NVDIA I wouldn't think it's hard if I would know anything about compiling or building things from source on top of what I can get done with AI support =) What are your thoughts on it ? |
Hi @therealjpetereit, thanks for the info. Let me try, and I will let you know. |
Hi @therealjpetereit I used version v2.1.3-rocm (please check branches), and I could compile and install xgboost-r. Let me post the steps. |
1). mkdir build; cd build Please make sure you install latest R. https://cran.r-project.org/bin/linux/ubuntu/fullREADME.html |
did you try this
I got this when I did my last install
I'll try with your versions later today. Cheers |
That's great. Thanks |
Excellent, that worked like a charm. I had to get the submodules
and then it worked like a charm. @hliuca Thanks heaps!!! |
Problem Description
Hi,
I am trying to run the XGBoost R-package on our local HPC cluster in Western Australia.
The GPU nodes use AMD Instinct MI250X.
I leant my build on this blogpost
https://rocm.blogs.amd.com/artificial-intelligence/xgboost-multi-gpu/README.html
Firstly, downloaded the ROCm version of XGBoost
Then build this with the ROCm module we have
this builds without errors.
I can then install the python package
I run this test script
using
and I get the appropriate GPU usage
This is all well and good, but I want to run this on R so I can leverage tidymodels.
So I install the R package
this also installs without any errors, but when I want to run this as test
Considering it runs excellent on python, I assume that there is maybe a binding missing in R package ?
I might be doing something wrong or have messed up somewhere either, but I definitely need help =)
Cheers
Jakob
Operating System
SUSE Linux Enterprise Server 15 SP5 (SLES 15.5)
CPU
AMD EPYC 7A53 64-Core Processor
GPU
AMD Instinct MI250X
ROCm Version
ROCm 5.7.1
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
Additional Information
No response
The text was updated successfully, but these errors were encountered: