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

Test branch #3678

Closed
wants to merge 3 commits into from
Closed

Test branch #3678

wants to merge 3 commits into from

Conversation

gtwang01
Copy link
Contributor

Testing PR gtwang01:export-D59988036

gtwang01 and others added 2 commits July 23, 2024 13:34
Summary:
The TestPartitioning.TestPartitioningBigRange test case fails on gcc version 13.2. We can avoid this by requiring gcc version 11.2 where the test case works.

Pull Request resolved: #3655

Test Plan:
STEP 1: Create conda env and install dependencies
```
conda create --name faiss_debug
conda activate faiss_debug
conda install -y -q python=3.11 cmake make swig mkl=2023 mkl-devel=2023 numpy scipy pytest gxx_linux-64 sysroot_linux-64 -c conda-forge
```
STEP 3: CMAKE
```
cmake -B build \
      -DBUILD_TESTING=ON \
      -DBUILD_SHARED_LIBS=ON \
      -DFAISS_ENABLE_GPU=OFF \
      -DFAISS_ENABLE_RAFT=OFF \
      -DFAISS_OPT_LEVEL=avx2 \
      -DFAISS_ENABLE_C_API=ON \
      -DPYTHON_EXECUTABLE=$(which python) \
      -DCMAKE_BUILD_TYPE=Release \
      -DBLA_VENDOR=Intel10_64_dyn \
      -DCMAKE_CUDA_FLAGS="-gencode arch=compute_75,code=sm_75" \
      .
```
STEP 4: build
```
make -k -C build -j$(nproc)
cd build
ctest -R TestPartitioning.TestPartitioningBigRange
```
  {F1769051341}

Differential Revision: D59988036

Pulled By: gtwang01
@gtwang01 gtwang01 closed this Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants