Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Tests failed when I try to build scala-package from source #17483

Open
fomkin opened this issue Jan 30, 2020 · 5 comments
Open

Tests failed when I try to build scala-package from source #17483

fomkin opened this issue Jan 30, 2020 · 5 comments

Comments

@fomkin
Copy link

fomkin commented Jan 30, 2020

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.
@leezu leezu added the Scala label Jan 30, 2020
@fomkin
Copy link
Author

fomkin commented Jan 31, 2020

I've got same result when compile libmxnet with make.

make USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1

@ChaiBapchya
Copy link
Contributor

@zachgk @lanking520 any idea?

@lanking520
Copy link
Member

which code base did you built on? It did not seemed to have problem on my end with most recent master build on CPU.

@fomkin
Copy link
Author

fomkin commented Feb 5, 2020

@lanking520

Tried on latest master and on latest tag.

@ChaiBapchya
Copy link
Contributor

@zachgk @lanking520 gentle reminder

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants