Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I've got "CUDARuntimeError : all CUDA-capable devices are busy or unavailable" #134

Open
hybridnighthawk opened this issue Nov 15, 2017 · 0 comments

Comments

@hybridnighthawk
Copy link

hybridnighthawk commented Nov 15, 2017

What caused this in the app?

Anyway, my attempt to run server.py was like this:

GPU: 0
start
load model
Traceback (most recent call last):
  File "server.py", line 165, in <module>
    painter = cgi_exe.Painter(gpu=args.gpu)
  File "./cgi-bin/paint_x2_unet\cgi_exe.py", line 42, in __init__
    self.cnn_128.to_gpu()
  File "C:\ProgramData\Miniconda3\lib\site-packages\chainer\link.py", line 733, in to_gpu
    d[name].to_gpu()
  File "C:\ProgramData\Miniconda3\lib\site-packages\chainer\link.py", line 370, in to_gpu
    d[name].to_gpu()
  File "C:\ProgramData\Miniconda3\lib\site-packages\chainer\variable.py", line 1192, in to_gpu
    super(Parameter, self).to_gpu(device)
  File "C:\ProgramData\Miniconda3\lib\site-packages\chainer\variable.py", line 690, in to_gpu
    self._data = [cuda.to_gpu(self.data, device)]
  File "C:\ProgramData\Miniconda3\lib\site-packages\chainer\cuda.py", line 291, in to_gpu
    return cupy.asarray(array)
  File "C:\ProgramData\Miniconda3\lib\site-packages\cupy\creation\from_data.py", line 61, in asarray

    return core.array(a, dtype, False)
  File "cupy/core/core.pyx", line 2017, in cupy.core.core.array
  File "cupy/core/core.pyx", line 2049, in cupy.core.core.array
  File "cupy/core/core.pyx", line 93, in cupy.core.core.ndarray.__init__
  File "cupy/cuda/memory.pyx", line 392, in cupy.cuda.memory.alloc
  File "cupy/cuda/memory.pyx", line 809, in cupy.cuda.memory.MemoryPool.malloc
  File "cupy/cuda/memory.pyx", line 830, in cupy.cuda.memory.MemoryPool.malloc
  File "cupy/cuda/memory.pyx", line 593, in cupy.cuda.memory.SingleDeviceMemoryPool.malloc
  File "cupy/cuda/memory.pyx", line 626, in cupy.cuda.memory.SingleDeviceMemoryPool._malloc
  File "cupy/cuda/memory.pyx", line 623, in cupy.cuda.memory.SingleDeviceMemoryPool._malloc
  File "cupy/cuda/memory.pyx", line 563, in cupy.cuda.memory.SingleDeviceMemoryPool._alloc
  File "cupy/cuda/memory.pyx", line 347, in cupy.cuda.memory._malloc
  File "cupy/cuda/memory.pyx", line 348, in cupy.cuda.memory._malloc
  File "cupy/cuda/memory.pyx", line 45, in cupy.cuda.memory.Memory.__init__
  File "cupy/cuda/runtime.pyx", line 214, in cupy.cuda.runtime.malloc
  File "cupy/cuda/runtime.pyx", line 137, in cupy.cuda.runtime.check_status
cupy.cuda.runtime.CUDARuntimeError: cudaErrorDevicesUnavailable: all CUDA-capable devices are busy or unavailable
@hybridnighthawk hybridnighthawk changed the title CUDARuntimeError : all CUDA-capable devices are busy or unavailable I've got "CUDARuntimeError : all CUDA-capable devices are busy or unavailable" Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant