Global AI and Data Science

Global AI & Data Science

Train, tune and distribute models with generative AI and machine learning capabilities

 View Only

building milvus_cli for >=rhel9.4 on IBM Power

  • 1.  building milvus_cli for >=rhel9.4 on IBM Power

    Posted 23 hours ago

    Dear all

    trying to build the milvus_cli on >= rhel9.4 on power.
    yes conda builds for an older version, but i need milvus version2 and >= python3.11
    pip fails with the grpcio wheel build. Uses boringssl
    2025-11-12T17:09:14,369   third_party/boringssl-with-bazel/src/include/openssl/target.h:74:2: error: #error "Unknown target CPU"
    2025-11-12T17:09:14,370      74 | #error "Unknown target CPU"
    switch to openssl
    DgRPC_SSL_PROVIDER=openssl
    GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true
    gets rid of the Unknown target CPU error but eventually fails the build.

    whether i use 
    pip install torch  seqeval accelerate pymilvus sentence-transformers transformers langchain  numPy
    or just
    pip install --no-cache-dir --force-reinstall milvus_cli
    in the VM or in a venv. still fails,

    error below
    Successfully built pandas numpy
    Failed to build grpcio
    error: failed-wheel-build-for-install

    × Failed to build installable wheels for some pyproject.toml based projects
    ╰─> grpcio

    if i force grpcio reinstall, no cache, it builds on its own , the subsequent build of milvus_cli also works , but execution of milvus_cli is broken.
     
    Has anyone built this successfully on linux on power for milvus v2 ?
    Can anyone please help in this process?

    Thanks

    Ian



    ------------------------------
    Ian Bellinfantie
    ------------------------------