faiss
faiss copied to clipboard
GPU and cpu results are different
Summary
I have tested indexflatl2 on cpu and gpu respectively. My dataset size is 100000. The recall of the two is very different. The cpu is 0.9998 and the gpu is 0.866. But I tested it on gist1m, cpu and gpu recall are almost the same, why? Is my data set too small?
my machine: Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz Ubuntu 18.04 python3 gpu:Tesla V100
You probably have duplicate vectors in your dataset. In that case, the ordering of the vector instances will be undefined.
No activity, closing.