Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails on ppc64le #114

Closed
janfrode opened this issue Nov 2, 2017 · 4 comments
Closed

build fails on ppc64le #114

janfrode opened this issue Nov 2, 2017 · 4 comments

Comments

@janfrode
Copy link

janfrode commented Nov 2, 2017

I failed to build on ppc64le because of:

~/caffe2-1/third_party/NNPACK$ cmake .
CMake Error at CMakeLists.txt:30 (MESSAGE):
Unrecognized CMAKE_SYSTEM_PROCESSOR = ppc64le

It works if I add ppc64le to line 29 of CMakeLists.txt:

ELSEIF(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^(i686|x86_64|armv5te|armv7-a|armv7l|aarch64|ppc64le)$")

janfrode added a commit to janfrode/NNPACK that referenced this issue Nov 2, 2017
@janfrode
Copy link
Author

janfrode commented Nov 2, 2017

But maybe this isn't enough.. I see now that it's failing on some test. i.e.:

$ make test
Running tests...
Test project /home/janfrode/caffe2-1/third_party/NNPACK
Start 1: convolution-output-smoketest
1/34 Test #1: convolution-output-smoketest ............***Failed 6.17 sec

[----------] Global test environment tear-down
[==========] 52 tests from 3 test cases ran. (6166 ms total)
[ PASSED ] 50 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] WT8x8.few_output_channels
[ FAILED ] WT8x8.few_output_channels_with_relu

and then:

  Start  2: convolution-output-alexnet

2/34 Test #2: convolution-output-alexnet ..............***Failed 334.10 sec

[==========] 22 tests from 3 test cases ran. (334097 ms total)
[ PASSED ] 16 tests.
[ FAILED ] 6 tests, listed below:
[ FAILED ] WT8x8.conv3
[ FAILED ] WT8x8.conv3_with_relu
[ FAILED ] WT8x8.conv4
[ FAILED ] WT8x8.conv4_with_relu
[ FAILED ] WT8x8.conv5
[ FAILED ] WT8x8.conv5_with_relu

I obviously have no idea what I'm doing, so if someone would be interested in guiding me through debugging this, that would be much appreciated.

@Maratyszcza
Copy link
Owner

Try to configure with -DNNPACK_BACKEND="psimd", maybe that helps

@Maratyszcza
Copy link
Owner

Generally, NNPACK on PPC64 is not supported, and some planned future changes will make it impossible to build on PPC64.

@janfrode
Copy link
Author

janfrode commented Nov 3, 2017

Ok, thanks. I'll just disable NNPACK in my caffe2 build then.

@janfrode janfrode closed this as completed Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants