You can know where the cache is by this command:

python -c "import theano; print(theano.config.compiledir)"

Then delete that directory manually.

Fred

On Mon, Oct 31, 2016 at 9:23 PM, Rik <[email protected]> wrote:

> All:
>
> I get the following error: when I run the code under "testing theano with
> gpu" (http://deeplearning.net/software/theano/tutorial/
> using_gpu.html#testing-theano-with-gpu). I'm not sure how to proceed. I
> am trying to get the theano to run on my GPU. I'd really appreciate some
> help. Thanks.
>  -Rik
>
> python gpu_test.py
> Traceback (most recent call last):
>   File "gpu_test.py", line 12, in <module>
>     f = function([], sandbox.cuda.basic_ops.gpu_from_host(T.exp(x)))
>   File "/home/rik/anaconda3/lib/python3.5/site-packages/
> theano/compile/function.py", line 320, in function
>     output_keys=output_keys)
>   File "/home/rik/anaconda3/lib/python3.5/site-packages/
> theano/compile/pfunc.py", line 479, in pfunc
>     output_keys=output_keys)
>   File "/home/rik/anaconda3/lib/python3.5/site-packages/
> theano/compile/function_module.py", line 1777, in orig_function
>     defaults)
>   File "/home/rik/anaconda3/lib/python3.5/site-packages/
> theano/compile/function_module.py", line 1641, in create
>     input_storage=input_storage_lists, storage_map=storage_map)
>   File "/home/rik/anaconda3/lib/python3.5/site-packages/
> theano/gof/link.py", line 690, in make_thunk
>     storage_map=storage_map)[:3]
>   File "/home/rik/anaconda3/lib/python3.5/site-packages/theano/gof/vm.py",
> line 1003, in make_all
>     no_recycling))
>   File "/home/rik/anaconda3/lib/python3.5/site-packages/
> theano/sandbox/cuda/__init__.py", line 254, in make_thunk
>     enable_cuda=False)
>   File "/home/rik/anaconda3/lib/python3.5/site-packages/
> theano/sandbox/cuda/__init__.py", line 552, in use
>     "Delete your Theano cache. The automatic"
> Exception: ('The following error happened while compiling the node',
> GpuFromHost(Elemwise{exp,no_inplace}.0), '\n', 'Delete your Theano cache.
> The automatic recompilation did not work.')
>
>
>
> --
>
> ---
> 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.
>

-- 

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