-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requirements incompatible with M1 Mac #150
Comments
Hi @dreaquil, can you paste the exact error you're facing so we could reproduce the problem? Thanks! |
Hi @samet-akcay, there's a few different errors that one needs to work through before getting a functional install. I have started a branch which has the changes I needed to make here.
|
hi @samet-akcay, just a follow up on this morning's reply. I think the two main issues are nncf and openvino for the M1 mac. The problem is that their dependencies are pinned to exact versions. A lot of packages (like numpy) have only started working on the M1 mac over the past 6 months. This means that I need to upgrade numpy to make it work but this causes a dependency conflict with nncf. Any thoughts on this?
Here's the error installing nncf:
|
@dreaquil, thank you for the investigation. Would installing the basic anomalib (without nncf, and openvino) solve the issues for anomalib for now? Meanwhile we could work on fixing nncf and openvino |
Hi @samet-akcay, yes this is possible with the addition of commenting a particular import. I have added this temporary fix in this PR for anyone that needs it. Any idea on rough estimates for nncf and openvino? Our use case is to develop on Mac and to run on intel x86 linux so we would still like the capabilities afforded by openvino. |
Describe the bug
Currently when installing the requirements on an M1 Mac, there are certain packages (e.g. torch, numpy, scikit-learn) for which the current version cannot be found or does not work.
To Reproduce
Steps to reproduce the behavior:
pip install requirements/base.txt
Expected behavior
Screenshots
Hardware and Software Configuration
Additional context
The text was updated successfully, but these errors were encountered: