Skip to content

Instantly share code, notes, and snippets.

@alexanderguzhva
Created March 1, 2024 20:28
Show Gist options
  • Save alexanderguzhva/3cbfeba1364dd445a2bb52455966979e to your computer and use it in GitHub Desktop.
Save alexanderguzhva/3cbfeba1364dd445a2bb52455966979e to your computer and use it in GitHub Desktop.
candidate for benchs/bench_ivf_fastscan.py (sift1M)
======IVF1024,PQ32x4fs
nprobe 1, Recall@1: 0.922700, speed: 0.005126 ms/query
nprobe 2, Recall@1: 0.944000, speed: 0.005755 ms/query
nprobe 4, Recall@1: 0.956000, speed: 0.006914 ms/query
nprobe 6, Recall@1: 0.958100, speed: 0.008448 ms/query
nprobe 8, Recall@1: 0.960000, speed: 0.009962 ms/query
nprobe 12, Recall@1: 0.961600, speed: 0.012988 ms/query
nprobe 16, Recall@1: 0.960900, speed: 0.016161 ms/query
nprobe 24, Recall@1: 0.961300, speed: 0.022104 ms/query
nprobe 32, Recall@1: 0.961800, speed: 0.027955 ms/query
nprobe 48, Recall@1: 0.961700, speed: 0.039271 ms/query
nprobe 64, Recall@1: 0.961700, speed: 0.051526 ms/query
nprobe 128, Recall@1: 0.961300, speed: 0.098269 ms/query
======IVF1024,PQ32x4fsr
nprobe 1, Recall@1: 0.941200, speed: 0.004887 ms/query
nprobe 2, Recall@1: 0.961800, speed: 0.007198 ms/query
nprobe 4, Recall@1: 0.971600, speed: 0.011785 ms/query
nprobe 6, Recall@1: 0.974000, speed: 0.016217 ms/query
nprobe 8, Recall@1: 0.975100, speed: 0.020545 ms/query
nprobe 12, Recall@1: 0.976200, speed: 0.029054 ms/query
nprobe 16, Recall@1: 0.976900, speed: 0.037434 ms/query
nprobe 24, Recall@1: 0.977600, speed: 0.054109 ms/query
nprobe 32, Recall@1: 0.977700, speed: 0.070803 ms/query
nprobe 48, Recall@1: 0.977800, speed: 0.103883 ms/query
nprobe 64, Recall@1: 0.977800, speed: 0.137922 ms/query
nprobe 128, Recall@1: 0.978300, speed: 0.272457 ms/query
======IVF1024,LSQ30x4fsr_Nlsq2x4(rescale_norm=True)
nprobe 1, Recall@1: 0.971300, speed: 0.005150 ms/query
nprobe 2, Recall@1: 0.985200, speed: 0.006203 ms/query
nprobe 4, Recall@1: 0.990700, speed: 0.007989 ms/query
nprobe 6, Recall@1: 0.992100, speed: 0.009803 ms/query
nprobe 8, Recall@1: 0.992800, speed: 0.011652 ms/query
nprobe 12, Recall@1: 0.993400, speed: 0.015284 ms/query
nprobe 16, Recall@1: 0.993600, speed: 0.018521 ms/query
nprobe 24, Recall@1: 0.993600, speed: 0.025799 ms/query
nprobe 32, Recall@1: 0.993700, speed: 0.033025 ms/query
nprobe 48, Recall@1: 0.994100, speed: 0.046579 ms/query
nprobe 64, Recall@1: 0.994200, speed: 0.061127 ms/query
nprobe 128, Recall@1: 0.994200, speed: 0.117389 ms/query
======IVF1024,RQ30x4fsr_Nrq2x4(rescale_norm=True)
nprobe 1, Recall@1: 0.959700, speed: 0.004994 ms/query
nprobe 2, Recall@1: 0.978800, speed: 0.006161 ms/query
nprobe 4, Recall@1: 0.986300, speed: 0.008114 ms/query
nprobe 6, Recall@1: 0.987400, speed: 0.010019 ms/query
nprobe 8, Recall@1: 0.987600, speed: 0.011912 ms/query
nprobe 12, Recall@1: 0.988700, speed: 0.015438 ms/query
nprobe 16, Recall@1: 0.989100, speed: 0.019138 ms/query
nprobe 24, Recall@1: 0.989600, speed: 0.026117 ms/query
nprobe 32, Recall@1: 0.990500, speed: 0.033256 ms/query
nprobe 48, Recall@1: 0.990500, speed: 0.046847 ms/query
nprobe 64, Recall@1: 0.990600, speed: 0.061355 ms/query
nprobe 128, Recall@1: 0.990600, speed: 0.117270 ms/query
======IVF1024,LSQ30x4fsr_Nlsq2x4(rescale_norm=False)
nprobe 1, Recall@1: 0.970700, speed: 0.004869 ms/query
nprobe 2, Recall@1: 0.985600, speed: 0.006062 ms/query
nprobe 4, Recall@1: 0.990900, speed: 0.007766 ms/query
nprobe 6, Recall@1: 0.992300, speed: 0.009284 ms/query
nprobe 8, Recall@1: 0.992900, speed: 0.010974 ms/query
nprobe 12, Recall@1: 0.993700, speed: 0.014078 ms/query
nprobe 16, Recall@1: 0.993700, speed: 0.017255 ms/query
nprobe 24, Recall@1: 0.993800, speed: 0.023391 ms/query
nprobe 32, Recall@1: 0.993800, speed: 0.029790 ms/query
nprobe 48, Recall@1: 0.994300, speed: 0.041751 ms/query
nprobe 64, Recall@1: 0.994400, speed: 0.054649 ms/query
nprobe 128, Recall@1: 0.994400, speed: 0.104278 ms/query
======IVF1024,RQ30x4fsr_Nrq2x4(rescale_norm=False)
nprobe 1, Recall@1: 0.958400, speed: 0.004847 ms/query
nprobe 2, Recall@1: 0.978700, speed: 0.005878 ms/query
nprobe 4, Recall@1: 0.986100, speed: 0.007423 ms/query
nprobe 6, Recall@1: 0.987500, speed: 0.009024 ms/query
nprobe 8, Recall@1: 0.987800, speed: 0.010761 ms/query
nprobe 12, Recall@1: 0.988800, speed: 0.014038 ms/query
nprobe 16, Recall@1: 0.989100, speed: 0.017270 ms/query
nprobe 24, Recall@1: 0.989400, speed: 0.023356 ms/query
nprobe 32, Recall@1: 0.990100, speed: 0.029717 ms/query
nprobe 48, Recall@1: 0.990100, speed: 0.041864 ms/query
nprobe 64, Recall@1: 0.990200, speed: 0.054667 ms/query
nprobe 128, Recall@1: 0.990200, speed: 0.104637 ms/query
======IVF1024,LSQ30x4fs_Nlsq2x4(rescale_norm=True)
nprobe 1, Recall@1: 0.969000, speed: 0.004859 ms/query
nprobe 2, Recall@1: 0.986500, speed: 0.005887 ms/query
nprobe 4, Recall@1: 0.991900, speed: 0.007605 ms/query
nprobe 6, Recall@1: 0.993600, speed: 0.009155 ms/query
nprobe 8, Recall@1: 0.994700, speed: 0.010710 ms/query
nprobe 12, Recall@1: 0.994200, speed: 0.013670 ms/query
nprobe 16, Recall@1: 0.994100, speed: 0.016758 ms/query
nprobe 24, Recall@1: 0.994100, speed: 0.022678 ms/query
nprobe 32, Recall@1: 0.994200, speed: 0.028633 ms/query
nprobe 48, Recall@1: 0.994400, speed: 0.039903 ms/query
nprobe 64, Recall@1: 0.994300, speed: 0.051990 ms/query
nprobe 128, Recall@1: 0.994100, speed: 0.098807 ms/query
======IVF1024,RQ30x4fs_Nrq2x4(rescale_norm=True)
nprobe 1, Recall@1: 0.940000, speed: 0.004988 ms/query
nprobe 2, Recall@1: 0.962900, speed: 0.005715 ms/query
nprobe 4, Recall@1: 0.973200, speed: 0.007410 ms/query
nprobe 6, Recall@1: 0.976200, speed: 0.009019 ms/query
nprobe 8, Recall@1: 0.975700, speed: 0.010472 ms/query
nprobe 12, Recall@1: 0.978100, speed: 0.013487 ms/query
nprobe 16, Recall@1: 0.978600, speed: 0.016616 ms/query
nprobe 24, Recall@1: 0.978700, speed: 0.022575 ms/query
nprobe 32, Recall@1: 0.978400, speed: 0.028650 ms/query
nprobe 48, Recall@1: 0.978400, speed: 0.039871 ms/query
nprobe 64, Recall@1: 0.978400, speed: 0.051712 ms/query
nprobe 128, Recall@1: 0.978300, speed: 0.098793 ms/query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment