kaivalnp commented on PR #14178:
URL: https://github.com/apache/lucene/pull/14178#issuecomment-2787367839

   Thanks @msokolov!
   
   > no longer necessary to follow all the steps documented above (to build 
libfaiss_c.so) right?
   
   Yes, we no longer need to build the C API of Faiss (it is published to Conda 
as an artifact) so steps 1-3 
[above](https://github.com/apache/lucene/pull/14178#issuecomment-2715605453) 
can be replaced with:
   
   ```sh
   # Using the nightly version till v1.11.0 is released
   conda install pytorch/label/nightly::faiss-cpu
   ```
   
   > Do we still need to set LD_LIBRARY_PATH
   
   We still need to set the `LD_LIBRARY_PATH` environment variable to the 
`lib/` directory of Conda (using `export LD_LIBRARY_PATH=$CONDA_PREFIX/lib`)
   
   > OMP_NUM_THREADS something FAISS uses internally to control the number of 
threads it uses?
   
   Yes, this controls the internal threading -- I found some documentation at 
https://github.com/facebookresearch/faiss/wiki/Threads-and-asynchronous-calls#internal-threading


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to