Theano/Theano — Issue #134: scan module imports sandbox.cuda - hilarities ensue on badly configured OS-X
Author: jaberg
Created: 2011-10-20 20:58:31+00:00
State: open

Can we remove this import? I thought this had been discussed / done before. Reasons to remove it are

1) non-sandbox code should not depend on sandbox code

2) scan should not depend on the GPU being available

In practice, it the combination of Theano + GPU is still often pain to install / configure. One would like to be able to just skip it.

It makes Theano look bad when someone sets device=cpu and force_device=1 to avoid having to do that configuration, only to be greeted by 3500 lines of C code from a failed call to nvcc.