Intel MKL Warning on Jupyter Notebook (Python)

191 Views Asked by At

This is my first time posting, so I apologize if I am missing anything that is common practice.

For the last month or so, whenever I import anything on Jupyter Notebook, I have been getting warnings that look like this:

Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.

These usually occur when importing libraries such as NumPy and Matplotlib. It's also occurring when running a linear regression using StatsModels:

weight_model = smf.ols('Weight ~ Day', weight).fit()
intercept = weight_model.params['Intercept']
coefficient = weight_model.params['Day']

print(weight_model.params)

This is odd to me because I do not have an Intel processor, I have a Mac M1. Is there any way to make them stop occurring?

Thank you for the help!

!export MKL_ENABLE_INSTRUCTIONS=SSE4_2

This did not work.

0

There are 0 best solutions below