kirk86 commented on issue #4696: run errors URL: https://github.com/apache/incubator-mxnet/issues/4696#issuecomment-455740687 I still have this issue installing via pip `pip install mxnet-cu92` on a machine with multiple gpus throws error: ``` Python 3.7.2 (default, Dec 29 2018, 06:19:36) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> import mxnet as mx >>> mx.nd.ones((3,4)) [[1. 1. 1. 1.] [1. 1. 1. 1.] [1. 1. 1. 1.]] <NDArray 3x4 @cpu(0)> >>> mx.nd.ones((3,4), mx.gpu()) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/john/miniconda3/envs/apachenet/lib/python3.7/site-packages/mxnet/ndarray/ndarray.py", line 2367, in ones return _internal._ones(shape=shape, ctx=ctx, dtype=dtype, **kwargs) File "<string>", line 34, in _ones File "/home/john/miniconda3/envs/apachenet/lib/python3.7/site-packages/mxnet/_ctypes/ndarray.py", line 92, in _imperative_invoke ctypes.byref(out_stypes))) File "/home/john/miniconda3/envs/apachenet/lib/python3.7/site-packages/mxnet/base.py", line 251, in check_call raise MXNetError(py_str(_LIB.MXGetLastError())) mxnet.base.MXNetError: [01:44:30] src/engine/threaded_engine.cc:320: Check failed: device_count_ > 0 (-1 vs. 0) GPU usage requires at least 1 GPU ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
