Skip to content

Running linux container from windows host with GPU support #241

Open
@miccio-dk

Description

@miccio-dk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions