-
Notifications
You must be signed in to change notification settings - Fork 458
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 on macOS arm64 #1089
Comments
Dear @jgoodall, Indeed we can run Grobid on M1 (and, I suppose M2, but I did not test it) outside docker (#935, #1002). The use case is a bit weak for me, as I run Grobid on my Mac only for development, and I prefer to run the server on a Linux machine for serious processing. Maybe give it a try to the 0.8.0-arm and let me know. We can try to support more the arm architecture meanwhile. |
To be clear, the That said - since you already have the
I imagine that will be trickier since the We also only run on Mac for development and Linux for production, and would like to be able to use the same image ( |
Thanks. Would you be able to submit a PR for this change? |
Same issue here.. would be great to have a single image solution for mac and linux |
Please check #1165, there is an double-arch image. I would appreciate if you could give it a try, with particular attention to the issue with the pdfalto processes. |
I cannot run the full docker image on an arm64 Mac (environment details below). I can run
docker run --init -p 8070:8070 lfoppiano/grobid:0.8.0
and that works, but if I try the full image, it immediately quits (same result with tag0.8.1-SNAPSHOT
):I am using Orbstack, and if I uncheck
Use Rosetta to run Intel code
, instead of theAVX instructions
error, I getSSE4.1 instructions
. My understanding based on the docs and the issues is that the deep learning image should work on CPUs on macOS using emulation, but I dont see instructions for doing that. I see a reference tolibwapiti.dylib
, but not how to get that or what to do with it.Would it be possible to provide detailed instructions for somehow getting the
grobid/grobid
docker image working on a mac?Related issues:
Environment details
macOS is 14.3.1 with an M2 chip. OrbStack 1.4.3.
Docker Info:
The text was updated successfully, but these errors were encountered: