'Is there anyway to use tensorflow-gpu with intel(r) hd graphics 520?
I am working on my master's project which uses keras and tensorflow backend .I have intel(r) hd graphics 520 ,So I am not able to use tensorflow-gpu. The cpu version is working fine .Is there any way to use tensorflow-gpu with the intel(r) hd graphics 520?
Solution 1:[1]
Tensorflow GPU support needs Nvidia Cuda and CuDNN packages installed. For GPU accelerated training you will need a dedicated GPU. Intel onboard graphics can't be used for that purpose.
You can see full requirements for tensorflow-gpu here
Solution 2:[2]
I saw this page just now (published on Sep 2020). Accordingly, it is possible to run Tensorflow on DirectX 12 compatible GPUs using DirectML library. It is called TensorFlow-DirectML.
TensorFlow is an end-to-end open source platform for machine learning. This repository is a fork of tensorflow that leverages DirectML to provide cross-vendor hardware acceleration on Windows 10 and the Windows Subsystem for Linux (WSL). TensorFlow with DirectML enables training and inference of complex machine learning models on a wide range of DirectX 12-compatible hardware.
There are some other discussion about OpenCL here.
Solution 3:[3]
If you use Anaconda you can do the following:
- Create new Environment and name it TF-GPU for example and select python version 3.7.
- Open Anaconda CMD and write this command: pip install tensorflow-directml. It is working fine for my AMD Radeon and Intel Iris GPUs
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Community |
| Solution 2 | Mehdi |
| Solution 3 | Eslam Youssef |
