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/01/30 11:32:18 UTC

[GitHub] [incubator-mxnet] fomkin opened a new issue #17483: Tests failed when I try to build scala-package from source

fomkin opened a new issue #17483: Tests failed when I try to build scala-package from source
URL: https://github.com/apache/incubator-mxnet/issues/17483
 
 
   ## Description
   
   I wanted to build Scala package from source. I just pulled repository (with submodules), compiled `*.so` libraries and run `./mvnw install`. Tests was failed.
   
   ### Error Message
   
   ```
   - scalar op *** FAILED ***
     0.59999996 was not less than or equal to 1.0E-5 (OperatorSuite.scala:1061)
   - symbol pow *** FAILED ***
     Infinity was not less than or equal to 1.0E-5 (OperatorSuite.scala:1061)
   - pow fn *** FAILED ***
     Infinity was not less than or equal to 1.0E-5 (OperatorSuite.scala:1061)
   ```
   
   ## Occurrences
   
   Tried on latest master and on latest tag.
   
   ### Steps to reproduce
   
   ```
   mkdir build
   mkdir lib
   cd build
   cmake -DCMAKE_CUDA_COMPILER=/usr/local/cuda-10.2/bin/nvcc -DUSE_CUDA=1 -DUSE_CUDA_PATH=/usr/local/cuda -DUSE_CUDNN=1 -DUSE_MKLDNN=1 -DCMAKE_BUILD_TYPE=Release -GNinja ..
   ninja -v
   find . -name "*.so" -exec cp -- "{}" ../lib/ \;
   cd ../scala-package
   ./mvnw install
   ```
   
   ## Environment
   
   We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
   ```
   ----------Python Info----------
   ('Version      :', '2.7.17')
   ('Compiler     :', 'GCC 8.3.0')
   ('Build        :', ('default', 'Nov  7 2019 10:07:09'))
   ('Arch         :', ('64bit', 'ELF'))
   ------------Pip Info-----------
   No corresponding pip install for current python.
   ----------MXNet Info-----------
   No MXNet installed.
   ----------System Info----------
   ('Platform     :', 'Linux-5.3.0-26-generic-x86_64-with-Ubuntu-19.10-eoan')
   ('system       :', 'Linux')
   ('node         :', 'fomkin-desktop-ubuntu')
   ('release      :', '5.3.0-26-generic')
   ('version      :', '#28-Ubuntu SMP Wed Dec 18 05:37:46 UTC 2019')
   ----------Hardware Info----------
   ('machine      :', 'x86_64')
   ('processor    :', 'x86_64')
   Architecture:                    x86_64
   CPU op-mode(s):                  32-bit, 64-bit
   Byte Order:                      Little Endian
   Address sizes:                   39 bits physical, 48 bits virtual
   CPU(s):                          6
   On-line CPU(s) list:             0-5
   Thread(s) per core:              1
   Core(s) per socket:              6
   Socket(s):                       1
   NUMA node(s):                    1
   Vendor ID:                       GenuineIntel
   CPU family:                      6
   Model:                           158
   Model name:                      Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
   Stepping:                        10
   CPU MHz:                         3409.984
   CPU max MHz:                     4100,0000
   CPU min MHz:                     800,0000
   BogoMIPS:                        5799.77
   Virtualization:                  VT-x
   L1d cache:                       192 KiB
   L1i cache:                       192 KiB
   L2 cache:                        1,5 MiB
   L3 cache:                        9 MiB
   NUMA node0 CPU(s):               0-5
   Vulnerability Itlb multihit:     KVM: Mitigation: Split huge pages
   Vulnerability L1tf:              Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled
   Vulnerability Mds:               Mitigation; Clear CPU buffers; SMT disabled
   Vulnerability Meltdown:          Mitigation; PTI
   Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
   Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
   Vulnerability Spectre v2:        Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling
   Vulnerability Tsx async abort:   Not affected
   Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_
                                    perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2ap
                                    ic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept
                                     vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_no
                                    tify hwp_act_window hwp_epp md_clear flush_l1d
   ----------Network Test----------
   Setting timeout: 10
   Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0020 sec, LOAD: 1.1347 sec.
   Timing for D2L: http://d2l.ai, DNS: 0.0686 sec, LOAD: 0.2948 sec.
   Timing for FashionMNIST: https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.1597 sec, LOAD: 0.8438 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0562 sec, LOAD: 0.2276 sec.
   Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0263 sec, LOAD: 0.7404 sec.
   Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.1076 sec, LOAD: 0.6628 sec.
   Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0479 sec, LOAD: 0.3260 sec.
   Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0006 sec, LOAD: 0.8336 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


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] fomkin commented on issue #17483: Tests failed when I try to build scala-package from source

Posted by GitBox <gi...@apache.org>.
fomkin commented on issue #17483: Tests failed when I try to build scala-package from source
URL: https://github.com/apache/incubator-mxnet/issues/17483#issuecomment-582304866
 
 
   @lanking520 
   
   > Tried on latest master and on latest tag.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #17483: Tests failed when I try to build scala-package from source

Posted by GitBox <gi...@apache.org>.
ChaiBapchya commented on issue #17483: Tests failed when I try to build scala-package from source
URL: https://github.com/apache/incubator-mxnet/issues/17483#issuecomment-580985504
 
 
   @zachgk @lanking520 any idea?

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] lanking520 commented on issue #17483: Tests failed when I try to build scala-package from source

Posted by GitBox <gi...@apache.org>.
lanking520 commented on issue #17483: Tests failed when I try to build scala-package from source
URL: https://github.com/apache/incubator-mxnet/issues/17483#issuecomment-582115697
 
 
   which code base did you built on? It did not seemed to have problem on my end with most recent master build on CPU.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] fomkin commented on issue #17483: Tests failed when I try to build scala-package from source

Posted by GitBox <gi...@apache.org>.
fomkin commented on issue #17483: Tests failed when I try to build scala-package from source
URL: https://github.com/apache/incubator-mxnet/issues/17483#issuecomment-580884164
 
 
   I've got same result when compile libmxnet with `make`.
   
   ```
   make USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1
   ```

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #17483: Tests failed when I try to build scala-package from source

Posted by GitBox <gi...@apache.org>.
ChaiBapchya commented on issue #17483: Tests failed when I try to build scala-package from source
URL: https://github.com/apache/incubator-mxnet/issues/17483#issuecomment-592375627
 
 
   @zachgk @lanking520 gentle reminder

----------------------------------------------------------------
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


With regards,
Apache Git Services