-
Notifications
You must be signed in to change notification settings - Fork 804
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
GPU isn't used #2506
Comments
NEED IT TOO!!! |
Same here. Running in Colab and getting the warning that GPU is not being utilised |
I need too |
I did a little bit of investigation/debugging and here is what I learned. From what I see, there are two types of layout detection models in Unstructured:
For the models that run with ONNXRuntime ONNXRuntime has a series of providers available that it uses to run inference. In order to use the GPU, the
In my case, I was getting To utilise GPU, you need to install
After installing this library, I could see For models that do not use ONNXRT In the case of Detectron2, I could verify in the You can load the default Detectron2 model config in your code, add However I do not recommend this approach since detectron already has an ONNX flavour and you don't really need to do all of this to use it. Moreover, |
Thanks for the write up @javier-cohere ! The |
GPU is not utilized during the process!
The text was updated successfully, but these errors were encountered: