-
Notifications
You must be signed in to change notification settings - Fork 459
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 container killed after uploading PDF file on Apple Silicon (macOS Sonoma 14.5) #1119
Comments
I @Daniel-EST thank you for your interest in Grobid. Now that you mention it, I've scheduled the update on Sonoma 14.5 tonight on my M2 💦 Could you try the image For information, you can follow up the background information about this image on #1014 |
@lfoppiano I got the exact same issue after updating to Sonoma 14.5. I tried using |
@lfoppiano, just tested the |
OK, so the In this case you're lucky because it's the same as This image was built from the branch could you try to run again the |
Running
|
OK, I'm glad you have a working image, but I don't know why it works... Maybe something has changed in the way java is handled 🤔 About the |
I'm going to create a script and try to upload multiple PDF documents. However, I've noticed that the container is now more resource-intensive, consuming significantly more RAM and CPU. Some huge documents that I was able to parse in the past are now killing the container due to lack of resources. |
Could you share the log and remind me which image are you using? |
@Daniel-EST did you manage to fix the issue? I've built a crf-only image that should support ARM, but I haven't tested. If you have time, it's on #1165 . |
@lfoppiano Just tested the docker image Everything worked well, I uploaded about 10 documents and all were correctly parsed.
It is important to add the Tested on macOS Sequoia 15.0, on a M3 processor. Important to notice that the macOS version was updated since I opened the issue. |
Thanks for testing @Daniel-EST . I did some more tests, I think you should add also I've added some documentation on the related branch, here. |
One solution would be to change the fork mechanism based on the architecture, I've been trying to change the final Grobid ENV variable see here without success. Any help is welcome 😄 |
Description:
After updating to macOS Sonoma 14.5, I've noticed that a Docker container from image
lfoppiano/grobid:0.8.0
is being killed shortly after sending a PDF file to Grobid. Before macOS Sonoma 14.5 version it used to work as intended. This is happening on both M3 and M1 processors.The container starts normally when run with the command:
However, it is terminated immediately afterwards uploading a PDF file with the following error message:
Environment:
The text was updated successfully, but these errors were encountered: