faiss icon indicating copy to clipboard operation
faiss copied to clipboard

GPU and cpu results are different

Open MrHwc opened this issue 7 years ago • 2 comments

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

MrHwc avatar Aug 04 '19 08:08 MrHwc

You probably have duplicate vectors in your dataset. In that case, the ordering of the vector instances will be undefined.

mdouze avatar Aug 30 '19 11:08 mdouze

No activity, closing.

mdouze avatar Sep 02 '19 11:09 mdouze