-
Notifications
You must be signed in to change notification settings - Fork 450
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
0% gpu utilization but 100% cpu utilization #1116
Comments
@gnillling could you please share some of the logs? |
This is the output after executing a command in the terminal.
And this is the status of process resource usage when I am making a request to api/processFulltextDocument. |
@gnillling I dug into it. The amount of GPU used is very punctual and if you process one file at the time it's hard to see it. With I'm running it in parallel with other grobid-family applications and when the GPU memory is used it's very likely the GPU will also be used.
See the log:
The GPU is being used but as you can see not much with few files: |
I use this command to run docker
docker run --rm --gpus '"device=1"' --init --ulimit core=0 -p 8070:8070 -p 8081:8071 grobid/grobid:0.8.0
and then the GPU RAM consumed 20+ GB. But I found that and when i use api/processFulltextDocument to process a pdf file, the GPU utilization is still 0%, but the CPU utilization is up to 100%. Why is it still processed on the CPU?The text was updated successfully, but these errors were encountered: