-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gpu] [python] LightGBMError: No OpenCL device found #4497
Comments
I also have this type of error. I tried to follow these guidelines: https://docs.docker.com/docker-for-windows/wsl/ I think my issue is related to drivers, either with windows pass-trough (e.g. https://stackoverflow.com/questions/49589229/is-gpu-pass-through-possible-with-docker-for-windows). When I try to run:
I receive this error:
Can you clarify what kind of steps I should follow to use docker LightGBM + GPU on my windows 10 Pro? |
@aidiss @valentasgruzauskas Are you both using WSL? |
@StrikerRUS no, I am on linux |
I was encountering the same issue as you and was looking at these same solutions. But it turns out that for me |
I have the same issue, I'm using WSL. |
I haven't tried running sample code since my last comment except just now, but running it now in the latest commit it doesn't give this error anymore. Haven't checked why/how though! |
It was working good for few months. |
@aidiss Thanks for using LightGBM. So now even with |
This issue has been automatically closed because it has been awaiting a response for too long. When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened. If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one. Thank you for taking the time to improve LightGBM! |
This issue has been automatically locked since there has not been any recent activity since it was closed. |
Description
Reproducible example
Connect to localhost:8888 jupyter notebook
Results in
Environment info
LightGBM version or commit hash: Docker version
Command(s) you used to install LightGBM
Run everything according to https://github.com/microsoft/LightGBM/tree/master/docker/gpu
Full traceback
Additional Comments
I have seen similar issues that are closed as resolved. As I understand the solution was to add
mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd
. But this now is included into the Dockerfile.The text was updated successfully, but these errors were encountered: