侠贵族
2017-02-26 14:24:16 UTC
For now, the latest cuda 8.0 has supported VS2015 under windows and gcc 5.3
under ubuntu according to their online document. And Ray Donnelly has
kindly uploaded his theano 0.9.0rc1 version onto anaconda cloud. To install
this package with conda run:conda install -c rdonnelly theano=0.9.0rc1.
This package has Integrate libgpuarray and pygpu.
For me, I under windows 10 x64 and miniconda3(python 3.6), I only installed
numpy (auto mkl), scipy, Vs2015 pro, CUDA 8.0 (the latest), set VS and CUDA
path Variable, set .theanorc file.
-
With cpu, it goes fine.
-
But with "device = cuda", the check_blas.py (
https://github.com/Theano/Theano/issues/5348) will throw error:
ERROR (theano.gpuarray): pygpu was configured but could not be imported
or is too old (version 0.6 or higher required).
If add import pygpu, the error changes: ERROR (theano.gpuarray): Could
not initialize pygpu, support disabled.
If change to "device = gpu", it works with warning and result:
WARNING (theano.sandbox.cuda): The cuda backend is deprecated and will
be removed in the next release (v0.10). Please switch to the gpuarray
backend. You can get more information about how to switch at this URL:
https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29
.....
Using gpu device 0: GeForce GTX 670 (CNMeM is disabled, cuDNN not
available)......
Total execution time: 2.01s on GPU.
It's same on Ubuntu 16.04 (miniconda3, python 3.6, CUDA 8.0 latest, theano=0.9.0rc1,
set ~/.bashrc and ~/.theanorc). I have tested the cuda sample without
theano like deviceQuery, it worked successfully.
under ubuntu according to their online document. And Ray Donnelly has
kindly uploaded his theano 0.9.0rc1 version onto anaconda cloud. To install
this package with conda run:conda install -c rdonnelly theano=0.9.0rc1.
This package has Integrate libgpuarray and pygpu.
For me, I under windows 10 x64 and miniconda3(python 3.6), I only installed
numpy (auto mkl), scipy, Vs2015 pro, CUDA 8.0 (the latest), set VS and CUDA
path Variable, set .theanorc file.
-
With cpu, it goes fine.
-
But with "device = cuda", the check_blas.py (
https://github.com/Theano/Theano/issues/5348) will throw error:
ERROR (theano.gpuarray): pygpu was configured but could not be imported
or is too old (version 0.6 or higher required).
If add import pygpu, the error changes: ERROR (theano.gpuarray): Could
not initialize pygpu, support disabled.
If change to "device = gpu", it works with warning and result:
WARNING (theano.sandbox.cuda): The cuda backend is deprecated and will
be removed in the next release (v0.10). Please switch to the gpuarray
backend. You can get more information about how to switch at this URL:
https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29
.....
Using gpu device 0: GeForce GTX 670 (CNMeM is disabled, cuDNN not
available)......
Total execution time: 2.01s on GPU.
It's same on Ubuntu 16.04 (miniconda3, python 3.6, CUDA 8.0 latest, theano=0.9.0rc1,
set ~/.bashrc and ~/.theanorc). I have tested the cuda sample without
theano like deviceQuery, it worked successfully.
--
---
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 theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
---
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 theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.