Skip to content
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 Support #27

Closed
eladmw opened this issue Feb 11, 2021 · 4 comments
Closed

GPU Support #27

eladmw opened this issue Feb 11, 2021 · 4 comments
Labels
feature request New feature or request

Comments

@eladmw
Copy link

eladmw commented Feb 11, 2021

Considering the number of aggregations from each model in each layer, it would be nice to train the models faster

@xuyxu xuyxu added the feature request New feature or request label Feb 11, 2021
@xuyxu
Copy link
Member

xuyxu commented Feb 11, 2021

Hi @eladmw, thanks for your suggestions.

Do you have any good material on the GPU forest? It would be impossible to implement the GPU version from scratch with our current workforce.

@xuyxu xuyxu mentioned this issue Feb 11, 2021
13 tasks
@eladmw
Copy link
Author

eladmw commented Feb 11, 2021

Looks like there's many references to XGBRegressor/XGBClassifier, which has compatibility with GPUs. I skimmed so correct me if I'm wrong, but I think that you can do XGBRegressor(tree_method='gpu_hist', gpu_id=0), or feed the params into the training interface with a dict setting :
param['gpu_id'] = 0
param['tree_method'] = 'gpu_hist'

With regards to Lightgbm, it is sort of a pain to enable GPUs.

@xuyxu
Copy link
Member

xuyxu commented Feb 12, 2021

Thanks @eladmw!

I think the first step we need to take is to support customized base estimators in the layer (see issue #29). After then, we can make it compatiable with the GPU version of XGB model. Let's keep this issue open for a while ;-)

@xuyxu
Copy link
Member

xuyxu commented May 12, 2021

Closed via #14

@xuyxu xuyxu closed this as completed May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants