Open TheJohnHanson1 opened 1 year ago
hi,
can you post the entire output of the command, with all the errors?
Thanks, Vito
Hi Vito Thanks so much for responding - I was so happy making it through everything, but, as usual, the last step was the cliff-
Linux PI64bit 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Oct 9 15:24:54 2023 from 192.168.86.5 pi@PI64bit:~ $ cd OnnxStream pi@PI64bit:~/OnnxStream $ cd src pi@PI64bit:~/OnnxStream/src $ cd build pi@PI64bit:~/OnnxStream/src/build $ cmake -DMAX_SPEED=ON -DXNNPACK_DIR=/home/pi/XNNPACK .. -- Configuring done -- Generating done -- Build files have been written to: /home/pi/OnnxStream/src/build pi@PI64bit:~/OnnxStream/src/build $ cmake --build . --config Release [ 33%] Building CXX object CMakeFiles/sd.dir/onnxstream.cpp.o In file included from /usr/include/c++/10/bits/stl_algobase.h:64, from /usr/include/c++/10/vector:60, from /home/pi/OnnxStream/src/onnxstream.h:4, from /home/pi/OnnxStream/src/onnxstream.cpp:1: /usr/include/c++/10/bits/stl_pair.h: In instantiation of ‘constexpr std::pair<typename std::strip_reference_wrapper<typename std::decay<_Tp>::type>::type, typename std::strip_reference_wrapper<typename std::decay<_Tp2>::type>::type> std::make_pair(_T1&&, _T2&&) [with _T1 = float&; _T2 = float&; typename std::strip_reference_wrapper<typename std::decay<_Tp2>::type>::type = float; typename std::strip_reference_wrapper<typename std::decay<_Tp>::type>::type = float]’: /home/pi/OnnxStream/src/onnxstream.cpp:2085:60: required from here /usr/include/c++/10/bits/stl_pair.h:567:5: note: parameter passing for argument of type ‘std::pair<float, float>’ when C++17 is enabled changed to match C++14 in GCC 10.1 567 | make_pair(_T1&& __x, _T2&& __y) | ^ |
xnn_setup_transpose_nd_xxx = &xnn_setup_transpose_nd_x32; | ^ |
---|---|---|---|---|
xnn_status ()(xnn_operator_t, const void, void) {aka xnn_status ()(xnn_operator, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_transpose_nd_xxx = &xnn_setup_transpose_nd_x16; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const void, void) {aka xnn_status ()(xnn_operator, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_transpose_nd_xxx = &xnn_setup_transpose_nd_x8; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const void, void) {aka xnn_status ()(xnn_operator, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_fully_connected_nc_xxx = &xnn_setup_fully_connected_nc_f32; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const float, float) {aka xnn_status ()(xnn_operator, const float, float*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_fully_connected_nc_xxx = &xnn_setup_fully_connected_nc_f16; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const void, void) {aka xnn_status ()(xnn_operator, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_reshape_convolution2d_nhwc_xxx = &xnn_reshape_convolution2d_nhwc_f32; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, size_t, size_t, size_t, size_t, size_t, size_t, size_t, pthreadpool_t) {aka xnn_status ()(xnn_operator, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, pthreadpool)} |
/home/pi/OnnxStream/src/onnxstream.cpp:592:49: error: invalid conversion from ‘xnn_status ()(xnn_operator_t, void, const float, float)’ {aka ‘xnn_status ()(xnn_operator, void, const float, float)’} to ‘xnn_status ()(xnn_operator_t, const xnn_ptr_type, xnn_ptr_type)’ {aka ‘xnn_status ()(xnn_operator, const float, float)’} [-fpermissive] 592 | xnn_setup_convolution2d_nhwc_xxx = &xnn_setup_convolution2d_nhwc_f32; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, void, const float, float) {aka xnn_status ()(xnn_operator, void, const float, float*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_reshape_convolution2d_nhwc_xxx = &xnn_reshape_convolution2d_nhwc_f16; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, size_t, size_t, size_t, size_t, size_t, size_t, size_t, pthreadpool_t) {aka xnn_status ()(xnn_operator, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, pthreadpool)} |
/home/pi/OnnxStream/src/onnxstream.cpp:598:49: error: invalid conversion from ‘xnn_status ()(xnn_operator_t, void, const void, void)’ {aka ‘xnn_status ()(xnn_operator, void, const void, void)’} to ‘xnn_status ()(xnn_operator_t, const xnn_ptr_type, xnn_ptr_type)’ {aka ‘xnn_status ()(xnn_operator, const void, void)’} [-fpermissive] 598 | xnn_setup_convolution2d_nhwc_xxx = &xnn_setup_convolution2d_nhwc_f16; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, void, const void, void) {aka xnn_status ()(xnn_operator, void, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_reshape_convolution2d_nhwc_xxx = &xnn_reshape_convolution2d_nhwc_qu8; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, size_t, size_t, size_t, size_t, size_t, size_t, size_t, pthreadpool_t) {aka xnn_status ()(xnn_operator, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, pthreadpool)} |
/home/pi/OnnxStream/src/onnxstream.cpp:604:49: error: invalid conversion from ‘xnn_status ()(xnn_operator_t, void, const uint8_t, uint8_t)’ {aka ‘xnn_status ()(xnn_operator, void, const unsigned char, unsigned char)’} to ‘xnn_status ()(xnn_operator_t, const xnn_ptr_type, xnn_ptr_type)’ {aka ‘xnn_status ()(xnn_operator, const unsigned char, unsigned char)’} [-fpermissive] 604 | xnn_setup_convolution2d_nhwc_xxx = &xnn_setup_convolution2d_nhwc_qu8; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, void, const uint8_t, uint8_t) {aka xnn_status ()(xnn_operator, void, const unsigned char, unsigned char*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_fully_connected_nc_xxx = &xnn_setup_fully_connected_nc_qu8; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const uint8_t, uint8_t) {aka xnn_status ()(xnn_operator, const unsigned char, unsigned char*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_softmax_nc_xxx = &xnn_setup_softmax_nc_f32; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const float, float) {aka xnn_status ()(xnn_operator, const float, float*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_softmax_nc_xxx = &xnn_setup_softmax_nc_f16; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const void, void) {aka xnn_status ()(xnn_operator, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_softmax_nc_xxx = &xnn_setup_softmax_nc_qu8; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const uint8_t, uint8_t) {aka xnn_status ()(xnn_operator, const unsigned char, unsigned char*)} |
In file included from /home/pi/OnnxStream/src/onnxstream.cpp:1:
/home/pi/OnnxStream/src/onnxstream.h:79:5: error: ‘onnxstream::scope_guard::scope_guard(Callable&&) [with Callable = onnxstream::XnnPack::transpose~~
/home/pi/OnnxStream/src/onnxstream.h:79:5: error: ‘onnxstream::scope_guard::scope_guard(Callable&&) [with Callable = onnxstream::XnnPack::transpose
Very strange! Running 64 bity lite, pi zero 2 W. I came to this point from trying e-paper-slow-generative-art project (https://github.com/rvdveen/epaper-slow-generative-art/tree/main) which looks like fun. Thanks again! John Hanson
I didn't know about this project that uses OnnxStream! Really cute!
Regarding the build error, it seems that you are compiling against the wrong version of XnnPack.
Make sure to run the "git checkout" command before building XnnPack, as in the instructions in the main README.
Vito
Hey Vito- Thanks again for the tip, I thought I found my stupid error ( remove comment from git checkout - Duh!) and it looked like it was successful, but it looks like the same error -
Linux PI64bit 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Oct 10 10:22:48 2023 from 192.168.86.5
pi@PI64bit:~ $ cd XNNPACK
pi@PI64bit:~/XNNPACK $ git rev-list -n 1 --before="2023-06-27 00:00" master
79dd4bd459185ca2224f4415df61cbc18926f9b6
pi@PI64bit:~/XNNPACK $ git checkout |
make_pair(_T1&& __x, _T2&& __y) | ^ |
xnn_setup_transpose_nd_xxx = &xnn_setup_transpose_nd_x32; | ^ |
---|---|---|---|---|
xnn_status ()(xnn_operator_t, const void, void) {aka xnn_status ()(xnn_operator, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_transpose_nd_xxx = &xnn_setup_transpose_nd_x16; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const void, void) {aka xnn_status ()(xnn_operator, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_transpose_nd_xxx = &xnn_setup_transpose_nd_x8; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const void, void) {aka xnn_status ()(xnn_operator, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_fully_connected_nc_xxx = &xnn_setup_fully_connected_nc_f32; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const float, float) {aka xnn_status ()(xnn_operator, const float, float*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_fully_connected_nc_xxx = &xnn_setup_fully_connected_nc_f16; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const void, void) {aka xnn_status ()(xnn_operator, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_reshape_convolution2d_nhwc_xxx = &xnn_reshape_convolution2d_nhwc_f32; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, size_t, size_t, size_t, size_t, size_t, size_t, size_t, pthreadpool_t) {aka xnn_status ()(xnn_operator, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, pthreadpool)} |
/home/pi/OnnxStream/src/onnxstream.cpp:592:49: error: invalid conversion from ‘xnn_status ()(xnn_operator_t, void, const float, float)’ {aka ‘xnn_status ()(xnn_operator, void, const float, float)’} to ‘xnn_status ()(xnn_operator_t, const xnn_ptr_type, xnn_ptr_type)’ {aka ‘xnn_status ()(xnn_operator, const float, float)’} [-fpermissive] 592 | xnn_setup_convolution2d_nhwc_xxx = &xnn_setup_convolution2d_nhwc_f32; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, void, const float, float) {aka xnn_status ()(xnn_operator, void, const float, float*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_reshape_convolution2d_nhwc_xxx = &xnn_reshape_convolution2d_nhwc_f16; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, size_t, size_t, size_t, size_t, size_t, size_t, size_t, pthreadpool_t) {aka xnn_status ()(xnn_operator, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, pthreadpool)} |
/home/pi/OnnxStream/src/onnxstream.cpp:598:49: error: invalid conversion from ‘xnn_status ()(xnn_operator_t, void, const void, void)’ {aka ‘xnn_status ()(xnn_operator, void, const void, void)’} to ‘xnn_status ()(xnn_operator_t, const xnn_ptr_type, xnn_ptr_type)’ {aka ‘xnn_status ()(xnn_operator, const void, void)’} [-fpermissive] 598 | xnn_setup_convolution2d_nhwc_xxx = &xnn_setup_convolution2d_nhwc_f16; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, void, const void, void) {aka xnn_status ()(xnn_operator, void, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_reshape_convolution2d_nhwc_xxx = &xnn_reshape_convolution2d_nhwc_qu8; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, size_t, size_t, size_t, size_t, size_t, size_t, size_t, pthreadpool_t) {aka xnn_status ()(xnn_operator, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int, pthreadpool)} |
/home/pi/OnnxStream/src/onnxstream.cpp:604:49: error: invalid conversion from ‘xnn_status ()(xnn_operator_t, void, const uint8_t, uint8_t)’ {aka ‘xnn_status ()(xnn_operator, void, const unsigned char, unsigned char)’} to ‘xnn_status ()(xnn_operator_t, const xnn_ptr_type, xnn_ptr_type)’ {aka ‘xnn_status ()(xnn_operator, const unsigned char, unsigned char)’} [-fpermissive] 604 | xnn_setup_convolution2d_nhwc_xxx = &xnn_setup_convolution2d_nhwc_qu8; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, void, const uint8_t, uint8_t) {aka xnn_status ()(xnn_operator, void, const unsigned char, unsigned char*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_fully_connected_nc_xxx = &xnn_setup_fully_connected_nc_qu8; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const uint8_t, uint8_t) {aka xnn_status ()(xnn_operator, const unsigned char, unsigned char*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_softmax_nc_xxx = &xnn_setup_softmax_nc_f32; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const float, float) {aka xnn_status ()(xnn_operator, const float, float*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_softmax_nc_xxx = &xnn_setup_softmax_nc_f16; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const void, void) {aka xnn_status ()(xnn_operator, const void, void*)} |
/home/pi/OnnxStream/src/onnxstream.cpp: In instantiation of ‘std::pair<std::vector |
xnn_setup_softmax_nc_xxx = &xnn_setup_softmax_nc_qu8; | ^ |
---|---|---|
xnn_status ()(xnn_operator_t, const uint8_t, uint8_t) {aka xnn_status ()(xnn_operator, const unsigned char, unsigned char*)} |
In file included from /home/pi/OnnxStream/src/onnxstream.cpp:1:
/home/pi/OnnxStream/src/onnxstream.h:79:5: error: ‘onnxstream::scope_guard::scope_guard(Callable&&) [with Callable = onnxstream::XnnPack::transpose~~
/home/pi/OnnxStream/src/onnxstream.h:79:5: error: ‘onnxstream::scope_guard::scope_guard(Callable&&) [with Callable = onnxstream::XnnPack::transpose
I hate bugging you with my stupid errors, but this project does look like fun! Thanks! John
No problem :-)
Instead of "git checkout" without parameters, you should type "git checkout 79dd4bd459185ca2224f4415df61cbc18926f9b6".
Vito
Hi Vito
Almost!! I ran the correct git checkout and it looked like a successful compile - ran a long time, no errors. Then the OnnxStream build started differently, looked like it might run , but----- [100%] Building C object cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/arm/linux/midr.c.o
[100%] Building C object cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/arm/linux/hwcap.c.o
[100%] Building C object cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/arm/linux/aarch64-isa.c.o
[100%] Building C object cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/smallfile.c.o
[100%] Building C object cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/multiline.c.o
[100%] Building C object cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/cpulist.c.o
[100%] Building C object cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/linux/processors.c.o
[100%] Linking C static library libcpuinfo_internals.a
[100%] Built target cpuinfo_internals
pi@PI64bit:~/XNNPACK/build $ cd OnnxStream
-bash: cd: OnnxStream: No such file or directory
pi@PI64bit:~/XNNPACK/build $ cd /OnnxStream
-bash: cd: /OnnxStream: No such file or directory
pi@PI64bit:~/XNNPACK/build $ cd /home/pi
pi@PI64bit:~ $ cd /OnnxStream
-bash: cd: /OnnxStream: No such file or directory
pi@PI64bit:~ $ ls
epaper-slow-generative-art OnnxStream XNNPACK
pi@PI64bit:~ $ cd OnnxStream
pi@PI64bit:~/OnnxStream $ cd src
pi@PI64bit:~/OnnxStream/src $ cd build
pi@PI64bit:~/OnnxStream/src/build $ cmake -DMAX_SPEED=ON -DXNNPACK_DIR=/home/pi/XNNPACK ..
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/OnnxStream/src/build
pi@PI64bit:~/OnnxStream/src/build $ cmake --build . --config Release
[ 33%] Building CXX object CMakeFiles/sd.dir/onnxstream.cpp.o
In file included from /usr/include/c++/10/bits/stl_algobase.h:64,
from /usr/include/c++/10/vector:60,
from /home/pi/OnnxStream/src/onnxstream.h:4,
from /home/pi/OnnxStream/src/onnxstream.cpp:1:
/usr/include/c++/10/bits/stl_pair.h: In instantiation of ‘constexpr std::pair<typename std::strip_reference_wrapper<typename std::decay<_Tp>::type>::type, typename std::strip_reference_wrapper<typename std::decay<_Tp2>::type>::type> std::make_pair(_T1&&, _T2&&) [with _T1 = float&; _T2 = float&; typename std::strip_reference_wrapper<typename std::decay<_Tp2>::type>::type = float; typename std::strip_reference_wrapper<typename std::decay<_Tp>::type>::type = float]’:
/home/pi/OnnxStream/src/onnxstream.cpp:2085:60: required from here
/usr/include/c++/10/bits/stl_pair.h:567:5: note: parameter passing for argument of type ‘std::pair<float, float>’ when C++17 is enabled changed to match C++14 in GCC 10.1
567 | make_pair(_T1&& __x, _T2&& __y)
| ^~~~~
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gmake[2]: [CMakeFiles/sd.dir/build.make:95: CMakeFiles/sd.dir/onnxstream.cpp.o] Error 1
gmake[1]: [CMakeFiles/Makefile2:95: CMakeFiles/sd.dir/all] Error 2
gmake: *** [Makefile:103: all] Error 2
pi@PI64bit:~/OnnxStream/src/build $
Very strange. Should I change -DMAX_SPEED=ON - ? Would I have better luck on a Pi 4 ? Sorry to be such a pest! John
It happens to me too with the RPI Zero 2 :-)
Try rebooting and if it keeps happening, try increasing the swap space.
Vito
Hi Vito-
Yaay! That was it - brought swap file to 1024 and all is well.
The
https://github.com/rvdveen/epaper-slow-generative-art/tree/main
page said
Put the weights from https://github.com/vitoplantamura/OnnxStream/releases in
so now I have this content (sd.exe etc.) in /home/pi/weights and I cloned the hugging face weights ok.
What is the correct syntax for starting the example on pi zero 2? Do I need to worry about --rpi or --rpi-lowmem ?
After I get it to run I will head back to https://github.com/rvdveen/epaper-slow-generative-art/tree/main and try to decipher his commands (55 5 * reboot ??? PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
0 6,11,16,21 * cd epaper-slow-generative-art && /usr/bin/flock -w 0 ./loop-once.sh ./loop-once.sh >> /tmp/generate.log 2>&1 ???) Thanks again for your help! Someday I might know 1% of what you know in this field! If I get it going I will send you a pic. John
just use "--rpi" :-)
Vito
I made it through cmake install, and XNNPACK build without errors, but the OnnxStream build bombs out -- 100%] Built target cpuinfo_internals pi@PI64bit:~/XNNPACK/build $ cd /home/pi pi@PI64bit:~ $ cd OnnxStream cd src pi@PI64bit:~/OnnxStream/src $ cd build pi@PI64bit:~/OnnxStream/src/build $ cmake -DMAX_SPEED=ON -DXNNPACK_DIR=/home/pi/ XNNPACK .. -- Configuring done -- Generating done -- Build files have been written to: /home/pi/OnnxStream/src/build pi@PI64bit:~/OnnxStream/src/build $ cmake --build . --config Release [ 33%] Building CXX object CMakeFiles/sd.dir/onnxstream.cpp.o In file included from /usr/include/c++/10/bits/stl_algobase.h:64, from /usr/include/c++/10/vector:60, from /home/pi/OnnxStream/src/onnxstream.h:4, from /home/pi/OnnxStream/src/onnxstream.cpp:1: /usr/include/c++/10/bits/stl_pair.h: In i
-- the usual pages of errors, ending in --- home/pi/OnnxStream/src/onnxstream.h:79:5: error: ‘onnxstream::scope_guard::scop e_guard(Callable&&) [with Callable = onnxstream::XnnPack::softmax ::<lambda()>]’, declared using local type ‘onnxstream::XnnPack::softmax::<lambda()>’, is used but never defined [-fpermissive]
gmake[2]: [CMakeFiles/sd.dir/build.make:95: CMakeFiles/sd.dir/onnxstream.cpp .o] Error 1
gmake[1]: [CMakeFiles/Makefile2:95: CMakeFiles/sd.dir/all] Error 2
gmake: *** [Makefile:103: all] Error 2
pi@PI64bit:~/OnnxStream/src/build $
Darn! almost made it! Bard is stumped. Ruinning pi zero 2 W 64 bit tiny raspbian.