-
Notifications
You must be signed in to change notification settings - Fork 465
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
Help with Mac M1 arm64 docker? (Tensorflow AXS) #1079
Comments
Hi @kochbj, The images in https://hub.docker.com/r/kurdidev/grobid do not use TensorFlow (https://grobid.readthedocs.io/en/latest/Grobid-docker/). You can see additional information in the previous discussion here: #1014 |
Hi @lfoppiano, really appreciate the quick reply. So the best idea is to essentially install from source on a TensorFlow docker image? Also can you point me to your arm image? It doesn't seem to be on the hub anymore. Thanks a bunch, |
@kochbj I meant that you might want to test first that the plain tensorflow image can work and that you can access your GPU correctly, before trying to use grobid. The image I refer to is here: https://hub.docker.com/layers/lfoppiano/grobid/0.8.0-arm/images/sha256-79b85da73bae5c2a483e381c1e1231bc73dc0d6b987f16b867a3eb6e8154d7b8?context=explore |
Got it! @lfoppiano, one more question since it would be helpful to know (and maybe for the documentation): which extraction functions use neural models instead of CRF? This would inform how much work I put into figuring this out. :) Thanks again, |
Here there is a list of models that are recommended to be used with deep learning rather than CRF because they work substantially better. In addition, Fulltext and (segmentation?, not 100% sure I remember well) are not available as DL. |
Ahah perfect. When all else fails, RTFM. :) Thanks so much for your help on this. Closing the issue now! |
For info, segmentation model is available in DL too, but not better than CRF in the current state - so not recommended because a bit slower and memory hungry. |
@kochbj Did you manage to get a docker image up and running? |
So sorry I missed this! I never got docker to run on my Mac M1. :( I did get GROBID up on a pop.os system with Nvidia 200 series cards, but the image seems to hang when loading models; not sure why. My last shot will be to try it with virtualization on a cluster with cards with a bit more memory. |
@kochbj I have an M1 and docker works fine there. What problems do you have? |
@lfoppiano Could you share the image url? |
@ah3243 yes that image only works using the light CRF models. |
Hi,
First, thanks for putting together such amazing software!
I'm trying to run the most recent dockers on my M1 Max Mac and am getting the "TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine." exit error. I see the guidance in the documentation, but I am too inexperienced with Docker to know where I am supposed to make changes to the CPU configuration. I found this image that someone created that runs https://hub.docker.com/r/kurdidev/grobid, but would love to run the most recent version. Can you give me some basic orientation on what I need to change?
Thanks again,
Bernard
The text was updated successfully, but these errors were encountered: