Skip to content

Commit

Permalink
Avoid OOM in Linux CPU CI jobs. (#1900)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #1900

Reviewed By: mdouze

Differential Revision: D28539987

Pulled By: beauby

fbshipit-source-id: 2e44755e48bd45233578ce0ba75836fc533afe35
  • Loading branch information
Lucas Hosseini authored and facebook-github-bot committed May 19, 2021
1 parent 797bc88 commit 1223e68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,24 @@ jobs:
-DFAISS_OPT_LEVEL=<< parameters.opt_level >> \
-DFAISS_ENABLE_C_API=ON \
-DCMAKE_BUILD_TYPE=Release -DBLA_VENDOR=Intel10_64_dyn .
make -C build -j faiss
make -C build -j3 faiss
- when:
condition:
equal: [ "avx2", << parameters.opt_level >> ]
steps:
- run:
name: Build faiss_avx2 library
command: make -C build -j faiss_avx2 swigfaiss_avx2
command: make -C build -j3 faiss_avx2 swigfaiss_avx2
- run:
name: Test faiss library
command: |
make -C build -j faiss_test
make -C build -j3 faiss_test
export GTEST_OUTPUT="xml:$(realpath .)/test-results/googletest/"
make -C build test
- run:
name: Build python extension
command: |
make -C build -j swigfaiss
make -C build -j3 swigfaiss
cd build/faiss/python
python3 setup.py build
- run:
Expand Down

0 comments on commit 1223e68

Please sign in to comment.