-
Notifications
You must be signed in to change notification settings - Fork 30
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
Inference stuck in ...d2.evaluation.evaluator]: Start inference on X batches #90
Comments
Hi, the commands you used should be fine. Can you try to curl the |
I have tried to reproduce what you are experiencing but unfortunately I wasn't able to, the service works fine on my end. One thing you can try is, use the "fast" models to run a non-visual analysis:
You should be getting the response in a few seconds. Let's try and see if it works. Also can you tell which OS are you using? Thanks |
Running it with "fast = True" works fine. I'm running it in a MacOS - M2 version (ARM arch)
|
I also ran
|
Update: after 20 minuets of running it with 1000% CPU, it seems that 1 inference ran:
Seems weird that it is really slow for the |
It finished running after 45 minutes
|
The visual model can be quite slow when it runs on CPU, but yes, for a simple two-page document 45 minutes is definitely too much. On my setup with an We haven't tested the service on macOS yet, so I'm not sure what might be causing this issue. Since the service runs but takes a long time, it could be related to hardware or system-specific optimizations. If we discover any solutions, we’ll be sure to update you. Similarly, if you find anything on your end, please let us know, and maybe we can do some improvements. Thanks again |
Hello, I'm trying to run the project locally using docker on a 5 page PDF.
I basically ran:
The docker container started normally, and after trying to do a simple request:
The docker container gets stuck on this part:
Here are some more logs
I'm not seeing any issues with container resources (memory or cpu). Can you help me debug this issue? Thanks
The text was updated successfully, but these errors were encountered: