Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
This is an extension of the existing python package
Theano-0.8.1
to add a functionality of running the code on an NVIDIA GPU. The minor upgrade to version 0.8.2 is required to provide compatibility withlibgpuarray--9998.0
. Thelibgpuarray
package has a dependency onclblas
which requires OpenCL 1.2. For this reason one needs to usecudatoolkit-7.5
in place ofcudatoolkit-7.0
.The package builds fine with
python-3.5
, but many unit tests on GPU encounter aCannot allocate memory problem
error. The tests if one installs the package aspython34Pacakges.Theano-cuda
pass successfully:nix-shell -p pkgs.python34Packages.Theano-cuda rm -rf ~/.theano theano-test
Note that the
cuDNN
part of the tests requires a GPU of compute capability >= 3.0.Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)