Hi,
There are two possible reasons for this kind of error to be raised: 1. there was a bug in CuDNN which was resolved in later versions (so update CuDNN version if possible) 2. input to self.l_conv might be too large for computation so check the batch size and input dimension from the previous layer. Also, try to run your script on the CPU.