![]() You can install the OpenMP library by the following command: brew install libomp.įor version smaller than 2.2.1 and not smaller than 2.1.2, gcc-8 with OpenMP support must be installed first. Instead of that you need to install the OpenMP library, which is required for running LightGBM on the system with the Apple Clang compiler. This means that you don’t need to install the gcc compiler anymore. ![]() Starting from version 2.2.1, the library file in distribution wheels is built by the Apple Clang (Xcode_8.3.3 for versions 2.2.1 - 2.3.1, Xcode_9.4.1 for versions 2.3.2 - 3.3.2 and Xcode_11.7 from version 4.0.0) compiler. Also, in some rare cases, when you hit OSError: libgomp.so.1: cannot open shared object file: No such file or directory error during importing LightGBM, you need to install OpenMP runtime library separately (use your package manager and search for libomp for doing this).įor macOS (we provide wheels for 3 newest macOS versions) users: Many modern Linux distributions provide packages for PoCL, look for pocl-opencl-icd on Debian-based distributions and pocl on RedHat-based distributions.įor Windows users, VC runtime is needed if Visual Studio (2015 or newer) is not installed.įor Linux users, glibc >= 2.14 is required for LightGBM = 2.28 is required for newer versions. If you would like your AMD or Intel CPU to act like a GPU (for testing and debugging) you can install AMD APP SDK on Windows and PoCL on Linux. For NVIDIA and AMD GPU they are included in the ordinary drivers for your graphics card, so no action is required. To use GPU version you only need to install OpenCL Runtime libraries. ![]() This feature is experimental and available only for Windows and Linux currently. Install from PyPI pip install lightgbmĬompiled library that is included in the wheel file supports both GPU and CPU versions out of the box. ![]() If you have a strong need to install with 32-bit Python, refer to Build 32-bit Version with 32-bit Python section. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |