Skip to content

blis fails to build when installing logai on macOS (Intel CPU) #89

@xiufengComplexica

Description

@xiufengComplexica

Hi, I'm trying to install logai in a conda environment on macOS, but I'm encountering an issue where blis fails to build during installation.

System details:

macOS (MacBook Pro)

Intel CPU: 2.3 GHz 8-Core Intel Core i9

Python version: 3.9.21

Conda environment: logai_env

I installed blis using conda beforehand:

conda install -c conda-forge blis

Then I tried:

pip install logai

But pip still attempts to build blis from source, and fails with the following error:

clang: error: unknown argument '-mavx512pf'; did you mean '-mavx512f'?

It looks like the build process tries to use AVX512 instructions for the knl architecture, which are not supported by my CPU.

Is there a way to skip building blis or force logai to use the already installed one from conda?

Any help would be appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions