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

Installation of Milvus #421

Closed
kimihailv opened this issue May 30, 2023 · 15 comments
Closed

Installation of Milvus #421

kimihailv opened this issue May 30, 2023 · 15 comments

Comments

@kimihailv
Copy link

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 (core dumped) The command '/bin/sh -c python3 -c 'import pyknowhere'' returned a non-zero code: 132

@erikbern
Copy link
Owner

erikbern commented Jun 1, 2023

are you running on an x86?

@HungryFour
Copy link

Also encountered this problem.

Python 3.10.6
Linux version 3.10.0-1160.71.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)) #1 SMP Tue Jun 28 15:37:28 UTC 2022

1 similar comment
@HungryFour
Copy link

Also encountered this problem.

Python 3.10.6
Linux version 3.10.0-1160.71.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)) #1 SMP Tue Jun 28 15:37:28 UTC 2022

@hhy3
Copy link
Contributor

hhy3 commented Jun 2, 2023

It's supposed to be run on an AVX supported machine.

@HungryFour
Copy link

@hhy3 It's supposed AVX.
image

@kimihailv
Copy link
Author

are you running on an x86?

yes

@yuzhenmao
Copy link

same issue here

@aosh-ab7e
Copy link
Contributor

I'm wondering if changing the base image from milvusdb/knowhere-env to milvusdb/milvus might work.
(I've only glanced at it, but milvusdb/knowhere-env seems quite internal and is known only by zilliz employees)

@HungryFour
Copy link

https://github.com/milvus-io/knowhere. knowhere need to install

@pauldintel
Copy link

can anyone able to connect to Milvus server from ann benchmark client ? I don't see connection specification exist inside the module.py file ?

@Coderik
Copy link

Coderik commented Feb 14, 2024

can anyone able to connect to Milvus server from ann benchmark client ? I don't see connection specification exist inside the module.py file ?

The benchmark does not evaluate Milvus as a complete engine, only Knowhere - a library written in C++ that acts as Milvus's internal core. So, there is no connection (see ann_benchmarks/algorithms/milvus/module.py)

@haorenfsa
Copy link

haorenfsa commented Mar 16, 2024

It also requires avx-512 for the latest version. Environment Checklist for Milvus on Kubernetes Milvus documentation https://milvus.io/docs/prerequisite-helm.md

For cloud provider, you're gonna need Cascade Lake or newer series. Take AWS as example. You'll need at least the 6th generation ec2s, like m6, r6.

@PRIYANSHU2026
Copy link

it is supported in python 3.10

@zjx1230
Copy link

zjx1230 commented May 19, 2024

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 (core dumped) The command '/bin/sh -c python3 -c 'import pyknowhere'' returned a non-zero code: 132

Has this issue been resolved?

@maumueller
Copy link
Collaborator

As @haorenfsa pointed out, it requires a machine supporting avx-512.

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