-
Notifications
You must be signed in to change notification settings - Fork 744
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
Installed openvino notebook using docker. But check_install.py failed #2013
Comments
I was trying to run notebook hello-npu, but it only shows CPU. Hence im using check_install.py . If i install openvino natively, query device able to get CPU, GPU and NPU. |
You might need to add |
I tried with |
@gooishin Try upgrading your Docker version to the latest version using the command: I assume you already set the Docker to be run as non-root user. Then, run it again. |
@Iffa-Intel , i have updated the docker-ce and reinstall using sudo. But still im only able to see CPU. docker run -it --name test_notebooks -v /etc/group:/etc/group --device=/dev/dri --device=/dev/accel --group-add=$(stat -c "%g" /dev/dri/render* | head -n 1) -p 8888:8888 openvino_notebooks This is notebook hello-npu. Expecting to see CPU, GPU and NPU here. |
@gooishin can you share the CPU SKU/Model you are using? Post the output of |
@gooishin so part of the issue is that the NPU driver needs to be installed on the container itself to be able to utilize the plugin with the OpenVINO Notebooks. So with that in mind you can try to modify the provided Dockerfile and add the NPU driver build and install steps (build instructions here) or you can use one of the pre-built Docker images (i.e. docker pull openvino/ubuntu22_dev:latest), install the NPU driver (build steps here) within the container and install the OpenVINO Notebooks (as described here). I've tried the second option and while running hello_query_device.py the NPU device is detected (identified as 'AI Boost'). Hope this helps! |
Closing this, I hope previous responses were sufficient to help you proceed. Feel free to reopen and provide additional information or ask any questions related to this topic. |
Describe the bug
I get this message after install using docker.
Docker install command: docker build -t openvino_notebooks .
Docker run command:
docker run -it -v /etc/group:/etc/group --device=/dev/dri --group-add=$(stat -c "%g" /dev/dri/render* | head -n 1) --group-add=$(stat -c "%g" /dev/dri/card* | head -n 1) -p 8888:8888 openvino_notebooks
But when i run check_install.py, it shows some error
i'm using docker, how do I create and source the environment?
Expected behavior
check_install.py pass
Screenshots
If applicable, add screenshots to help explain your problem.
Installation instructions (Please mark the checkbox)
[ x ] I followed the installation guide at https://github.com/openvinotoolkit/openvino_notebooks/wiki/Docker
** Environment information **
As stated above
Additional context
Just a feedback, when run docker container, there is no check_install.py script, i copy it manually into jupyter notebook via web browser.
The text was updated successfully, but these errors were encountered: