t***@gmail.com
2018-07-29 15:21:08 UTC
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!
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.
---
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.