Discussion:
[theano-users] Nvidia Tesla M2060 - pygpu.gpuarray.GpuArrayException: b'No cuda device available'
t***@gmail.com
2018-07-29 15:21:08 UTC
Permalink
I want use gpu (Tesla M2060) with Theano

lshw -c video

*-display

description: 3D controller

product: GF110GL [Tesla M2090]

vendor: NVIDIA Corporation

physical id: 0

bus info: ***@0000:05:00.0

version: a1

width: 64 bits

clock: 33MHz

capabilities: pm msi pciexpress bus_master cap_list rom

configuration: driver=nouveau latency=0

resources: irq:34 memory:f9000000-f9ffffff memory:d8000000-dfffffff
memory:d6000000-d7ffffff ioport:ec00(size=128) memory:f8f80000-f8ffffff

I have install

· Ubuntu 18.04 LTS

· nvidia-driver-390 (nvidia-driver-390/bionic,now 390.48-0ubuntu3
amd64 [installed])

· miniconda (conda 4.5.8)

· with conda i have install theano-gpu and gpupy (conda install
theano pygpu)

· theano (1.0.2)

I tryed use graphic card with cuda test. Example output queryDevice

***@7d58d4097148:~/deviceQuery# ./deviceQuery

./deviceQuery Starting...



CUDA Device Query (Runtime API) version (CUDART static linking)



Detected 1 CUDA Capable device(s)



Device 0: "Tesla M2090"

CUDA Driver Version / Runtime Version 9.1 / 9.1

CUDA Capability Major/Minor version number: 2.0

Total amount of global memory: 5302 MBytes (5559156736
bytes)

MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM

MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM

(16) Multiprocessors, ( 64) CUDA Cores/MP: 1024 CUDA Cores

GPU Max Clock rate: 1301 MHz (1.30 GHz)

Memory Clock rate: 1848 Mhz

Memory Bus Width: 384-bit

L2 Cache Size: 786432 bytes

Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536,
65535), 3D=(2048, 2048, 2048)

Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers

Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048
layers

Total amount of constant memory: 65536 bytes

Total amount of shared memory per block: 49152 bytes

Total number of registers available per block: 32768

Warp size: 32

Maximum number of threads per multiprocessor: 1536

Maximum number of threads per block: 1024

Max dimension size of a thread block (x,y,z): (1024, 1024, 64)

Max dimension size of a grid size (x,y,z): (65535, 65535, 65535)

Maximum memory pitch: 2147483647 bytes

Texture alignment: 512 bytes

Concurrent copy and kernel execution: Yes with 2 copy engine(s)

Run time limit on kernels: No

Integrated GPU sharing Host Memory: No

Support host page-locked memory mapping: Yes

Alignment requirement for Surfaces: Yes

Device has ECC support: Enabled

Device supports Unified Addressing (UVA): Yes

Supports Cooperative Kernel Launch: No

Supports MultiDevice Co-op Kernel Launch: No

Device PCI Domain ID / Bus ID / location ID: 0 / 5 / 0

Compute Mode:

< Default (multiple host threads can use ::cudaSetDevice() with device
simultaneously) >



deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 9.1, CUDA Runtime
Version = 9.1, NumDevs = 1

Result = PASS



When i try to run gpu test I obtain the following error:

export DEVICE=cuda

python -c "import pygpu;pygpu.test()"

pygpu is installed in /usr/local/lib/python3.7/site-packages/pygpu

NumPy version 1.14.5

NumPy relaxed strides checking option: True

NumPy is installed in /usr/local/lib/python3.7/site-packages/numpy

Python version 3.7.0 (default, Jun 28 2018, 13:15:42) [GCC 7.2.0]

nose version 1.3.7

EEEEEEEE

======================================================================

ERROR: Failure: GpuArrayException (b'No cuda device available')

----------------------------------------------------------------------

Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39,
in runTest

raise self.exc_val.with_traceback(self.tb)

File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName

addr.filename, addr.module)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath

return self.importFromDir(dir_path, fqname)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94,
in importFromDir

mod = load_module(part_fqname, fh, filename, desc)

File "/usr/local/lib/python3.7/imp.py", line 235, in load_module

return load_source(name, filename, file)

File "/usr/local/lib/python3.7/imp.py", line 172, in load_source

module = _load(spec)

File "<frozen importlib._bootstrap>", line 696, in _load

File "<frozen importlib._bootstrap>", line 677, in _load_unlocked

File "<frozen importlib._bootstrap_external>", line 728, in exec_module

File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed

File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_basic.py",
line 5, in <module>

from .support import (gen_gpuarray, context)

File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>

context = gpuarray.init(get_env_dev())

File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init

File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init

pygpu.gpuarray.GpuArrayException: b'No cuda device available'



======================================================================

ERROR: Failure: GpuArrayException (b'No cuda device available')

----------------------------------------------------------------------

Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39,
in runTest

raise self.exc_val.with_traceback(self.tb)

File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName

addr.filename, addr.module)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath

return self.importFromDir(dir_path, fqname)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94,
in importFromDir

mod = load_module(part_fqname, fh, filename, desc)

File "/usr/local/lib/python3.7/imp.py", line 235, in load_module

return load_source(name, filename, file)

File "/usr/local/lib/python3.7/imp.py", line 172, in load_source

module = _load(spec)

File "<frozen importlib._bootstrap>", line 696, in _load

File "<frozen importlib._bootstrap>", line 677, in _load_unlocked

File "<frozen importlib._bootstrap_external>", line 728, in exec_module

File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed

File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_blas.py",
line 5, in <module>

from .support import (guard_devsup, gen_gpuarray, context)

File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>

context = gpuarray.init(get_env_dev())

File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init

File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init

pygpu.gpuarray.GpuArrayException: b'No cuda device available'



======================================================================

ERROR: Failure: GpuArrayException (b'No cuda device available')

----------------------------------------------------------------------

Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39,
in runTest

raise self.exc_val.with_traceback(self.tb)

File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName

addr.filename, addr.module)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath

return self.importFromDir(dir_path, fqname)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94,
in importFromDir

mod = load_module(part_fqname, fh, filename, desc)

File "/usr/local/lib/python3.7/imp.py", line 235, in load_module

return load_source(name, filename, file)

File "/usr/local/lib/python3.7/imp.py", line 172, in load_source

module = _load(spec)

File "<frozen importlib._bootstrap>", line 696, in _load

File "<frozen importlib._bootstrap>", line 677, in _load_unlocked

File "<frozen importlib._bootstrap_external>", line 728, in exec_module

File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed

File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_collectives.py",
line 15, in <module>

from pygpu.tests.support import (check_all, gen_gpuarray, context as
ctx)

File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>

context = gpuarray.init(get_env_dev())

File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init

File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init

pygpu.gpuarray.GpuArrayException: b'No cuda device available'



======================================================================

ERROR: Failure: GpuArrayException (b'No cuda device available')

----------------------------------------------------------------------

Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39,
in runTest

raise self.exc_val.with_traceback(self.tb)

File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName

addr.filename, addr.module)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath

return self.importFromDir(dir_path, fqname)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94,
in importFromDir

mod = load_module(part_fqname, fh, filename, desc)

File "/usr/local/lib/python3.7/imp.py", line 235, in load_module

return load_source(name, filename, file)

File "/usr/local/lib/python3.7/imp.py", line 172, in load_source

module = _load(spec)

File "<frozen importlib._bootstrap>", line 696, in _load

File "<frozen importlib._bootstrap>", line 677, in _load_unlocked

File "<frozen importlib._bootstrap_external>", line 728, in exec_module

File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed

File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_elemwise.py", line
13, in <module>

from .support import (guard_devsup, context, gen_gpuarray,
check_meta_content)

File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>

context = gpuarray.init(get_env_dev())

File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init

File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init

pygpu.gpuarray.GpuArrayException: b'No cuda device available'



======================================================================

ERROR: Failure: GpuArrayException (b'No cuda device available')

----------------------------------------------------------------------

Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39,
in runTest

raise self.exc_val.with_traceback(self.tb)

File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName

addr.filename, addr.module)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath

return self.importFromDir(dir_path, fqname)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94,
in importFromDir

mod = load_module(part_fqname, fh, filename, desc)

File "/usr/local/lib/python3.7/imp.py", line 235, in load_module

return load_source(name, filename, file)

File "/usr/local/lib/python3.7/imp.py", line 172, in load_source

module = _load(spec)

File "<frozen importlib._bootstrap>", line 696, in _load

File "<frozen importlib._bootstrap>", line 677, in _load_unlocked

File "<frozen importlib._bootstrap_external>", line 728, in exec_module

File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed

File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_gpu_ndarray.py",
line 15, in <module>

from .support import (guard_devsup, check_meta, check_flags, check_all,

File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>

context = gpuarray.init(get_env_dev())

File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init

File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init

pygpu.gpuarray.GpuArrayException: b'No cuda device available'



======================================================================

ERROR: Failure: GpuArrayException (b'No cuda device available')

----------------------------------------------------------------------

Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39,
in runTest

raise self.exc_val.with_traceback(self.tb)

File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName

addr.filename, addr.module)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath

return self.importFromDir(dir_path, fqname)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94,
in importFromDir

mod = load_module(part_fqname, fh, filename, desc)

File "/usr/local/lib/python3.7/imp.py", line 235, in load_module

return load_source(name, filename, file)

File "/usr/local/lib/python3.7/imp.py", line 172, in load_source

module = _load(spec)

File "<frozen importlib._bootstrap>", line 696, in _load

File "<frozen importlib._bootstrap>", line 677, in _load_unlocked

File "<frozen importlib._bootstrap_external>", line 728, in exec_module

File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed

File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_operations.py",
line 4, in <module>

from .support import (gen_gpuarray, context, SkipTest)

File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>

context = gpuarray.init(get_env_dev())

File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init

File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init

pygpu.gpuarray.GpuArrayException: b'No cuda device available'



======================================================================

ERROR: Failure: GpuArrayException (b'No cuda device available')

----------------------------------------------------------------------

Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39,
in runTest

raise self.exc_val.with_traceback(self.tb)

File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName

addr.filename, addr.module)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath

return self.importFromDir(dir_path, fqname)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94,
in importFromDir

mod = load_module(part_fqname, fh, filename, desc)

File "/usr/local/lib/python3.7/imp.py", line 235, in load_module

return load_source(name, filename, file)

File "/usr/local/lib/python3.7/imp.py", line 172, in load_source

module = _load(spec)

File "<frozen importlib._bootstrap>", line 696, in _load

File "<frozen importlib._bootstrap>", line 677, in _load_unlocked

File "<frozen importlib._bootstrap_external>", line 728, in exec_module

File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed

File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_reduction.py",
line 8, in <module>

from .support import (guard_devsup, check_meta_content, context,
gen_gpuarray,

File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>

context = gpuarray.init(get_env_dev())

File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init

File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init

pygpu.gpuarray.GpuArrayException: b'No cuda device available'



======================================================================

ERROR: Failure: GpuArrayException (b'No cuda device available')

----------------------------------------------------------------------

Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39,
in runTest

raise self.exc_val.with_traceback(self.tb)

File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName

addr.filename, addr.module)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath

return self.importFromDir(dir_path, fqname)

File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94,
in importFromDir

mod = load_module(part_fqname, fh, filename, desc)

File "/usr/local/lib/python3.7/imp.py", line 235, in load_module

return load_source(name, filename, file)

File "/usr/local/lib/python3.7/imp.py", line 172, in load_source

module = _load(spec)

File "<frozen importlib._bootstrap>", line 696, in _load

File "<frozen importlib._bootstrap>", line 677, in _load_unlocked

File "<frozen importlib._bootstrap_external>", line 728, in exec_module

File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed

File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_tools.py",
line 3, in <module>

from .support import context, gen_gpuarray

File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>

context = gpuarray.init(get_env_dev())

File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init

File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init

pygpu.gpuarray.GpuArrayException: b'No cuda device available'



----------------------------------------------------------------------

Ran 8 tests in 0.004s



FAILED (errors=8)

Any suggestions?

Thanks!
--
---
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.
Arnaud Bergeron
2018-07-30 14:05:16 UTC
Permalink
Try to make a debug build of libgpuarray and run the tests again. This may display more detailed information about the source of the error.

Otherwise I know I have encountered weird problems with the ubuntu-packaged driver and have better luck with the original nVidia-packaged one, so you can try to reinstall the driver from that.

Arnaud
Post by t***@gmail.com
I want use gpu (Tesla M2060) with Theano
lshw -c video
*-display
description: 3D controller
product: GF110GL [Tesla M2090]
vendor: NVIDIA Corporation
physical id: 0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:34 memory:f9000000-f9ffffff memory:d8000000-dfffffff memory:d6000000-d7ffffff ioport:ec00(size=128) memory:f8f80000-f8ffffff
I have install
· Ubuntu 18.04 LTS
· nvidia-driver-390 (nvidia-driver-390/bionic,now 390.48-0ubuntu3 amd64 [installed])
· miniconda (conda 4.5.8)
· with conda i have install theano-gpu and gpupy (conda install theano pygpu)
· theano (1.0.2)
I tryed use graphic card with cuda test. Example output queryDevice
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "Tesla M2090"
CUDA Driver Version / Runtime Version 9.1 / 9.1
CUDA Capability Major/Minor version number: 2.0
Total amount of global memory: 5302 MBytes (5559156736 bytes)
MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM
MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM
(16) Multiprocessors, ( 64) CUDA Cores/MP: 1024 CUDA Cores
GPU Max Clock rate: 1301 MHz (1.30 GHz)
Memory Clock rate: 1848 Mhz
Memory Bus Width: 384-bit
L2 Cache Size: 786432 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, 65535), 3D=(2048, 2048, 2048)
Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 32768
Warp size: 32
Maximum number of threads per multiprocessor: 1536
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (65535, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 2 copy engine(s)
Run time limit on kernels: No
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Enabled
Device supports Unified Addressing (UVA): Yes
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 5 / 0
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 9.1, CUDA Runtime Version = 9.1, NumDevs = 1
Result = PASS
export DEVICE=cuda
python -c "import pygpu;pygpu.test()"
pygpu is installed in /usr/local/lib/python3.7/site-packages/pygpu
NumPy version 1.14.5
NumPy relaxed strides checking option: True
NumPy is installed in /usr/local/lib/python3.7/site-packages/numpy
Python version 3.7.0 (default, Jun 28 2018, 13:15:42) [GCC 7.2.0]
nose version 1.3.7
EEEEEEEE
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_basic.py", line 5, in <module>
from .support import (gen_gpuarray, context)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_blas.py", line 5, in <module>
from .support import (guard_devsup, gen_gpuarray, context)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_collectives.py", line 15, in <module>
from pygpu.tests.support import (check_all, gen_gpuarray, context as ctx)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_elemwise.py", line 13, in <module>
from .support import (guard_devsup, context, gen_gpuarray, check_meta_content)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_gpu_ndarray.py", line 15, in <module>
from .support import (guard_devsup, check_meta, check_flags, check_all,
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_operations.py", line 4, in <module>
from .support import (gen_gpuarray, context, SkipTest)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_reduction.py", line 8, in <module>
from .support import (guard_devsup, check_meta_content, context, gen_gpuarray,
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_tools.py", line 3, in <module>
from .support import context, gen_gpuarray
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
----------------------------------------------------------------------
Ran 8 tests in 0.004s
FAILED (errors=8)
Any suggestions?
Thanks!
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
For more options, visit https://groups.google.com/d/optout <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.
t***@gmail.com
2018-07-30 20:44:51 UTC
Permalink
Hi,
after build in debug mode I obtain this message:

pygpu is installed in /usr/local/lib/python3.7/site-packages/pygpu

NumPy version 1.14.5

NumPy relaxed strides checking option: True

NumPy is installed in /usr/local/lib/python3.7/site-packages/numpy

Python version 3.7.0 (default, Jun 28 2018, 13:15:42) [GCC 7.2.0]

nose version 1.3.7

(Debug) ERROR 5: GPU is too old for CUDA version

(Debug) ERROR 14: No cuda device available

(Debug) ERROR 5: GPU is too old for CUDA version

(Debug) ERROR 14: No cuda device available

(Debug) ERROR 5: GPU is too old for CUDA version

(Debug) ERROR 14: No cuda device available

(Debug) ERROR 5: GPU is too old for CUDA version

(Debug) ERROR 14: No cuda device available

(Debug) ERROR 5: GPU is too old for CUDA version

(Debug) ERROR 14: No cuda device available

(Debug) ERROR 5: GPU is too old for CUDA version

(Debug) ERROR 14: No cuda device available

(Debug) ERROR 5: GPU is too old for CUDA version

(Debug) ERROR 14: No cuda device available

(Debug) ERROR 5: GPU is too old for CUDA version

(Debug) ERROR 14: No cuda device available

EEEEEEEE

======================================================================

ERROR: Failure: GpuArrayException (b'No cuda device available')


*Any suggestion to use old GPU? :-(*
Post by Arnaud Bergeron
Try to make a debug build of libgpuarray and run the tests again. This
may display more detailed information about the source of the error.
Otherwise I know I have encountered weird problems with the
ubuntu-packaged driver and have better luck with the original
nVidia-packaged one, so you can try to reinstall the driver from that.
Arnaud
I want use gpu (Tesla M2060) with Theano
lshw -c video
*-display
description: 3D controller
product: GF110GL [Tesla M2090]
vendor: NVIDIA Corporation
physical id: 0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:34 memory:f9000000-f9ffffff memory:d8000000-dfffffff
memory:d6000000-d7ffffff ioport:ec00(size=128) memory:f8f80000-f8ffffff
I have install
· Ubuntu 18.04 LTS
· nvidia-driver-390 (nvidia-driver-390/bionic,now 390.48-0ubuntu3
amd64 [installed])
· miniconda (conda 4.5.8)
· with conda i have install theano-gpu and gpupy (conda install theano pygpu)
· theano (1.0.2)
I tryed use graphic card with cuda test. Example output queryDevice
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "Tesla M2090"
CUDA Driver Version / Runtime Version 9.1 / 9.1
CUDA Capability Major/Minor version number: 2.0
Total amount of global memory: 5302 MBytes (5559156736 bytes)
MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM
MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM
(16) Multiprocessors, ( 64) CUDA Cores/MP: 1024 CUDA Cores
GPU Max Clock rate: 1301 MHz (1.30 GHz)
Memory Clock rate: 1848 Mhz
Memory Bus Width: 384-bit
L2 Cache Size: 786432 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536,
65535), 3D=(2048, 2048, 2048)
Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 32768
Warp size: 32
Maximum number of threads per multiprocessor: 1536
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (65535, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 2 copy engine(s)
Run time limit on kernels: No
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Enabled
Device supports Unified Addressing (UVA): Yes
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 5 / 0
< Default (multiple host threads can use ::cudaSetDevice() with
device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 9.1, CUDA Runtime
Version = 9.1, NumDevs = 1
Result = PASS
export DEVICE=cuda
python -c "import pygpu;pygpu.test()"
pygpu is installed in /usr/local/lib/python3.7/site-packages/pygpu
NumPy version 1.14.5
NumPy relaxed strides checking option: True
NumPy is installed in /usr/local/lib/python3.7/site-packages/numpy
Python version 3.7.0 (default, Jun 28 2018, 13:15:42) [GCC 7.2.0]
nose version 1.3.7
EEEEEEEE
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_basic.py",
line 5, in <module>
from .support import (gen_gpuarray, context)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_blas.py",
line 5, in <module>
from .support import (guard_devsup, gen_gpuarray, context)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_collectives.py",
line 15, in <module>
from pygpu.tests.support import (check_all, gen_gpuarray, context as ctx)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_elemwise.py", line
13, in <module>
from .support import (guard_devsup, context, gen_gpuarray,
check_meta_content)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_gpu_ndarray.py",
line 15, in <module>
from .support import (guard_devsup, check_meta, check_flags, check_all,
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_operations.py",
line 4, in <module>
from .support import (gen_gpuarray, context, SkipTest)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_reduction.py",
line 8, in <module>
from .support import (guard_devsup, check_meta_content, context, gen_gpuarray,
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47,
in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_tools.py",
line 3, in <module>
from .support import context, gen_gpuarray
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
----------------------------------------------------------------------
Ran 8 tests in 0.004s
FAILED (errors=8)
Any suggestions?
Thanks!
--
---
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
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.
Arnaud Bergeron
2018-07-30 21:03:05 UTC
Permalink
Well then the problem is clear. That GPU is not supported by the cuda version you are trying to use. CUDA 9 deprecated devices with CC 2.x like the one you have.

Use an older version (cuda 8 or older) and it should work.
Post by t***@gmail.com
Hi,
pygpu is installed in /usr/local/lib/python3.7/site-packages/pygpu
NumPy version 1.14.5
NumPy relaxed strides checking option: True
NumPy is installed in /usr/local/lib/python3.7/site-packages/numpy
Python version 3.7.0 (default, Jun 28 2018, 13:15:42) [GCC 7.2.0]
nose version 1.3.7
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
EEEEEEEE
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
Any suggestion to use old GPU? :-(
Try to make a debug build of libgpuarray and run the tests again. This may display more detailed information about the source of the error.
Otherwise I know I have encountered weird problems with the ubuntu-packaged driver and have better luck with the original nVidia-packaged one, so you can try to reinstall the driver from that.
Arnaud
Post by t***@gmail.com
I want use gpu (Tesla M2060) with Theano
lshw -c video
*-display
description: 3D controller
product: GF110GL [Tesla M2090]
vendor: NVIDIA Corporation
physical id: 0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:34 memory:f9000000-f9ffffff memory:d8000000-dfffffff memory:d6000000-d7ffffff ioport:ec00(size=128) memory:f8f80000-f8ffffff
I have install
· Ubuntu 18.04 LTS
· nvidia-driver-390 (nvidia-driver-390/bionic,now 390.48-0ubuntu3 amd64 [installed])
· miniconda (conda 4.5.8)
· with conda i have install theano-gpu and gpupy (conda install theano pygpu)
· theano (1.0.2)
I tryed use graphic card with cuda test. Example output queryDevice
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "Tesla M2090"
CUDA Driver Version / Runtime Version 9.1 / 9.1
CUDA Capability Major/Minor version number: 2.0
Total amount of global memory: 5302 MBytes (5559156736 bytes)
MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM
MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM
(16) Multiprocessors, ( 64) CUDA Cores/MP: 1024 CUDA Cores
GPU Max Clock rate: 1301 MHz (1.30 GHz)
Memory Clock rate: 1848 Mhz
Memory Bus Width: 384-bit
L2 Cache Size: 786432 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, 65535), 3D=(2048, 2048, 2048)
Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 32768
Warp size: 32
Maximum number of threads per multiprocessor: 1536
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (65535, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 2 copy engine(s)
Run time limit on kernels: No
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Enabled
Device supports Unified Addressing (UVA): Yes
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 5 / 0
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 9.1, CUDA Runtime Version = 9.1, NumDevs = 1
Result = PASS
export DEVICE=cuda
python -c "import pygpu;pygpu.test()"
pygpu is installed in /usr/local/lib/python3.7/site-packages/pygpu
NumPy version 1.14.5
NumPy relaxed strides checking option: True
NumPy is installed in /usr/local/lib/python3.7/site-packages/numpy
Python version 3.7.0 (default, Jun 28 2018, 13:15:42) [GCC 7.2.0]
nose version 1.3.7
EEEEEEEE
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_basic.py", line 5, in <module>
from .support import (gen_gpuarray, context)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_blas.py", line 5, in <module>
from .support import (guard_devsup, gen_gpuarray, context)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_collectives.py", line 15, in <module>
from pygpu.tests.support import (check_all, gen_gpuarray, context as ctx)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_elemwise.py", line 13, in <module>
from .support import (guard_devsup, context, gen_gpuarray, check_meta_content)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_gpu_ndarray.py", line 15, in <module>
from .support import (guard_devsup, check_meta, check_flags, check_all,
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_operations.py", line 4, in <module>
from .support import (gen_gpuarray, context, SkipTest)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_reduction.py", line 8, in <module>
from .support import (guard_devsup, check_meta_content, context, gen_gpuarray,
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_tools.py", line 3, in <module>
from .support import context, gen_gpuarray
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
----------------------------------------------------------------------
Ran 8 tests in 0.004s
FAILED (errors=8)
Any suggestions?
Thanks!
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
For more options, visit https://groups.google.com/d/optout <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.
Frédéric Bastien
2018-07-31 11:38:28 UTC
Permalink
Is there an easy way to create a better error message from Theano for this
case?
Post by Arnaud Bergeron
Well then the problem is clear. That GPU is not supported by the cuda
version you are trying to use. CUDA 9 deprecated devices with CC 2.x like
the one you have.
Use an older version (cuda 8 or older) and it should work.
Hi,
pygpu is installed in /usr/local/lib/python3.7/site-packages/pygpu
NumPy version 1.14.5
NumPy relaxed strides checking option: True
NumPy is installed in /usr/local/lib/python3.7/site-packages/numpy
Python version 3.7.0 (default, Jun 28 2018, 13:15:42) [GCC 7.2.0]
nose version 1.3.7
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
EEEEEEEE
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
*Any suggestion to use old GPU? :-(*
Post by Arnaud Bergeron
Try to make a debug build of libgpuarray and run the tests again. This
may display more detailed information about the source of the error.
Otherwise I know I have encountered weird problems with the
ubuntu-packaged driver and have better luck with the original
nVidia-packaged one, so you can try to reinstall the driver from that.
Arnaud
I want use gpu (Tesla M2060) with Theano
lshw -c video
*-display
description: 3D controller
product: GF110GL [Tesla M2090]
vendor: NVIDIA Corporation
physical id: 0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:34 memory:f9000000-f9ffffff
memory:d8000000-dfffffff memory:d6000000-d7ffffff ioport:ec00(size=128)
memory:f8f80000-f8ffffff
I have install
· Ubuntu 18.04 LTS
· nvidia-driver-390 (nvidia-driver-390/bionic,now 390.48-0ubuntu3
amd64 [installed])
· miniconda (conda 4.5.8)
· with conda i have install theano-gpu and gpupy (conda install theano pygpu)
· theano (1.0.2)
I tryed use graphic card with cuda test. Example output queryDevice
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "Tesla M2090"
CUDA Driver Version / Runtime Version 9.1 / 9.1
CUDA Capability Major/Minor version number: 2.0
Total amount of global memory: 5302 MBytes (5559156736 bytes)
MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM
MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM
(16) Multiprocessors, ( 64) CUDA Cores/MP: 1024 CUDA Cores
GPU Max Clock rate: 1301 MHz (1.30 GHz)
Memory Clock rate: 1848 Mhz
Memory Bus Width: 384-bit
L2 Cache Size: 786432 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536,
65535), 3D=(2048, 2048, 2048)
Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 32768
Warp size: 32
Maximum number of threads per multiprocessor: 1536
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (65535, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 2 copy engine(s)
Run time limit on kernels: No
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Enabled
Device supports Unified Addressing (UVA): Yes
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 5 / 0
< Default (multiple host threads can use ::cudaSetDevice() with
device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 9.1, CUDA
Runtime Version = 9.1, NumDevs = 1
Result = PASS
export DEVICE=cuda
python -c "import pygpu;pygpu.test()"
pygpu is installed in /usr/local/lib/python3.7/site-packages/pygpu
NumPy version 1.14.5
NumPy relaxed strides checking option: True
NumPy is installed in /usr/local/lib/python3.7/site-packages/numpy
Python version 3.7.0 (default, Jun 28 2018, 13:15:42) [GCC 7.2.0]
nose version 1.3.7
EEEEEEEE
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_basic.py", line 5,
in <module>
from .support import (gen_gpuarray, context)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_blas.py",
line 5, in <module>
from .support import (guard_devsup, gen_gpuarray, context)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_collectives.py",
line 15, in <module>
from pygpu.tests.support import (check_all, gen_gpuarray, context as ctx)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_elemwise.py", line
13, in <module>
from .support import (guard_devsup, context, gen_gpuarray, check_meta_content)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_gpu_ndarray.py",
line 15, in <module>
from .support import (guard_devsup, check_meta, check_flags, check_all,
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_operations.py",
line 4, in <module>
from .support import (gen_gpuarray, context, SkipTest)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_reduction.py",
line 8, in <module>
from .support import (guard_devsup, check_meta_content, context, gen_gpuarray,
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418,
in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line
94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.7/site-packages/pygpu/tests/test_tools.py", line 3,
in <module>
from .support import context, gen_gpuarray
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py",
line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
----------------------------------------------------------------------
--
---
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.
Arnaud Bergeron
2018-07-31 16:08:35 UTC
Permalink
Maybe, but I'm not 100% sure. If we can get the first error to show up instead of the second one, that would be clear.
Is there an easy way to create a better error message from Theano for this case?
Well then the problem is clear. That GPU is not supported by the cuda version you are trying to use. CUDA 9 deprecated devices with CC 2.x like the one you have.
Use an older version (cuda 8 or older) and it should work.
Post by t***@gmail.com
Hi,
pygpu is installed in /usr/local/lib/python3.7/site-packages/pygpu
NumPy version 1.14.5
NumPy relaxed strides checking option: True
NumPy is installed in /usr/local/lib/python3.7/site-packages/numpy
Python version 3.7.0 (default, Jun 28 2018, 13:15:42) [GCC 7.2.0]
nose version 1.3.7
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
(Debug) ERROR 5: GPU is too old for CUDA version
(Debug) ERROR 14: No cuda device available
EEEEEEEE
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
Any suggestion to use old GPU? :-(
Try to make a debug build of libgpuarray and run the tests again. This may display more detailed information about the source of the error.
Otherwise I know I have encountered weird problems with the ubuntu-packaged driver and have better luck with the original nVidia-packaged one, so you can try to reinstall the driver from that.
Arnaud
Post by t***@gmail.com
I want use gpu (Tesla M2060) with Theano
lshw -c video
*-display
description: 3D controller
product: GF110GL [Tesla M2090]
vendor: NVIDIA Corporation
physical id: 0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:34 memory:f9000000-f9ffffff memory:d8000000-dfffffff memory:d6000000-d7ffffff ioport:ec00(size=128) memory:f8f80000-f8ffffff
I have install
· Ubuntu 18.04 LTS
· nvidia-driver-390 (nvidia-driver-390/bionic,now 390.48-0ubuntu3 amd64 [installed])
· miniconda (conda 4.5.8)
· with conda i have install theano-gpu and gpupy (conda install theano pygpu)
· theano (1.0.2)
I tryed use graphic card with cuda test. Example output queryDevice
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "Tesla M2090"
CUDA Driver Version / Runtime Version 9.1 / 9.1
CUDA Capability Major/Minor version number: 2.0
Total amount of global memory: 5302 MBytes (5559156736 bytes)
MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM
MapSMtoCores for SM 2.0 is undefined. Default to use 64 Cores/SM
(16) Multiprocessors, ( 64) CUDA Cores/MP: 1024 CUDA Cores
GPU Max Clock rate: 1301 MHz (1.30 GHz)
Memory Clock rate: 1848 Mhz
Memory Bus Width: 384-bit
L2 Cache Size: 786432 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, 65535), 3D=(2048, 2048, 2048)
Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 32768
Warp size: 32
Maximum number of threads per multiprocessor: 1536
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (65535, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 2 copy engine(s)
Run time limit on kernels: No
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Enabled
Device supports Unified Addressing (UVA): Yes
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 5 / 0
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 9.1, CUDA Runtime Version = 9.1, NumDevs = 1
Result = PASS
export DEVICE=cuda
python -c "import pygpu;pygpu.test()"
pygpu is installed in /usr/local/lib/python3.7/site-packages/pygpu
NumPy version 1.14.5
NumPy relaxed strides checking option: True
NumPy is installed in /usr/local/lib/python3.7/site-packages/numpy
Python version 3.7.0 (default, Jun 28 2018, 13:15:42) [GCC 7.2.0]
nose version 1.3.7
EEEEEEEE
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_basic.py", line 5, in <module>
from .support import (gen_gpuarray, context)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_blas.py", line 5, in <module>
from .support import (guard_devsup, gen_gpuarray, context)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_collectives.py", line 15, in <module>
from pygpu.tests.support import (check_all, gen_gpuarray, context as ctx)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_elemwise.py", line 13, in <module>
from .support import (guard_devsup, context, gen_gpuarray, check_meta_content)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_gpu_ndarray.py", line 15, in <module>
from .support import (guard_devsup, check_meta, check_flags, check_all,
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_operations.py", line 4, in <module>
from .support import (gen_gpuarray, context, SkipTest)
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_reduction.py", line 8, in <module>
from .support import (guard_devsup, check_meta_content, context, gen_gpuarray,
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
======================================================================
ERROR: Failure: GpuArrayException (b'No cuda device available')
----------------------------------------------------------------------
File "/usr/local/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/local/lib/python3.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/local/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/local/lib/python3.7/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/local/lib/python3.7/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/test_tools.py", line 3, in <module>
from .support import context, gen_gpuarray
File "/usr/local/lib/python3.7/site-packages/pygpu/tests/support.py", line 37, in <module>
context = gpuarray.init(get_env_dev())
File "pygpu/gpuarray.pyx", line 658, in pygpu.gpuarray.init
File "pygpu/gpuarray.pyx", line 587, in pygpu.gpuarray.pygpu_init
pygpu.gpuarray.GpuArrayException: b'No cuda device available'
----------------------------------------------------------------------
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
For more options, visit https://groups.google.com/d/optout <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.
Loading...