Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using convolutional layers in lasagne with OpenCL

I have an AMD graphic card, so I have to use OpenCL. After a long time installing I almost get it working, and the only thing I am unable to do is to use convolutional layers. I get an error:

AssertionError: AbstractConv2d Theano optimization failed: there is no implementation available supporting the requested options. Did you exclude both "conv_dnn" and "conv_gemm" from the optimizer? If on GPU, is cuDNN available and does the GPU support it? If on CPU, do you have a BLAS library installed Theano can link against?

So, is there a way to use convolutional layers in lasagne on GPU using OpenCL?

like image 291
Lilith Avatar asked Mar 02 '26 06:03

Lilith


1 Answers

The lasagne docs note that on compilation on GPU, it will use a cuDDN implementation, and if this fails it will fall back to a CPU based implementation. Unfortunately, there seems to be no way to use lasagne with a card only supporting OpenCL.

like image 105
Natecat Avatar answered Mar 04 '26 19:03

Natecat