Maratyszcza / NNPACK

Acceleration package for neural networks on multi-core CPUs
BSD 2-Clause "Simplified" License
1.67k stars 317 forks source link

smoketest fails in convolution-inference #142

Closed ghost closed 6 years ago

ghost commented 6 years ago

I just did a fresh compile of NNPACK because in my ported build I encountered a failure in the smoketest. But the same thing is happening in NNPACK.

[6/10] RUN convolution-inference-smoketest [==========] Running 132 tests from 9 test cases. [----------] Global test environment set-up. [----------] 16 tests from FT8x8 [ RUN ] FT8x8.single_tile Floating point exception (core dumped) FAILED: convolution-inference-smoketest /home/Filip/NNPACK/bin/convolution-inference-smoketest --gtest_color=yes ninja: build stopped: subcommand failed.

thanks

Maratyszcza commented 6 years ago

I tried it just now, and couldn't reproduce it. Could you post which platform you build on, and a complete sequence of commands you run during the build?

ghost commented 6 years ago

I'm on a fresh install of Ubuntu 18.04.

gcc 7.3

clang 6.0.0

sudo apt-get install ninja-build

sudo pip install --upgrade git+https://github.com/Maratyszcza/PeachPy

sudo pip install --upgrade git+https://github.com/Maratyszcza/confu

git clone https://github.com/Maratyszcza/NNPACK.git

cd NNPACK

confu setup

python configure.py

ninja

ninja smoketest

Maratyszcza commented 6 years ago

This is probably the same as #120. Work-around when using confu is to use clang ./configure --toolchain clang.

ghost commented 6 years ago

Thanks, the issue is gone when using clang.