Giter VIP home page Giter VIP logo

Comments (2)

CWJ666 avatar CWJ666 commented on July 21, 2024 1

Thanks for using LightGBM.

What happens when you install the package as documented in https://github.com/microsoft/LightGBM/blob/master/python-package/README.rst?

sh build-python.sh install --gpu

Also note... building from source like this is only necessary if you want to use a non-released version of LightGBM or customize the build. If using the latest release is sufficient for you, just run the following:

pip install 'lightgbm>=4.4.0'

That package on PyPI already has GPU supported compiled in for Windows. So you'll be able to immediately use the OpenCL-based GPU code with that package (by passing "device": "gpu" in params).

By installing the latest version of Anaconda (which includes LightGBM 4.4.0), I was able to use the GPU. LightGBM is my primary tool for modeling, and I had always been using the 3.x CPU version, thinking that the GPU version needed to be compiled. Thank you very much; this will greatly increase my work efficiency. Thanks again!

from lightgbm.

jameslamb avatar jameslamb commented on July 21, 2024

Thanks for using LightGBM.

What happens when you install the package as documented in https://github.com/microsoft/LightGBM/blob/master/python-package/README.rst?

sh build-python.sh install --gpu

Also note... building from source like this is only necessary if you want to use a non-released version of LightGBM or customize the build. If using the latest release is sufficient for you, just run the following:

pip install 'lightgbm>=4.4.0'

That package on PyPI already has GPU supported compiled in for Windows. So you'll be able to immediately use the OpenCL-based GPU code with that package (by passing "device": "gpu" in params).

from lightgbm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.