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

Installation of Milvus

Open kimihailv opened this issue 1 year ago • 13 comments

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

kimihailv avatar May 30 '23 09:05 kimihailv

are you running on an x86?

erikbern avatar Jun 01 '23 02:06 erikbern

Also encountered this problem.

Python 3.10.6
Linux version 3.10.0-1160.71.1.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)) #1 SMP Tue Jun 28 15:37:28 UTC 2022

HungryFour avatar Jun 01 '23 09:06 HungryFour

Also encountered this problem.

Python 3.10.6
Linux version 3.10.0-1160.71.1.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)) #1 SMP Tue Jun 28 15:37:28 UTC 2022

HungryFour avatar Jun 01 '23 09:06 HungryFour

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

hhy3 avatar Jun 02 '23 06:06 hhy3

@hhy3 It's supposed AVX. image

HungryFour avatar Jun 06 '23 08:06 HungryFour

are you running on an x86?

yes

kimihailv avatar Jun 09 '23 08:06 kimihailv

same issue here

yuzhenmao avatar Jun 12 '23 05:06 yuzhenmao

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)

aosh-ab7e avatar Aug 10 '23 08:08 aosh-ab7e

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

HungryFour avatar Aug 10 '23 09:08 HungryFour

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

pauldintel avatar Sep 29 '23 21:09 pauldintel

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)

Coderik avatar Feb 14 '24 11:02 Coderik

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.

haorenfsa avatar Mar 16 '24 13:03 haorenfsa

it is supported in python 3.10

PRIYANSHU2026 avatar Mar 30 '24 12:03 PRIYANSHU2026

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?

zjx1230 avatar May 19 '24 04:05 zjx1230

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

maumueller avatar May 21 '24 08:05 maumueller