Skip to content

Commit 1c608f6

Browse files
committed
Install lightgbm gpu version
1 parent f6bce85 commit 1c608f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gpu-flavor/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ RUN \
165165
pip install --upgrade jax jaxlib==0.1.57+cuda101 -f https://storage.googleapis.com/jax-releases/jax_releases.html && \
166166
# Install pygpu - Required for theano: http://deeplearning.net/software/libgpuarray/
167167
conda install -y pygpu && \
168+
# Install lightgbm
169+
pip uninstall -y lightgbm && \
170+
pip install lightgbm --install-option=--gpu --install-option="--opencl-include-dir=/usr/local/cuda/include/" --install-option="--opencl-library=/usr/local/cuda/lib64/libOpenCL.so" && \
168171
# nvidia python ml lib
169172
pip install --upgrade --force-reinstall nvidia-ml-py3 && \
170173
# SpeedTorch: https://github.com/Santosh-Gupta/SpeedTorch

0 commit comments

Comments
 (0)