if you are facing an error which is numpy 2.0 crashing error you can try to install using conda
as per INSTALL.md instead of pip
that is what work for me.
# CPU-only version
$ conda install -c pytorch faiss-cpu
# GPU(+CPU) version
$ conda install -c pytorch -c nvidia faiss-gpu