Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milvus benchmarking run issue #471

Open
pauldintel opened this issue Oct 2, 2023 · 6 comments
Open

Milvus benchmarking run issue #471

pauldintel opened this issue Oct 2, 2023 · 6 comments

Comments

@pauldintel
Copy link

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

@wangting0128
Copy link
Contributor

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

@pauldintel
Copy link
Author

@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

@wangting0128
Copy link
Contributor

@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.

@pauldintel
Copy link
Author

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 !

@wangting0128
Copy link
Contributor

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

@cococo2000
Copy link
Contributor

@pauldintel hi, you can try the latest code. #517 has updated the code for milvus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants