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 documentation is not clear #4467

Closed
cookielee77 opened this issue Jul 13, 2021 · 7 comments
Closed

GPU documentation is not clear #4467

cookielee77 opened this issue Jul 13, 2021 · 7 comments
Labels

Comments

@cookielee77
Copy link

Looks like "device=gpu" only supports single gpu training but "device=cuda" can support multi-gpus training. In addition, "cuda" looks like only support double-precision which is memory consuming.

Is it possible to update the documentation for GPU argument more clearer (it took me a lot of time to find these secrets)? Also, is there a plan to support the single-prevision calculation with CUDA version in the near future? Double-precision is super memory-costly.

Thanks!

@StrikerRUS
Copy link
Collaborator

@cookielee77 Thanks a lot for bringing this up!

Is it possible to update the documentation for GPU argument more clearer (it took me a lot of time to find these secrets)?

Sure! Could you please suggest how these wordings can be improved to be clearer?
https://lightgbm.readthedocs.io/en/latest/Parameters.html#num_gpu
https://lightgbm.readthedocs.io/en/latest/Parameters.html#gpu_use_dp

Also, is there a plan to support the single-prevision calculation with CUDA version in the near future?

You can subscribe to the following GitHub issue to get all news about single-prevision mode with CUDA version.

#3836.

For now, no one have taken this feature request, unfortunately.

@shiyu1994
Copy link
Collaborator

@cookielee77 Yes, we have a plan to support single-precision calculation with CUDA in the very near future.

@BinchaoPeng
Copy link

BinchaoPeng commented Sep 2, 2021

hi,I would like to realize the difference between gpu version and cuda version, do you know where the doc is? @cookielee77 @jameslamb @StrikerRUS @shiyu1994 @cbecker

@StrikerRUS
Copy link
Collaborator

@BinchaoPeng Hi!
Sure, here it is: https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#build-cuda-version-experimental.

CUDA version is a re-written in CUDA language GPU version for systems where OpenCL is not available.

@BinchaoPeng
Copy link

@BinchaoPeng Hi!
Sure, here it is: https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#build-cuda-version-experimental.

CUDA version is a re-written in CUDA language GPU version for systems where OpenCL is not available.

okay,thank you!

@no-response
Copy link

no-response bot commented Sep 13, 2021

This issue has been automatically closed because it has been awaiting a response for too long. When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened. If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one. Thank you for taking the time to improve LightGBM!

@no-response no-response bot closed this as completed Sep 13, 2021
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants