InferModel set_buffer always sends 0 bytes on Raspberry Pi 5 aarch64 - HailoRT 4.23.0

Hi @eka_wijaya,

This is a numpy 2.x ABI incompatibility with the HailoRT aarch64 wheel. The C++ binding silently gets a null pointer when extracting the buffer.

Try to fix with:

pip install numpy==1.26.4

The HailoRT 4.23.0 wheel was built against numpy 1.x. Numpy 2.0 changed the C array interface, breaking set_buffer() on aarch64.

Please see also: