Thanks! I think you are right. But when I run
normal NN code
, it gives error 3843 Illegal instruction: 4.

I found the issue https://github.com/Theano/Theano/issues/4320 and the
solution is to instal
l t
​
heano 0.9.0dev.

So the steps are
1. uninstall current theano
2. pip install  git+https://github.com/Theano/Theano.git#egg=Theano

On Mon, Nov 21, 2016 at 10:56 PM, Pengcheng Yin <[email protected]> wrote:

> 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 a topic in the
> Google Groups "theano-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/theano-users/zzSiSN1CcB8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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.

Reply via email to