Fedora 24 + Bumblebee + CUDA + Theano
It’s very frustrating when you want to try something out quickly and lose your entire day… But at least next time it will be easier. I hope.
This is a guide on how to run Keras (Theano powered neural network Python library) on CUDA with an NVIDIA Optimus laptop, with Fedora 24 and Bumblebee.
Get Bumblebee working, that is the easy part. Use the nonfree drivers, there are very good instructions here:
Afterwards verify that Bumblebee is working with a quick:
Get CUDA from here:
The version for Fedora 21 is the latest one, and it will work. Unpack it after downloading it with:
sh cuda_7.5.18_linux.run -extract=/path/to/somewhere
You will get three files, the driver (which you don’t need), CUDA toolkit and some samples. Install the toolkit and...
Continue reading →