Jetson Nano and Faiss

Trying to make faiss on jetson nano.

followed all instructions on :-faiss/INSTALL.md at master · facebookresearch/faiss · GitHub

Getting this:-
In function faiss::simd8float32::operator*(faiss::simd8float32 const&) const': distances_simd.cpp:(.text._ZNK5faiss12simd8float32mlERKS0_[_ZNK5faiss12simd8float32mlERKS0_]+0x2c): undefined reference to vmulq_f32(__Float32x4_t, __Float32x4_t)’
distances_simd.cpp:(.text.ZNK5faiss12simd8float32mlERKS0[ZNK5faiss12simd8float32mlERKS0]+0x30): undefined reference to vmulq_f32(__Float32x4_t, __Float32x4_t)' //usr/local/lib/libfaiss.a(distances_simd.cpp.o): In function faiss::simd8float32::operator-(faiss::simd8float32 const&) const’:
distances_simd.cpp:(.text.ZNK5faiss12simd8float32miERKS0[ZNK5faiss12simd8float32miERKS0]+0x2c): undefined reference to vsubq_f32(__Float32x4_t, __Float32x4_t)' distances_simd.cpp:(.text._ZNK5faiss12simd8float32miERKS0_[_ZNK5faiss12simd8float32miERKS0_]+0x30): undefined reference to vsubq_f32(__Float32x4_t, __Float32x4_t)’
//usr/local/lib/libfaiss.a(distances_simd.cpp.o): In function faiss::hadd(faiss::simd8float32 const&, faiss::simd8float32 const&)': distances_simd.cpp:(.text._ZN5faiss4haddERKNS_12simd8float32ES2_[_ZN5faiss4haddERKNS_12simd8float32ES2_]+0x2c): undefined reference to vpaddq_f32(__Float32x4_t, __Float32x4_t)’
distances_simd.cpp:(.text.ZN5faiss4haddERKNS_12simd8float32ES2[ZN5faiss4haddERKNS_12simd8float32ES2]+0x30): undefined reference to vpaddq_f32(__Float32x4_t, __Float32x4_t)' //usr/local/lib/libfaiss.a(partitioning.cpp.o): In function faiss::simd16uint16::accu_min(faiss::simd16uint16 const&)’:
partitioning.cpp:(.text.ZN5faiss12simd16uint168accu_minERKS0[ZN5faiss12simd16uint168accu_minERKS0]+0x30): undefined reference to vminq_u16(__Uint16x8_t, __Uint16x8_t)' partitioning.cpp:(.text._ZN5faiss12simd16uint168accu_minERKS0_[_ZN5faiss12simd16uint168accu_minERKS0_]+0x34): undefined reference to vminq_u16(__Uint16x8_t, __Uint16x8_t)’
//usr/local/lib/libfaiss.a(partitioning.cpp.o): In function faiss::simd16uint16::accu_max(faiss::simd16uint16 const&)': partitioning.cpp:(.text._ZN5faiss12simd16uint168accu_maxERKS0_[_ZN5faiss12simd16uint168accu_maxERKS0_]+0x30): undefined reference to vmaxq_u16(__Uint16x8_t, __Uint16x8_t)’
partitioning.cpp:(.text.ZN5faiss12simd16uint168accu_maxERKS0[ZN5faiss12simd16uint168accu_maxERKS0]+0x34): undefined reference to `vmaxq_u16(__Uint16x8_t, __Uint16x8_t)’

Any leads, whats causing this??

Hi,

Have you checked with Faiss team to see if they support the ARM environment?

Tanks.

Have Raised issue. lets see. thanks.

The issue was solved after we compiled it with cuda.