Skip to content
Snippets Groups Projects
Unverified Commit c980732e authored by Niaz's avatar Niaz Committed by GitHub
Browse files

Add faiss to dependencies

parent 086cda44
No related branches found
No related tags found
No related merge requests found
......@@ -73,3 +73,11 @@ RUN git clone https://github.com/davisking/dlib.git && \
cmake --build . && \
cd /dlib && \
python setup.py install --no USE_AVX_INSTRUCTIONS --no DLIB_USE_CUDA --no USE_SSE4_INSTRUCTIONS
#Build and install faiss. Needs to be build for ARM
WORKDIR /faiss
RUN git clone https://github.com/facebookresearch/faiss.git /faiss
RUN cmake -B build . -DFAISS_ENABLE_GPU=OFF -DFAISS_ENABLE_PYTHON=ON -DFAISS_OPT_LEVEL=generic
RUN make -C build -j faiss
RUN make -C build -j swigfaiss
RUN (cd build/faiss/python && python setup.py install)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment