Skip to content
Discussion options

You must be logged in to vote

ppc64le does not have its own SIMD level in faiss. It gets a hand-tuned scalar fallback, not vectorized SIMD, and that has not changed in the current release.

I checked this against faiss-cpu 1.15.1 (pip install faiss-cpu) and the matching v1.15.1 source tag.

faiss/utils/simd_levels.h enumerates every SIMD level the library knows about:

enum class SIMDLevel {
    NONE,
    AVX2,
    AVX512,
    AVX512_SPR,
    ARM_NEON,
    ARM_SVE,
    RISCV_RVV,
    AVX512_VPOPCNT,
    COUNT
};

There is no PPC64/VSX entry. faiss/impl/simdlib/simdlib.h says exactly why, right above the include that picks the fallback:

// NONE specialization: always included.
// Provides simd16uint16_tpl<NONE> etc. (scal…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jenkins-J
Comment options

Answer selected by Jenkins-J
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants