Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6392 Discussions

How to change from Nvidia GPU to Intel GPU

AdvanChipA
Novice
886 Views

I downloaded some codes from GitHub which used Nvidia GPU and I want to use Intel GPU instead. I am using Python 3 (OpenVINO 2021.1) with Jupyter Notebook in DevCloud and got the followwing error messages:

 File "/usr/local/lib/python3.6/dist-packages/torch/cuda/__init__.py", line 196, in _lazy_init
    _check_driver()
  File "/usr/local/lib/python3.6/dist-packages/torch/cuda/__init__.py", line 101, in _check_driver
    http://www.nvidia.com/Download/index.aspx""")
AssertionError: 
Found no NVIDIA driver on your system. Please check that you
have an NVIDIA GPU and installed a driver from
http://www.nvidia.com/Download/index.aspx

Please let me know how to change the codes to use Intel GPU.  Thanks.

0 Kudos
2 Replies
Rizal_Intel
Moderator
845 Views

Hi Alice,

 

Changing the usage from CUDA to Intel Graphic requires more process than just changing a few lines of code.

You would need to use the Model Optimizer to convert the model to an Intermediate Representation (IR) before you can use the OpenVINO GPU plugin.

You can read more about the concept here.

 

Regards,

Rizal



0 Kudos
Rizal_Intel
Moderator
816 Views

Hi Alice,


it seems this is a duplicate, I will close it as spam.

Please continue on

https://community.intel.com/t5/Processors/How-to-change-from-Nvidia-GPU-to-Intel-GPU/m-p/1229347


Regards,

Rizal


0 Kudos
Reply