JiaXin Zhang

Results 7 comments of JiaXin Zhang

> When I try to build the image for Milvus, the following error occurs: > > `Step 6/7 : RUN python3 -c 'import pyknowhere' ---> Running in e84180a73171 Illegal instruction...

> It seems that you should use `import knowhere` ![image](https://private-user-images.githubusercontent.com/21985684/328179944-d8f2bdae-4bfc-4fe8-a446-6d6c297d8c00.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ5OTk4NjcsIm5iZiI6MTcxNDk5OTU2NywicGF0aCI6Ii8yMTk4NTY4NC8zMjgxNzk5NDQtZDhmMmJkYWUtNGJmYy00ZmU4LWE0NDYtNmQ2YzI5N2Q4YzAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTA2VDEyNDYwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ0NmNkZjA3YzQ0ZTdhOGFjNGJkODZmMWY0MjdiOTkzY2Y1OGUxMjJkYjM0Mzc5ZDYzMGU4OTE4YmNkODRhZGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.LAkA04JygQC2wpqCPoOc6WTRXgR9VbFrWOWfPyi2-Io) But, the project ['ann-benchmarks'](https://github.com/erikbern/ann-benchmarks) has source code `pyknowhere.Index()`, `import knowhere` report error 'No Attribute'.

> This seems to be due to version inconsistency. I see that ['ann-benchmarks'](https://github.com/erikbern/ann-benchmarks) uses version 1.x, but now knowhere should be version 2.x ![image](https://private-user-images.githubusercontent.com/21985684/328191594-ee50cca6-0618-490e-be28-95adf6ac7ba9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTUwMTAwOTksIm5iZiI6MTcxNTAwOTc5OSwicGF0aCI6Ii8yMTk4NTY4NC8zMjgxOTE1OTQtZWU1MGNjYTYtMDYxOC00OTBlLWJlMjgtOTVhZGY2YWM3YmE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTA2VDE1MzYzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTllMmFkODFlMWM3MWIwMDg3ZTUxYTQzNDg1Mjg3NGJjNzUyZDFkNmYzOTQ2N2YyZWNkODIyNzViZmM5YWM1NzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tq_rqa1XY9xCTMZDovRl_fuPXWBjB7t_Ws1g5XTPvwk) However, when I checkout 1.x branch...

> I think this project ['ann-benchmarks'](https://github.com/erikbern/ann-benchmarks) should use a historical version, but I am not sure. If you want to run it, I suggest you modify the relevant code in...

I change the command ` conan install .. --build=missing -o with_ut=True -s compiler.libcxx=libstdc++ -s build_type=Release`, it is successful.

But I will encounter the warning: > conanfile.py (knowhere/None): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and...