Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSEL.IVFFSQ c++ unit test fails on my machine #3303

Open
alexanderguzhva opened this issue Mar 21, 2024 · 0 comments
Open

TSEL.IVFFSQ c++ unit test fails on my machine #3303

alexanderguzhva opened this issue Mar 21, 2024 · 0 comments

Comments

@alexanderguzhva
Copy link
Contributor

Summary

Platform

OS: Linux

Faiss version: 9c79e3d (from March 20, 2024)

Installed from: compiled using GCC 11.4 and clang 18.1.0, the problem exists for both compilers

Faiss compilation options: cmake -B build -DFAISS_ENABLE_GPU=OFF -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DFAISS_OPT_LEVEL=avx2 .

Reproduction instructions

cmake -B build -DFAISS_ENABLE_GPU=OFF -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DFAISS_OPT_LEVEL=avx2 .
make -C build faiss_avx2
make -C build faiss_test
build/tests/faiss_test

Here is the log:

[ RUN      ] TSEL.IVFFSQ
WARNING clustering 1000 points to 32 centroids: please provide at least 1248 training points
/home/ubuntu/faiss_180_baseline/faiss/tests/test_params_override.cpp:205: Failure
Expected equality of these values:
  err
    Which is: 1
  0
[  FAILED  ] TSEL.IVFFSQ (272 ms)

cmake logs (for gcc 11.4)

-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Could NOT find MKL (missing: MKL_LIBRARIES) 
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Found BLAS: /usr/lib/x86_64-linux-gnu/libopenblas.so  
-- Looking for cheev_
-- Looking for cheev_ - found
-- Found LAPACK: /usr/lib/x86_64-linux-gnu/libopenblas.so;-lm;-ldl  
-- Found SWIG: /usr/bin/swig4.0 (found version "4.0.2") found components: python 
-- Found Python: /usr/include/python3.10 (found version "3.10.12") found components: Development NumPy Interpreter Development.Module Development.Embed 
-- Configuring done (1.6s)
-- Generating done (0.1s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant