Processors
Processors (Intel® Core™, Intel® Xeon®, etc); processor utilities and programs (Intel® Processor Identification Utility, Intel® Extreme Tuning Utility, Intel® Easy Streaming Wizard, etc.)
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
11673 Discussions

How to change from Nvidia GPU to Intel GPU

advanchip
Novice
340 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.

Labels (1)
0 Kudos
2 Replies
Rizal_Intel
Moderator
306 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


Rizal_Intel
Moderator
257 Views

Hi Alice,


Thank you for your question. If you need any additional information from Intel, please submit a new question as Intel is no longer monitoring this thread.


Regards,

Rizal


Reply