D-Roberts opened a new issue #17529: np.random.gamma(1,0) and 
np.random.gamma(0,0) hang
URL: https://github.com/apache/incubator-mxnet/issues/17529
 
 
   ## Description
   On my system, numpy.random.gamma(1,0) and numpy.random.gamma(0,0) do not 
produce a value or an error, but just hang.
   
   In original numpy, they generate 0.0.
   
   ### Error Message
   No error message.
   
   ## To Reproduce
   
   ### Steps to reproduce
   
   1. build mxnet from source
   2. import mxnet as mx
   3. run:
   mx.numpy.random.gamma(1,0)
   mx.numpy.random.gamma(0,0)
   
   ## Environment
   ```
   ----------Python Info----------
   Version      : 3.7.6
   Compiler     : Clang 4.0.1 (tags/RELEASE_401/final)
   Build        : ('default', 'Jan  8 2020 13:42:34')
   Arch         : ('64bit', '')
   ------------Pip Info-----------
   Version      : 20.0.2
   Directory    : /Users/denisaroberts/anaconda3/lib/python3.7/site-packages/pip
   ----------MXNet Info-----------
   Version      : 1.6.0
   Directory    : /Users/denisaroberts/workspace/incubator-mxnet/python/mxnet
   Num GPUs     : 0
   Hashtag not found. Not installed from pre-built package.
   ----------System Info----------
   Platform     : Darwin-19.2.0-x86_64-i386-64bit
   system       : Darwin
   node         : 172-30-48-157.dynapool.nyu.edu
   release      : 19.2.0
   version      : Darwin Kernel Version 19.2.0: Sat Nov  9 03:47:04 PST 2019; 
root:xnu-6153.61.1~20/RELEASE_X86_64
   ----------Hardware Info----------
   machine      : x86_64
   processor    : i386
   b'machdep.cpu.brand_string: Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz'
   b'machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE 
MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ 
DTES64 MON DSCPL VMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE 
POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C'
   b'machdep.cpu.leaf7_features: RDWRFSGS TSC_THREAD_OFFSET SGX BMI1 AVX2 SMEP 
BMI2 ERMS INVPCID FPU_CSDS MPX RDSEED ADX SMAP CLFSOPT IPT MDCLEAR TSXFA IBRS 
STIBP L1DF SSBD'
   b'machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW 
RDTSCP TSCI'
   ----------Network Test----------
   Setting timeout: 10
   Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0387 
sec, LOAD: 0.7436 sec.
   Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0005 
sec, LOAD: 0.6133 sec.
   Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.0684 sec, LOAD: 
0.3190 sec.
   Timing for D2L: http://d2l.ai, DNS: 0.0491 sec, LOAD: 0.0512 sec.
   Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0144 sec, LOAD: 0.3125 sec.
   Timing for FashionMNIST: 
https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, 
DNS: 0.0464 sec, LOAD: 0.4697 sec.
   Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0107 sec, LOAD: 
0.3108 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0078 sec, 
LOAD: 0.0652 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:
[email protected]


With regards,
Apache Git Services

Reply via email to