osx - Use theano in a macbook pro without NVIDIA card -


i have:

  • macbook pro (retina, 13-inch, mid 2014)
  • os x yosemite
  • intel iris 1536mb

i heard can not use gpu theano cpu do, want know if programming same , internaly theano work cpu or in anothe case gpu. or if when programming have 1 way program each one.

thanks lot

for part theano program runs on cpu run on gpu, no changes code required. there are, however, few things bear in mind.

  • not operations have gpu versions it's possible create computation contains component cannot run on gpu @ all. when run 1 of these computations on gpu silently fall cpu, program run without failing , result correct, computation not running efficiently might , slower because has copy data backwards , forwards between main , gpu memory.

  • how access data can affect gpu performance quite lot has little impact on cpu performance. main memory tends larger gpu memory it's case entire dataset can fit in main memory not in gpu memory. there techniques can used avoid problem need bear in mind gpu limitations in advance.

if stick conventional neural network techniques, , follow patterns used in theano sample/tutorial code, run fine on gpu since primary use-case theano.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -