Skip to content

Setting FAISS_OPT_LEVEL=avx512_spr drops avx512 build and fails on cmake install #4160

@kyamagu

Description

@kyamagu

The following line assumes libfaiss_avx512 is built when FAISS_OPT_LEVEL=avx512_spr.

install(TARGETS faiss_avx2 faiss_avx512 faiss_avx512_spr

But the following condition on avx512 is not true when FAISS_OPT_LEVEL=avx512_spr and install fails.

add_library(faiss_avx512 ${FAISS_SRC})

When FAISS_OPT_LEVEL=avx512_spr, which behavior is expected?

  • Build generic, avx2, and avx512_spr variants and drop avx512
  • Build all variants

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions