I followed the steps provided by this link (install lightgbm GPU in a WSL conda env) to install lightgbm, but encountered a problem.
LightGBMError: No OpenCL device found
I have tried this command mkdir -p /etc/OpenCL/vendors && \ echo "/usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd, But the problem has not been solved
Unfortunately, OpenCL for GPUs does not work in WSL.
However you might be able to get PoCL running on the CPU in WSL.