Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS authored Jan 19, 2025
1 parent a16d53b commit aa29135
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions python-package/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,7 @@ For **macOS** users, the GPU version is not supported.

.. code:: sh
pip install lightgbm --no-binary lightgbm \
--config-settings=cmake.define.USE_GPU=ON \
--config-settings=cmake.define.OpenCL_INCLUDE_DIR="/usr/local/cuda/include/" \
--config-settings=cmake.define.OpenCL_LIBRARY="/usr/local/cuda/lib64/libOpenCL.so"
pip install lightgbm --no-binary lightgbm --config-settings=cmake.define.USE_GPU=ON --config-settings=cmake.define.OpenCL_INCLUDE_DIR="/usr/local/cuda/include/" --config-settings=cmake.define.OpenCL_LIBRARY="/usr/local/cuda/lib64/libOpenCL.so"
All available options that can be passed via ``cmake.define.{option}``.

Expand Down Expand Up @@ -243,7 +240,7 @@ Build in Debug Mode

.. code:: sh
pip install lightgbm --no-binary lightgbm --config-settings=cmake.define.USE_DEBUG=ON
pip install lightgbm --no-binary lightgbm --config-settings=cmake.define.USE_DEBUG=ON --config-settings=cmake.build-type=Debug
Use this mode to make LightGBM perform more checks internally and disable all compiler optimizations.

Expand Down

0 comments on commit aa29135

Please sign in to comment.