-
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
[python] Removed unneed exception #1864
Conversation
Linking #1129. |
I think that the compromise solution will be to create a new
This flag will guarantee
Leaving this for a decision of other maintainers. |
How are they untested? CI can be used to test them.
Why not? What's wrong with installing them versions from wheels?
I guess a warning and a token in version for a prebuilt wheel is enough. |
We won't waste CI time for this.
All wheels contain the shared library file compiled in and for 64-bit environment.
As it has been already mentioned in #1129,
So, we won't provide wheels for 32-bit environment. In general, I agree that allowing to use LightGBM for any special and rare cases on 32-bit machines is OK, but it's out of the project's scope to provide any other support for 32-bit. |
ping @guolinke @chivee @henry0312 @Laurae2 in this thread |
32-bit LightGBM installation in Python should raise at least a warning (ideally: prevent installation, and add in documentation the workaround). In R, we are prohibiting the 32-bit installation (32-bit R is only existing for compatibility reasons, especially in Windows). As pointed by @StrikerRUS , 32-bit LightGBM is not a supported setup. However, 32-bit setups might be useful for making proof of concepts such as for IoT devices on ARM 32-bit. Compiling LightGBM binaries work for 32-bit ARM (tested on raspberry pi). In that case, the user already know about the compatibility issues between 32-bit and 64-bit OSes. |
ping @guolinke @chivee @henry0312 @jameslamb for your opinions. |
I agree with @Laurae2 . In my opinion, it should be possible to run in 32-bit Python with a workaround but that should take sufficient effort that a user doing it understands they are doing something unsupported. |
if the 32-bit python can call the compiled 64-bit LightGBM dynamic library, I think we can raise a warning, instead of an exception. |
@guolinke I guess, the main point of this PR was to allow using of (precompiled) 32-bit LightGBM library, as pointed by @Laurae2 #1864 (comment) and in this issue #1129. |
@StrikerRUS okay, I think we can have a document about the compilation of 32-bit version. |
For the record
It can't.
Log: https://ci.appveyor.com/project/guolinke/lightgbm/builds/24739289/job/cck9hh9ni82k802a. |
No description provided.