-
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
[Question] LightGBM GPU version for setuptools #4653
Comments
@bingoko Hi! Could you please provide more details? Are you writing your own package and would like to include LightGBM GPU version as a requirement for that package? |
Yes, this is what exactly I want to do.
|
Looks like it is indeed impossible to use additional options for dependencies directly in the
in the https://pip.pypa.io/en/stable/cli/pip_install/#per-requirement-overrides |
Also, here is a hacky workaround: https://stackoverflow.com/a/37283903. |
Thanks. Is it possible to compile GPU/CUDA version of LightGBM by using an integerated name? I.e., LightGBM-CUDA which make the thing easier.
|
We thought about preparing a separate PyPI project with LightGBM GPU version: #2263. But then @tpboudreau and @itamarst made awesome contribution that allowed ordinary Windows wheels to be used for training on GPU (#3144). For non-Windows wheels GPU training is not implemented yet though. |
I'm going to close this issue as the original feature request should be redirected to the If you have any further suggestions for |
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. |
Hi,
I would like to include "lightgbm --install-options=--gpu" in the install_requires in setup.py for building wheel.
However, install_requires argument doesn't allow --install-option.
Any solution to that?
The text was updated successfully, but these errors were encountered: