erikbern / ann-benchmarks

Benchmarks of approximate nearest neighbor libraries in Python
http://ann-benchmarks.com
MIT License
4.73k stars 715 forks source link

Use custom definitions for algorithms #527

Closed tymmale closed 1 month ago

tymmale commented 1 month ago

Hi! Great benchmark that you have here.

I noticed that the value of the --definitions argument is only used when listing all available algorithms. Correct me if I'm wrong, but I wanted to pass my own algorithm configurations, which are stored elsewhere, by using --definitions. This doesn't work because the program uses the default path ann-benchmarks/algorithms.

maumueller commented 1 month ago

Thanks @tymmale, this is indeed what --definitions was supposed to do. I'm waiting for the CI and will then merge this.