You probably forgot [lib]:

    [lib]
    cnmem = 1

On Friday, March 3, 2017 at 7:29:46 AM UTC+1, Ani wrote:
>
> Hello Sir...
>
> I have successfully installed CuDNN and it is also available...but problem 
> is with cnmem..When I wrote cnmem=1 in my .theanorc file which is at home 
> directory..it gives error on running any code with cpu or gpu..please have 
> a look at error(screenshot is attached).
>
> Thanks in advance....
> Regards
> Anishi Gupta
>
> On Saturday, 28 May 2016 11:05:29 UTC+5:30, Poornachandra Sandur wrote:
>>
>> Hi,
>>                    CNMem is  fast CUDA memory allocator ... if you want 
>> to set it you can do it by writing the below lines in your .theanorc file 
>>  ...
>>
>> [lib]
>> cnmem=1
>>
>>
>> -------------------------------
>>
>> For CUDNN you can do it with the following steps :
>>
>> *First download the file : cudnn-7.0-linux-x64-v3.0-prod.tgz*
>>
>> *Extract it to home directory*
>>
>> *and set the LD_LIBRARY_PATH to the above extracted directory*
>>
>> *and then follow the below steps :*
>>
>>
>>
>> *sudo cp /home/poornachandra/cuda/include/cudnn.h 
>> /usr/local/cuda-7.5/include/*
>>
>> *sudo cp /home/poornachandra/cuda/lib64/libcudnn* 
>> /usr/local/cuda-7.5/lib64/*
>>
>>
>> On Fri, May 27, 2016 at 1:22 PM, Ramana Subramanyam <[email protected]> 
>> wrote:
>>
>>> Hello there, 
>>> If anyone is running theano on OSX, you need to make  a few changes to 
>>> Poornachandra's answer. Instead of setting the path of *LD_LIBRARY_PATH, 
>>> *set *DYLD_LIBRARY_PATH *to the extracted directory of CUDNN. I have 
>>> extracted them into `/home/packages/` and I am using CUDA 7.5. Copy those 
>>> files to the following destination, 
>>>
>>>
>>> 1) sudo cp ~/packages/cuda/lib/libcudnn* /Developer/NVIDIA/CUDA-7.5/lib/
>>>
>>>
>>>
>>> 2) sudo cp ~/packages/cuda/include/cudnn.h /Developer/NVIDIA/CUDA-7.5/
>>> include/
>>>
>>>
>>>
>>> Hope this helps! 
>>>
>>> On Tuesday, March 15, 2016 at 7:52:50 AM UTC+5:30, Ashutosh Modi wrote:
>>>>
>>>> Hi,
>>>>
>>>> I am running the latest version of Theano 0.8 on linux server using the 
>>>> GPUs. When I run my code I get the following message :
>>>>
>>>> Using gpu device 0: GeForce GTX TITAN X (CNMeM is disabled, CuDNN not 
>>>> available)
>>>>
>>>>
>>>> Is it normal or something is lacking or is it some bug? I ran my code 
>>>> after clearing the .thano directory.
>>>>
>>>>
>>>> Please help me in resolving this.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Ashutosh
>>>>
>>> -- 
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "theano-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> warm regards,
>> Poornachandra Sandur,
>> Mob.No.+91-9901913049
>>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to