ann-benchmarks icon indicating copy to clipboard operation
ann-benchmarks copied to clipboard

Milvus benchmarking run issue

Open pauldintel opened this issue 2 years ago • 6 comments

Opening new issue as: Any pointer what is wrong and what code should be used to connect Milvus database with connection info ?

~/ann-benchmarks$ sudo python3 run.py --dataset glove-25-angular --algorithm milvus --runs=1 2023-09-29 22:37:12,919 - annb - INFO - running only milvus Traceback (most recent call last): File "/home/ubuntu/ann-benchmarks/run.py", line 7, in main() File "/home/ubuntu/ann-benchmarks/ann_benchmarks/main.py", line 341, in main raise Exception("Nothing to run") Exception: Nothing to run

pauldintel avatar Oct 02 '23 20:10 pauldintel

You can try executing the following command to see if it works: sudo python3 run.py --dataset glove-25-angular --algorithm 'Milvus(Knowhere)'

wangting0128 avatar Oct 07 '23 07:10 wangting0128

@wangting0128 do you think this code can be reused and replace on module.py to make pymilvus works ? https://gitcode.net/mirrors/milvus-io/ann-benchmarks/-/blob/master/ann_benchmarks/algorithms/milvus.py

pauldintel avatar Oct 10 '23 18:10 pauldintel

@wangting0128 do you think this code can be reused and replace on module.py to make pymilvus works ? https://gitcode.net/mirrors/milvus-io/ann-benchmarks/-/blob/master/ann_benchmarks/algorithms/milvus.py

This is milvus1.0, which is no longer maintained.

wangting0128 avatar Oct 11 '23 07:10 wangting0128

yes I tried to reproduce and failed on : import milvus part of the code even if I downgraded pymilvus to older version on python 3.11 . its weird and not sure why its not working !

pauldintel avatar Oct 11 '23 15:10 pauldintel

yes I tried to reproduce and failed on : import milvus part of the code even if I downgraded pymilvus to older version on python 3.11 . its weird and not sure why its not working !

pymilvus is working for milvus version >= 2.0

wangting0128 avatar Oct 12 '23 02:10 wangting0128

@pauldintel hi, you can try the latest code. https://github.com/erikbern/ann-benchmarks/pull/517 has updated the code for milvus.

cococo2000 avatar May 15 '24 05:05 cococo2000