openvinotoolkit / openvinotoolkit/docker_ci
Running linux container from windows host with GPU support
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 70
- Forks
- 65
- Avg merge
- 16h 59m
- Merged PRs (30d)
- 3
Description
I would like to run a Linux-based container image (currently tried openvino_cgvh_data_dev_2021.4.2) from a Windows host and would like to run inference on GPU.
I tried passing --device /dev/dri which resulted in:
docker: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory.
I also tried passing --gpus=all which allowed me to run the container, but as soon as I tried one of the demos with -d GPU I got the following:
###################################################
Run Inference Engine classification sample
Run ./classification_sample_async -d GPU -i /opt/intel/openvino/deployment_tools/demo/car.png -m /root/openvino_models/ir/public/squeezenet1.1/FP16/squeezenet1.1.xml
...
[ INFO ] Device info:
[ ERROR ] Failed to create plugin /opt/intel/openvino/deployment_tools/inference_engine/lib/intel64/libclDNNPlugin.so for device GPU
Please, check your environment
[CLDNN ERROR]. clGetPlatformIDs error -1001
Error on or near line 217; exiting with status 1
Is it possible to map the GPU from windows (host) to linux (container)?
Thanks in advance.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported commands with the openvino_cgvh_data_dev_2021.4.2 image on a Windows host, comparing the /dev/dri and --gpus=all failures. Check the Docker and OpenVINO GPU setup involved; done means establishing a supported configuration or clearly documenting that this host/container combination cannot provide GPU inference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, linux
- Domain
- devops, infrastructure, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100