-
Notifications
You must be signed in to change notification settings - Fork 5
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
Docker build fails on Apple Silicon #16
Comments
it is MBP with Apple Silicon, can we skip using intel MKL for Marian? https://marian-nmt.github.io/quickstart/ |
I believe the option would be using openblas but @abhi-agg should know exactly what's required. |
We can try but
|
Is there another option? |
We can use OpenBlas instead of Intel MKL. It supports both intel and arm achitecture (see here). We can do a bit more exploration to see how this can fit in docker and can work for both intel and arm architecture with the single docker image. But this is uncharted territory as we haven't used openblas ever and we don't know whether it works out of box in marian (we may see few surprises here). But we should understand the use case first to start any effort on this. |
I think it makes sense to migrate to OpenBLAS taking into account Intel MKL licensing like @abhi-agg pointed out. We can benchmark performance using the load tests and see whether it is significantly slower. |
https://gist.github.com/mathjazz/46ca76c0136e7fd17ba9c3aba48951d6
The text was updated successfully, but these errors were encountered: