Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
68 Views

How to change from Nvidia GPU to Intel GPU

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.

Tags (2)
0 Kudos
1 Reply
Highlighted
Moderator
27 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