Faiss assertion 'err__ == cudaSuccess' failed in int faiss::gpu::getNumDevices() at /project/faiss/faiss/gpu/utils/DeviceUtils.cu:36; details: CUDA error 401 the operation cannot be performed in the present state
I also tried with different indexes and different parameters (nlist, etc.) but it always fails for a certain vector size (and not when increasing the size).
When I try to install different versions of Faiss (nightly and old version) I face incompatibility issues such as:
AttributeError: module 'faiss._swigfaiss' has no attribute 'delete_ParameterRangeVector'
or
TypeError: in method 'GpuIndexIVFFlat_train', argument 3 of type 'float const *'
Describe the bug Get a CUDA error when searching in a Faiss index having too small vectors
or
To Reproduce
This code works with
dim = 1024
.I also tried with different indexes and different parameters (nlist, etc.) but it always fails for a certain vector size (and not when increasing the size).
When I try to install different versions of Faiss (nightly and old version) I face incompatibility issues such as:
or
Desktop: