openvinotoolkit / openvino

OpenVINO™ is an open-source toolkit for optimizing and deploying AI inference
https://docs.openvino.ai
Apache License 2.0
6.86k stars 2.19k forks source link

How can I specify GPU? #410

Closed qimoto closed 4 years ago

qimoto commented 4 years ago

I have NVIDIA's GPU on my computer, when I use openvino with command -d GPU, I got the error: No OpenCL device found which would match provided configuration: GeForce GTX 560 Ti: invalid vendor type

so how can I specify the intel's integrated graphics as my GPU, not nvidia's。。。

brmarkus commented 4 years ago

Not sure I understand you. Do you have one GPU only (NVIDIA) or multiple GPUs (besides one from NVIDIA you have one from Intel as well)?

Can you run the OpenVINO sample hello_query_device and check which devices it detects (CPU, GPUs, VPUs, FPGAs, HDDLs), please?

Can you provide details about your SOC (e.g. lscpu, cat /proc/cpuinfo), please? It has an integraded GPU?

With the output of "hello_query_device" you will be able to fully specify a device e.g. via the multi-plugin approach.

avitial commented 4 years ago

Hi @qimoto, A couple of things I can suggest in "avoiding" discrete graphics card and use integrated graphics (if your processor has Intel® Processor Graphics):

  1. Make sure you have Internal/Integrated Graphics enabled in the BIOS. Once BIOS menu, the setting should be under Chipset > Internal Graphics > [Enabled] or similar.
  2. Follow required steps to enable the toolkit components to use the processor graphics (GPU ). Find the steps for Linux here.

After performing these steps you should be able to run the OpenVINO* demo scripts just fine using the GPU plugin. You shouldn't have to remove the discrete graphics, both discrete and integrated graphics should run. I hope this works, let me know if it does not.

If running on Windows instead of step no. 2 follow these steps. You may have to update my graphics driver with Device Manager > Display adapters > Intel(R) HD Graphics > Search automatically for updated driver software.

Best Regards, Luis

vladimir-paramuzov commented 4 years ago

@qimoto Is your issue resolved by the comments above?

AnastasiaKazantaeva commented 4 years ago

It seems that the issues is not actual anymore. Closing it. Feel free to reopen it or create a new one,

deepwilson commented 2 years ago

@AnastasiaKazantaeva Please could you elaborate on how you resolved it? It will help others as well.

Thanks!

bharath5673 commented 2 years ago

@AnastasiaKazantaeva Please could you elaborate on how you resolved it? It will help others as well.

Thanks!

@AnastasiaKazantaeva Please could you elaborate on how you resolved it? It will help others as well.

Thanks!

@qimoto Is your issue resolved by the comments above?

Hi @qimoto, A couple of things I can suggest in "avoiding" discrete graphics card and use integrated graphics (if your processor has Intel® Processor Graphics):

  1. Make sure you have Internal/Integrated Graphics enabled in the BIOS. Once BIOS menu, the setting should be under Chipset > Internal Graphics > [Enabled] or similar.
  2. Follow required steps to enable the toolkit components to use the processor graphics (GPU ). Find the steps for Linux here.

After performing these steps you should be able to run the OpenVINO* demo scripts just fine using the GPU plugin. You shouldn't have to remove the discrete graphics, both discrete and integrated graphics should run. I hope this works, let me know if it does not.

If running on Windows instead of step no. 2 follow these steps. You may have to update my graphics driver with Device Manager > Display adapters > Intel(R) HD Graphics > Search automatically for updated driver software.

Best Regards, Luis

I have NVIDIA's GPU on my computer, when I use openvino with command -d GPU, I got the error: No OpenCL device found which would match provided configuration: GeForce GTX 560 Ti: invalid vendor type

so how can I specify the intel's integrated graphics as my GPU, not nvidia's。。。

This repo may help u... https://github.com/bharath5673/OpenVINO