-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR (theano.gpuarray): Could not initialize pygpu, support disabled #40
Comments
Sometimes I got that same error. I'm not sure, but I guess that have something to do with this In Theano docs: The recently added Theano flag dnn.enabled allows to change the default behavior to force it or disable it. Older Theano version do not support this flag. To get an error when cuDNN can not be used with them, use this flag: optimizer_including=cudnn. |
In my case, I solved it by "conda install pygpu" instead of "conda install pygpu==0.6.2". It install version 0.6.9. This was in notebook with a GeForce 930M. I have another machine with a 1080ti but it uses 0.6.2. So, I dont know for sure what is happening. ;)... Phill, Thanks for your excelente tutorial |
Installing pygpu 0.6.9 fixed the issue. Excellent! Thanks so much for taking the time to help. |
Thank you @bonifacio123 and @wpmarinho for reporting & investigating. |
Followed the instructions on Windows 10 with a Nvidia 1080 & 1070 GPU and the four backend checks ran fine. I moved to the next step to validate the Theano install.
set THEANO_FLAGS=%THEANO_FLAGS_CPU%
and
set THEANO_FLAGS=%THEANO_FLAGS_GPU%
ran fine. However, when I tried:
set THEANO_FLAGS=%THEANO_FLAGS_GPU_DNN%
I get this error
ERROR (theano.gpuarray): Could not initialize pygpu, support disabled
Haven't found a good answer on Google that help me correct this. Any ideas?
Thanks!
THEANO_FLAGS_CPU=
floatX=float32,device=cpu
THEANO_FLAGS_GPU=
floatX=float32,device=cuda0,dnn.enabled=False,gpuarray.preallocate=0.8
THEANO_FLAGS_GPU_DNN=
floatX=float32,device=cuda0,optimizer_including=cudnn,gpuarray.preallocate=0.8,dnn.conv.algo_bwd_filter=deterministic,dnn.conv.algo_bwd_data=deterministic,dnn.include_path=c:/toolkits.win/cuda-8.0.61/include,dnn.library_path=c:/toolkits.win/cuda-8.0.61/lib/x64
The text was updated successfully, but these errors were encountered: