Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Warning: Using NumPy C-API based implementation for BLAS functions #1037

Description

@Ander-MZ

Description of your problem or feature request

When importing aesara, I get a warning that NumPy API will be used for BLAS functions. I have google around a lot and everything points to a linking issue or some flags, but honestly I understand basically nothing about flags and such.

Could someone point me as to how can I correctly configure my env to use the library? I include a file with my env's details.

Please provide a minimal, self-contained, and reproducible example.

import aesara

Please provide the full traceback of any errors.

Python 3.9.13 | packaged by conda-forge | (main, May 27 2022, 17:00:52) 
[Clang 13.0.1 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import aesara
WARNING (aesara.tensor.blas): Using NumPy C-API based implementation for BLAS functions.

Please provide any additional information below.

I checked that my env's BLAS library is MKL:

The command readlink /opt/anaconda3/envs/pyMC/lib/libblas.3.dylib outputs: libmkl_rt.dylib

Versions and main components

  • Aesara version: 2.7.3
  • Aesara config: See attached file
  • Python version: 3.9.13
  • Operating system: MacOS 11.15.2
  • How did you install Aesara: conda

aesara_config.txt

myenv.txt

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