Theano test() also includes tests for GPU, which will fail on your Mac with
an AMD gpu. This might not indicate there's a problem in your theano
installation.
Try to run some NN code and see if it runs smoothly.
On Monday, 21 November 2016 15:16:45 UTC-5, Qizhe Xie wrote:
>
> Hi, I installed theano on OS X and theano.test gives the following errors.
>
> >>> import theano
> >>> theano.test()
> Theano version 0.8.2
> theano is installed in /usr/local/lib/python2.7/site-packages/theano
> NumPy version 1.11.2
> NumPy relaxed strides checking option: False
> NumPy is installed in /usr/local/lib/python2.7/site-packages/numpy
> Python version 2.7.12 (default, Oct 11 2016, 05:20:59) [GCC 4.2.1
> Compatible Apple LLVM 8.0.0 (clang-800.0.38)]
> nose version 1.3.7
> /usr/local/lib/python2.7/site-packages/theano/misc/pycuda_init.py:34:
> UserWarning: PyCUDA import failed in theano.misc.pycuda_init
> warnings.warn("PyCUDA import failed in theano.misc.pycuda_init")
> EE.[1] 3990 illegal hardware instruction python
>
> I google it and some people suggested installing python using homebrew but
> it doesn't work.
>
> The problem should not be related to AMD GPU because I set the device to
> cpu in ~/.theanorc. Does anyone know how to solve it?
>
> Thanks!
>
> Qizhe
>
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.