Discussion:
[theano-users] Theano on windows 10, GTX 1080ti, Python 2.7
Fraser Robinson
2017-10-02 10:34:05 UTC
Permalink
Hello all,

I'm trying to get Theano working, I'm pretty much a novice when it comes to
Python, and even more so with Theano. First off some results (all tests
here are from the anaconda prompt);

*My system*
Windows 10 Pro
AMD Ryzen 7 1800X
GTX 1080ti (only graphics installed - no onboard)

*Python*
Version: 2.7.13
Installed via Anaconda 64 bit

*NumPy*
Version: 1.13.1
python -c "import numpy; numpy.test()" = OK (KNOWNFAIL=8, SKIP=22)

*SciPy*
Version: 0.19.1
python -c "import scipy; scipy.test()" = OK (KNOWNFAIL=91, SKIP=1848)

*Nose*
Version 1.37

I believe everything about this means *so far so good*.

*Theano*
Version: *0.9.0.dev-c697eeab84e5b8a74908da654b66ec9eca4f1291*
set THEANO_FLAGS='' & python -c "import theano; theano.test()" = **I'm
going to post the entire print out here - its been running for around 30
minutes so far, I'll post when (if) it finishes**

Am I correct in thinking the theano.test shouldn't take over 30 minutes to
run? Whenever I try and run the example code on the Using the GPU page
<http://deeplearning.net/software/theano/tutorial/using_gpu.html> I always
get the output - Used the CPU.

Any suggestions? Require more information? Thanks in advance!
--
---
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.
Fraser Robinson
2017-10-02 10:42:23 UTC
Permalink
I should also state that I have CUDA 9 installed.

nvcc --version = Cuda compilation tools, release 9.0, V9.0.176
Post by Fraser Robinson
Hello all,
I'm trying to get Theano working, I'm pretty much a novice when it comes
to Python, and even more so with Theano. First off some results (all tests
here are from the anaconda prompt);
*My system*
Windows 10 Pro
AMD Ryzen 7 1800X
GTX 1080ti (only graphics installed - no onboard)
*Python*
Version: 2.7.13
Installed via Anaconda 64 bit
*NumPy*
Version: 1.13.1
python -c "import numpy; numpy.test()" = OK (KNOWNFAIL=8, SKIP=22)
*SciPy*
Version: 0.19.1
python -c "import scipy; scipy.test()" = OK (KNOWNFAIL=91, SKIP=1848)
*Nose*
Version 1.37
I believe everything about this means *so far so good*.
*Theano*
Version: *0.9.0.dev-c697eeab84e5b8a74908da654b66ec9eca4f1291*
set THEANO_FLAGS='' & python -c "import theano; theano.test()" = **I'm
going to post the entire print out here - its been running for around 30
minutes so far, I'll post when (if) it finishes**
Am I correct in thinking the theano.test shouldn't take over 30 minutes to
run? Whenever I try and run the example code on the Using the GPU page
<http://deeplearning.net/software/theano/tutorial/using_gpu.html> I
always get the output - Used the CPU.
Any suggestions? Require more information? Thanks in advance!
--
---
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.
Fraser Robinson
2017-10-02 10:58:38 UTC
Permalink
So after an hour of running theano.test() is still running. Anyway, here's
the output in full:

(C:\ProgramData\Anaconda22) C:\Windows\system32>set THEANO_FLAGS='' &
python -c "import theano; theano.test()"
Theano version 0.9.0.dev-c697eeab84e5b8a74908da654b66ec9eca4f1291
theano is installed in C:\ProgramData\Anaconda22\lib\site-packages\theano
NumPy version 1.13.1
NumPy relaxed strides checking option: True
NumPy is installed in C:\ProgramData\Anaconda22\lib\site-packages\numpy
Python version 2.7.13 |Anaconda custom (64-bit)| (default, May 11 2017,
13:17:26) [MSC v.1500 64 bit (AMD64)]
nose version 1.3.7
C:\ProgramData\Anaconda22\lib\site-packages\nose_parameterized\__init__.py:7:
UserWarning: The 'nose-parameterized' package has been renamed
'parameterized'. For the two step migration instructions, see:
https://github.com/wolever/parameterized#migrating-from-nose-parameterized-to-parameterized
(set NOSE_PARAMETERIZED_NO_WARN=1 to suppress this warning)
"The 'nose-parameterized' package has been renamed 'parameterized'. "
Can not use cuDNN on context None: cannot compile with cuDNN. We got this
error:
c:\users\fraser\appdata\local\temp\try_flags_rpq9nl.c:4:19: fatal error:
cudnn.h: No such file or directory
compilation terminated.

Mapped name None to device cuda: GeForce GTX 1080 Ti (0000:23:00.0)
C:\ProgramData\Anaconda22\lib\site-packages\theano\misc\pycuda_init.py:35:
UserWarning: PyCUDA import failed in theano.misc.pycuda_init
warnings.warn("PyCUDA import failed in theano.misc.pycuda_init")
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

C:\ProgramData\Anaconda22\lib\site-packages\theano\sandbox\cuda\__init__.py:556:
UserWarning: Theano flag device=gpu* (old gpu back-end) only support
floatX=float32. You have floatX=float64. Use the new gpu back-end with
device=cuda* for that value of floatX.
warnings.warn(msg)
WARNING (theano.gof.compilelock): Overriding existing lock by dead process
'17664' (I am process '2612')
C:\ProgramData\Anaconda22\lib\site-packages\theano\sandbox\gpuarray\__init__.py:10:
UserWarning: theano.sandbox.gpuarray has been moved to theano.gpuarray.
Please update your code and pickles. If the warning persists, clear
theano's cache ('$theano/bin/theano-cache clear').
warnings.warn(message)
...........WARNING (theano.tensor.blas): We did not found a dynamic library
into the library_dir of the library we use for blas. If you use ATLAS, make
sure to compile it with dynamics library.
..................................................................S..........................C:\ProgramData\Anaconda22\lib\site-packages\theano\compile\nanguardmode.py:168:
RuntimeWarning: All-NaN slice encountered
return np.isinf(np.nanmax(arr)) or np.isinf(np.nanmin(arr))
C:\ProgramData\Anaconda22\lib\site-packages\theano\compile\nanguardmode.py:168:
RuntimeWarning: All-NaN axis encountered
return np.isinf(np.nanmax(arr)) or np.isinf(np.nanmin(arr))
..............................................C:\ProgramData\Anaconda22\lib\site-packages\theano\gof\vm.py:851:
UserWarning: CVM does not support memory profile, using Stack VM.
'CVM does not support memory profile, using Stack VM.')
...........SS.............0.0581646137166
0.0581646137166
0.0581646137166
0.0581646137166
..........................................................................................................................................................C:\ProgramData\Anaconda22\lib\site-packages\theano\gof\vm.py:854:
UserWarning: LoopGC does not support partial evaluation, using Stack VM.
'LoopGC does not support partial evaluation, '
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS..............................C:\ProgramData\Anaconda22\lib\unittest\case.py:329:
DeprecationWarning: stack(*tensors) interface is deprecated, use
stack(tensors, axis=0) instead.
testMethod()
......................E..........C:\ProgramData\Anaconda22\lib\site-packages\nose\case.py:197:
DeprecationWarning: stack(*tensors) interface is deprecated, use
stack(tensors, axis=0) instead.
self.test(*self.arg)
.C:\ProgramData\Anaconda22\lib\site-packages\nose\case.py:197:
DeprecationWarning: stack(*tensors) interface is deprecated, use
stack(tensors, axis=0) instead.
self.test(*self.arg)
.C:\ProgramData\Anaconda22\lib\site-packages\nose\case.py:197:
DeprecationWarning: stack(*tensors) interface is deprecated, use
stack(tensors, axis=0) instead.
self.test(*self.arg)
.C:\ProgramData\Anaconda22\lib\site-packages\nose\case.py:197:
DeprecationWarning: stack(*tensors) interface is deprecated, use
stack(tensors, axis=0) instead.
self.test(*self.arg)
.C:\ProgramData\Anaconda22\lib\site-packages\nose\case.py:197:
DeprecationWarning: stack(*tensors) interface is deprecated, use
stack(tensors, axis=0) instead.
self.test(*self.arg)
.C:\ProgramData\Anaconda22\lib\site-packages\nose\case.py:197:
DeprecationWarning: stack(*tensors) interface is deprecated, use
stack(tensors, axis=0) instead.
self.test(*self.arg)
.C:\ProgramData\Anaconda22\lib\site-packages\nose\case.py:197:
DeprecationWarning: stack(*tensors) interface is deprecated, use
stack(tensors, axis=0) instead.
self.test(*self.arg)
EC:\ProgramData\Anaconda22\lib\site-packages\nose\case.py:197:
DeprecationWarning: stack(*tensors) interface is deprecated, use
stack(tensors, axis=0) instead.
self.test(*self.arg)
EC:\ProgramData\Anaconda22\lib\site-packages\nose\case.py:197:
DeprecationWarning: stack(*tensors) interface is deprecated, use
stack(tensors, axis=0) instead.
self.test(*self.arg)
E..............................................SSS................SSS...............EEE..SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.SSS.SSSSSS.SSSSSSSS.....EE.......WARNING
(theano.tests.unittest_tools): While testing shape inference for <class
'theano.gpuarray.elemwise.GpuCAReduceCuda'>, we received an input with a
shape that has some repeated values: (128L, 1L, 3L, 3L), like a square
matrix. This makes it impossible to check if the values for these
dimensions have been correctly used, or if they have been mixed up.
WARNING (theano.tests.unittest_tools): While testing shape inference for
<class 'theano.gpuarray.elemwise.GpuCAReduceCuda'>, we received an input
with a shape that has some repeated values: (128L, 1L, 3L, 3L), like a
square matrix. This makes it impossible to check if the values for these
dimensions have been correctly used, or if they have been mixed up.
.......EE...........................SSS..............S...C:\ProgramData\Anaconda22\lib\site-packages\theano\sandbox\rng_mrg.py:1522:
UserWarning: MRG_RandomStreams.multinomial_wo_replacement() is deprecated
and will be removed in the next release of Theano. Please use
MRG_RandomStreams.choice() instead.
warnings.warn('MRG_RandomStreams.multinomial_wo_replacement() is '
...EE.................SS....E..E.............SS......SSSSS....................S.SC:\ProgramData\Anaconda22\lib\site-packages\theano\gpuarray\type.py:829:
UserWarning: config.experimental.unpickle_gpu_on_cpu is set to True.
Unpickling GpuArray as numpy.ndarray
"config.experimental.unpickle_gpu_on_cpu is set to True. "
................................................................C:\ProgramData\Anaconda22\lib\site-packages\theano\tensor\var.py:507:
DeprecationWarning: elementwise == comparison failed; this will raise an
error in the future.
if(inp == [] or inp == ()) else inp for inp in args])
C:\ProgramData\Anaconda22\lib\site-packages\theano\tensor\var.py:507:
DeprecationWarning: elementwise == comparison failed; this will raise an
error in the future.
if(inp == [] or inp == ()) else inp for inp in args])
C:\ProgramData\Anaconda22\lib\site-packages\theano\tensor\var.py:507:
DeprecationWarning: elementwise == comparison failed; this will raise an
error in the future.
if(inp == [] or inp == ()) else inp for inp in args])
C:\ProgramData\Anaconda22\lib\site-packages\theano\tensor\var.py:507:
DeprecationWarning: elementwise == comparison failed; this will raise an
error in the future.
if(inp == [] or inp == ()) else inp for inp in args])
.........................................C:\ProgramData\Anaconda22\lib\site-packages\theano\tensor\var.py:507:
DeprecationWarning: elementwise == comparison failed; this will raise an
error in the future.
if(inp == [] or inp == ()) else inp for inp in args])
C:\ProgramData\Anaconda22\lib\site-packages\theano\tensor\var.py:507:
DeprecationWarning: elementwise == comparison failed; this will raise an
error in the future.
if(inp == [] or inp == ()) else inp for inp in args])
.EEE.E......E......E...............EEEE.......SS..S...SSS.............................................................................................................
--
---
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.
Loading...