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
Unable to replicate RPi0 tests #4701
Comments
Digging more into the neon dot error shows me that I'm hitting the issue as listed in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101723 (via #1465 ). As of now, the fix has not made it downstream into Debian bullseye unfortuantely, so successful local builds on Debian Bullseye with the neon-dot kernels is a pipe dream. Other than that, the other issues still stand. |
Try an older revision of XNNPack. We don't regularly test on pre-NEON ARM systems, and probably a recent refactoring broke something. |
@Maratyszcza , I tried that too. The version which last updated the raspberry pi benchmarks table (your commit 3c6d6b4 from
Debian Bookworm/testing is armel, not arm hf, and gcc-12/g++12 generated armel (no VFP) code. So I discarded this and went with Raspberry Pi OS Bookworm/testing which is armhf (armv6+VFP). Gcc 10.4 and 12.2 are available.
|
I am trying to verify the test results of the Raspberry Pi Zero W as listed in the table under the Raspberry Pi section in the README.md. However I am unable to get sane (or same) results:
As can be seen from the above, the test for
FP32 MobileNet v3 Large
does bit complete in the expected timeframe (i.e. less than the time take forFP32 MobileNet v2 1.0X
), but instead doesn't complete (maximum time before my patience ran out was a 16 hour overnight run).I ran
strace
on the binary in verbose mode withsudo strace ./build/local/end2end-bench --benchmark_min_time=5 --v=1000
. The last relevant bit of output is as follows:Then nothing after (no system calls of any sort). Even the quit signal doesn't prompt anything:
However
top
shows thatend2end-bench
is consuming all the compute resources on the RPi0 (18 hours into the run):My build was created using
scripts/build-local.sh
(as per the Raspberry Pi section) using the following parameters:bash -x ./scripts/build-local.sh -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DXNNPACK_ENABLE_ARM_DOTPROD:BOOL=OFF
The parameter
XNNPACK_ENABLE_ARM_DOTPROD:BOOL=OFF
is required for local builds on the Raspberry Pi Zero due to Neon specific SIMD assembly contained in the sources in the folderssrc/qc8-igemm/
andsrc/qc8-gemm/
, which the native armv6 assembler doesn't support:The environment is as below:
The text was updated successfully, but these errors were encountered: