You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/04/27 05:05:52 UTC

[GitHub] [incubator-mxnet] austinmw opened a new issue #18172: mxnet.numpy switches back to numpy in jupyter

austinmw opened a new issue #18172:
URL: https://github.com/apache/incubator-mxnet/issues/18172


   ## Description
   Strange `npx.set_np()` issue with jupyter lab. When I use np within the same cell as import and set, `np.array()` is of type `mxnet.numpy.ndarray`, but in a following cell it's instead type `numpy.ndarray`.
   
   ### Error Message
   
   > TypeError: 'ctx' is an invalid keyword argument for this function
   
   ## To Reproduce
   
   ![Screen Shot 2020-04-27 at 1 00 53 AM](https://user-images.githubusercontent.com/12224358/80335550-9cd9b380-8822-11ea-87d2-e88d6c0442c2.png)
   
   
   ## What have you tried to solve it?
   
   1. Experimented with different mxnet version
   2. Tried moving around operations
   
   ## Environment
   
   ```
   ----------Python Info----------
   Version      : 3.6.5
   Compiler     : GCC 7.2.0
   Build        : ('default', 'Apr 29 2018 16:14:56')
   Arch         : ('64bit', '')
   ------------Pip Info-----------
   Version      : 10.0.1
   Directory    : /home/ubuntu/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/pip
   ----------MXNet Info-----------
   Version      : 1.6.0
   Directory    : /home/ubuntu/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/mxnet
   Num GPUs     : 1
   Hashtag not found. Not installed from pre-built package.
   ----------System Info----------
   Platform     : Linux-4.15.0-1060-aws-x86_64-with-debian-buster-sid
   system       : Linux
   node         : ip-172-31-74-28
   release      : 4.15.0-1060-aws
   version      : #62-Ubuntu SMP Tue Feb 11 21:23:22 UTC 2020
   ----------Hardware Info----------
   machine      : x86_64
   processor    : x86_64
   Architecture:        x86_64
   CPU op-mode(s):      32-bit, 64-bit
   Byte Order:          Little Endian
   CPU(s):              4
   On-line CPU(s) list: 0-3
   Thread(s) per core:  2
   Core(s) per socket:  2
   Socket(s):           1
   NUMA node(s):        1
   Vendor ID:           GenuineIntel
   CPU family:          6
   Model:               85
   Model name:          Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
   Stepping:            7
   CPU MHz:             3184.957
   BogoMIPS:            4999.99
   Hypervisor vendor:   KVM
   Virtualization type: full
   L1d cache:           32K
   L1i cache:           32K
   L2 cache:            1024K
   L3 cache:            36608K
   NUMA node0 CPU(s):   0-3
   Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke avx512_vnni
   ----------Network Test----------
   Setting timeout: 10
   Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0017 sec, LOAD: 0.4756 sec.
   Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0004 sec, LOAD: 0.4359 sec.
   Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.0448 sec, LOAD: 0.1585 sec.
   Timing for D2L: http://d2l.ai, DNS: 0.0888 sec, LOAD: 0.1138 sec.
   Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0163 sec, LOAD: 0.1926 sec.
   Timing for FashionMNIST: https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0865 sec, LOAD: 0.3704 sec.
   Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0014 sec, LOAD: 0.0835 sec.
   Error open Conda: https://repo.continuum.io/pkgs/free/, HTTP Error 403: Forbidden, DNS finished in 0.0031137466430664062 sec.
   ```
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-mxnet] austinmw commented on issue #18172: mxnet.numpy switches back to numpy in jupyter

Posted by GitBox <gi...@apache.org>.
austinmw commented on issue #18172:
URL: https://github.com/apache/incubator-mxnet/issues/18172#issuecomment-619733354


   Going to close this as I think it's just specific to the latest version of jupyterlab.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-mxnet] leezu commented on issue #18172: mxnet.numpy switches back to numpy in jupyter

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #18172:
URL: https://github.com/apache/incubator-mxnet/issues/18172#issuecomment-620153243


   @austinmw could you link any related bug report on the jupyterlab side?


----------------------------------------------------------------
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:
users@infra.apache.org