I use command like below to re-install gpu version of lightgbm in colab pro+:
! cd LightGBM && rm -rf build && mkdir build && cd build && cmake -DUSE_GPU=1 ../../LightGBM && make -j8 && cd ../python-package && python3 setup.py install --precompile --gpu;
and when i use gpu to train, they give me error message: LightGBMError: No OpenCL device found
and I also tried this:
cmake -DUSE_GPU=1 -DOpenCL_LIBRARY=/usr/local/cuda/targets/x86_64-linux/lib/libOpenCL.so -DOpenCL_INCLUDE_DIR=/usr/local/cuda/include/ ../../LightGBM && make -j8 && cd ../python-package && python3 setup.py install --precompile --gpu;
the lib also give me the same error massage: LightGBMError: No OpenCL device found
How can I solve this problem? Thank you!