stu1130 edited a comment on issue #15017: Issue in using nd.ones((3, 4), 
ctx=gpu()) , CUDA 10.1
URL: 
https://github.com/apache/incubator-mxnet/issues/15017#issuecomment-494484438
 
 
   @kaivu1999 
   I am using Deep Learning base ami ubuntu 16.04, mxnet-cu101(1.4.1), Driver 
Version: 418.39. I can't reproduce your issue.
   ```
   nvcc -V
   nvcc: NVIDIA (R) Cuda compiler driver
   Copyright (c) 2005-2019 NVIDIA Corporation
   Built on Fri_Feb__8_19:08:17_PST_2019
   Cuda compilation tools, release 10.1, V10.1.105
   ```
   ```
   >>> import mxnet as mx
   >>> mx.nd.ones((3,4), ctx=mx.gpu())
   
   [[1. 1. 1. 1.]
    [1. 1. 1. 1.]
    [1. 1. 1. 1.]]
   <NDArray 3x4 @gpu(0)>
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

Reply via email to