19
$\begingroup$

I am a newbie in deep learning.

Is there any way now to use TensorFlow with Intel GPUs? If yes, please point me in the right direction.

If not, please let me know which framework, if any, (Keras, Theano, etc) can I use for my Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller.

$\endgroup$
12
$\begingroup$

At this moment, the answer is no. Tensorflow uses CUDA which means only NVIDIA GPUs are supported.

For OpenCL support, you can track the progress here.

BTW, Intel/AMD CPUs are supported.

$\endgroup$
  • 1
    $\begingroup$ ...and adding to that ( " Intel/AMD CPUs are supported" ) note that when ones tensorflow, it prints out some messages to the console saying that the build may not have been compiled with support for additional optimizations provided by your CPU, and if you build it on your host, you will likely see performance improvements, even on CPU. $\endgroup$ – michael Jan 3 '18 at 4:43
10
$\begingroup$

You might want to check out https://github.com/benoitsteiner/tensorflow-opencl/ which is a fork of Tensorflow with OpenCL support. If your OS is supported by the fork and you are able to properly install it in your system then you can run Keras on top of it.

Note however that integrated GPUs in general do not offer a lot of calculating power, roughly your GPU will be around 125 GFLOPS (https://en.wikipedia.org/wiki/List_of_Intel_graphics_processing_units#Notes), that is your CPU is most likely more powerful. For example, comparing your GPU with a Radeon RX 480 or a GeForce GTX 1080 Ti, they are respectively almost 50 and 100 times more powerful.

$\endgroup$
  • 1
    $\begingroup$ Welcome to data science SE! Thanks for helping a user. Could you expand your answer how it answers the OP's question? Just posting a link is not very useful. $\endgroup$ – Stereo Mar 20 '17 at 11:05
2
$\begingroup$

Keras is an abstraction layer for tensorflow/ theano. You need a nvidia card but tensorflow as well as theano can be used with CPU support only. Instructions can be found on their websites.

$\endgroup$
2
$\begingroup$

There is a document about Intel Optimization for TensorFlow. You can find it here.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.