nncf icon indicating copy to clipboard operation
nncf copied to clipboard

Requirements incompatible with M1 Mac

Open dreaquil opened this issue 3 years ago • 3 comments

Currently when installing the requirements on an M1 Mac, there are certain packages (e.g numpy) for which the current version cannot be found or does not work.

I propose changing numpy~=1.19.2 to numpy>=1.22.3 in setup.py.

This is related to https://github.com/openvinotoolkit/anomalib/issues/150

dreaquil avatar Mar 21 '22 21:03 dreaquil

I would even remove a connection to any numpy version from the user's requirements. Internal validation can use a fixed version for reproducibility. @vshampor, @alexsu52.

AlexKoff88 avatar Mar 22 '22 08:03 AlexKoff88

@vshampor , please take a look. Any suggestions how we could overcome it?

MaximProshin avatar Apr 05 '22 15:04 MaximProshin

@dreaquil The following PR #1220 should fix the issue. Stay tuned!

alexsu52 avatar Jul 28 '22 06:07 alexsu52

Numpy requirement is now at numpy>=1.19.1, <1.24.

vshampor avatar Feb 24 '23 16:02 vshampor