-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Binary distribution of executables or LightGBM exectuable of latest stable binaries release #544
Comments
I was thinking the same issue last weekend when I saw the release binary version of xgboost on http://www.picnet.com.au/blogs/guido/post/2016/09/22/xgboost-windows-x64-binaries-for-download/. |
We can use Travis and AppVeyor to output file artifacts so every Pull Request has a binary for Windows & Linux, OpenCL and no OpenCL (but those would be locked to Intel/AMD). Travis: https://stackoverflow.com/questions/12343452/how-to-publish-artifacts-in-travis-ci/33109519#33109519 AppVeyor: https://www.appveyor.com/docs/packaging-artifacts/ But we need people to contribute to make this possible. We also need to get AppVeyor setup in the case of Windows. Otherwise, if someone might volunteer to have servers (with all configurations) compiling binaries and host the files, at the risk of users (malware, etc.) that would be great. welcome to contribute @tobigithub if you are able to. As for the steps required to compile xgboost / LightGBM from scratch, they are not that large and are actually easy enough to perform both on Linux and Windows. There are existing repositories with over 1,000 dependencies.
LightGBM does not have many/endless dependencies. Also, for maximum performance and tuning to your CPU/GPU, it is recommended to compile by yourself the tools. If squeezing 3% training time on one month is about 1 day worth of savings, then it is better to compile than using premade binaries. Note that for GPU:
Check the GPU targeting here: https://github.com/Microsoft/LightGBM/blob/master/docs/GPU-Targets.md |
@Laurae2, Also consider, that there is no containerized CUDA version for Windows, they will not run in VMs, plus local MPI versions and MinGW, boost and other dependencies create a lot of trouble to maintain with 10 different dependencies and environmental settings that are unrelated to lightGBM. So, sure I would be able to compile lightGBM, but then everything else brakes. If you look at the installation instructions here https://github.com/Microsoft/LightGBM/blob/master/docs/GPU-Windows.md I consider the lightGBM CUDA and OpenCL setup very complicated, not only getting all the CUDA and OPENCL dependencies, but VS2013, the DDLs, boost, mingw, endless environmental variables etc. Why not share the bred crumbs of the compiled EXE? That would be really nice, maybe not like in a production environment, but still helpful. |
you can get the binaries from the github release now: https://github.com/Microsoft/LightGBM/releases The gpu version is still unavailable, due to these CI cannot support CUDA. BTW, here is a simple version for installing GPU version in windows: https://github.com/Microsoft/LightGBM/wiki/Installation-Guide#windows-2 . |
please gpu support |
Ping @StrikerRUS and @huanzhang12 |
As @huanzhang12 mentioned here, we can build CUDA version at Travis side but cannot test it. @Laurae2's answer is still actual, except this phrase about publishing CI artifacts:
Done. |
@StrikerRUS BTW, current python package is uploaded by me manually, can we change it to auto publish when push a new tag ? |
@guolinke Are you talking about PyPI? It's possible in theory, but I'm not sure about the possibility of "iterative" uploading. I mean, we should upload from both sources: Travis and Appveyor corresponding platform versions. |
@StrikerRUS I think pypi supports that |
@StrikerRUS BTW, I want to move the CI to vsts-ci, which support Linux, OSX and Windows, and more parallel jobs. |
I haven't registered there yet. Should I?
Sounds promising. Unfortunately, I've never heard about this service. Will read about it and try to help you. |
@StrikerRUS |
@guolinke Ah, OK. |
@StrikerRUS |
@StrikerRUS
any idea about how to fix it ? |
Wow, just one radio button, great!
Actually, this error is presented at Travis too, see, for example, This error means that CI instance cannot open file with rendered Graphviz graph ( |
@huanzhang12 The docker file of running agent is https://github.com/Microsoft/vsts-agent-docker/blob/master/ubuntu/16.04/standard/Dockerfile |
@StrikerRUS can we ignore that exception at python code ? |
@guolinke We can not open rendered graph, but it's an example, so it should be demonstrative... We can change the file format. Can it help? GPU error log says that these two paths should be set properly:
UPD: |
@guolinke Oh, wait! What about
|
@StrikerRUS @huanzhang12
|
@StrikerRUS
related command: https://github.com/Microsoft/LightGBM/blob/vsts/.vsts-ci/test.sh#L73 |
@guolinke |
@StrikerRUS Thank you so much ! |
Seems there are some problems with URLs with anchors. I think the reason is in different version of LinkChecker: VSTS:
Travis:
|
@guolinke Can you please comment this line and see whether problem persists? |
@guolinke My fix for GPU build was pushed into the |
Executive summary: a repository of monthly stable binary LightGBM executables would be useful.
I am able to compile LightGBM under WIN and LINUX, but the increasing complexity
with CUDA and OpenCL dependencies and drivers (GPU graphic card accelerators)
really irks me. https://github.com/Microsoft/LightGBM/wiki/Installation-Guide
I am wondering if there is way to share stable working binaries with SHA-256 hashes for CPU, GPU and MPI.
Most of the Microsoft code is shared as binaries, why push people back into bananaware times
(https://en.wikipedia.org/wiki/Perpetual_beta) and forcing them to compile their own code.
I understand that there will be code changes and improvements with every release, I just don't see
the point of forcing people to compile endless dependencies. Plus providing executables may improve the user base and number of contributors.
There is an Azure VM for deep learning on Ubuntu and CentOS and Windows
https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-data-science-dsvm-ubuntu-intro but no download for standalone and direct use on a local machine for lightGBM.
The text was updated successfully, but these errors were encountered: