Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Error when apply mx.sym.simple_bind() on gpu #4764

Closed
back2yes opened this issue Jan 22, 2017 · 1 comment
Closed

Error when apply mx.sym.simple_bind() on gpu #4764

back2yes opened this issue Jan 22, 2017 · 1 comment

Comments

@back2yes
Copy link

Hi, I was following the tutorial about mx.sym.simple_bind() at mxnet-notebook

Everything was fine until I changed the device context from mx.cpu() to mx.gpu(). By the way, everything was fine on gpu when I work with mx.mod.Module.

The error information is as follows:

[21:13:43] /home/x/Github/mxnet_20161229/dmlc-core/include/dmlc/./logging.h:300: [21:13:43] /home/x/Github/mxnet_20161229/mshadow/mshadow/./stream_gpu-inl.h:98: Check failed: err == CUBLAS_STATUS_SUCCESS (1 vs. 0) Create cublas handle failed

Stack trace returned 5 entries:
[bt] (0) /home/x/anaconda2/lib/python2.7/site-packages/mxnet-0.9.1-py2.7-linux-x86_64.egg/mxnet/libmxnet.so(_ZN7mshadow9NewStreamINS_3gpuEEEPNS_6StreamIT_EEbb+0x1a76) [0x7fd4720c08f6]
[bt] (1) /home/x/anaconda2/lib/python2.7/site-packages/mxnet-0.9.1-py2.7-linux-x86_64.egg/mxnet/libmxnet.so(_ZNSt17_Function_handlerIFvvEZZN5mxnet6engine23ThreadedEnginePerDevice13PushToExecuteEPNS2_8OprBlockEbENKUlvE1_clEvEUlvE_E9_M_invokeERKSt9_Any_data+0xcf) [0x7fd4720e738f]
[bt] (2) /home/x/anaconda2/bin/../lib/libstdc++.so.6(+0xb6560) [0x7fd459a33560]
[bt] (3) /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7fd489b376ba]
[bt] (4) /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fd48915d82d]

terminate called after throwing an instance of 'dmlc::Error'
  what():  [21:13:43] /home/x/Github/mxnet_20161229/mshadow/mshadow/./stream_gpu-inl.h:98: Check failed: err == CUBLAS_STATUS_SUCCESS (1 vs. 0) Create cublas handle failed

Stack trace returned 5 entries:
[bt] (0) /home/x/anaconda2/lib/python2.7/site-packages/mxnet-0.9.1-py2.7-linux-x86_64.egg/mxnet/libmxnet.so(_ZN7mshadow9NewStreamINS_3gpuEEEPNS_6StreamIT_EEbb+0x1a76) [0x7fd4720c08f6]
[bt] (1) /home/x/anaconda2/lib/python2.7/site-packages/mxnet-0.9.1-py2.7-linux-x86_64.egg/mxnet/libmxnet.so(_ZNSt17_Function_handlerIFvvEZZN5mxnet6engine23ThreadedEnginePerDevice13PushToExecuteEPNS2_8OprBlockEbENKUlvE1_clEvEUlvE_E9_M_invokeERKSt9_Any_data+0xcf) [0x7fd4720e738f]
[bt] (2) /home/x/anaconda2/bin/../lib/libstdc++.so.6(+0xb6560) [0x7fd459a33560]
[bt] (3) /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7fd489b376ba]
[bt] (4) /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fd48915d82d]
@FzuLJ
Copy link

FzuLJ commented Jun 14, 2018

Hi I met the same problem. Do you know how to solve this problem? @back2yes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants