Open TJKlein opened 1 week ago
Numpy vector needs to be of dtype.float32 instead of dtype.float64, otherwise FAISS (faiss-gpu) will raise the following error:
TypeError: in method 'IndexFlat_add', argument 3 of type 'float const *'
@TJKlein I will look into this and test it out for faiss-gpu. For this released version currently we are actually using faiss-cpu not faiss-gpu for all of our experiments.
Numpy vector needs to be of dtype.float32 instead of dtype.float64, otherwise FAISS (faiss-gpu) will raise the following error: