Skip to content
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

fix: update ONNX provider search and warn if GPU will not be used #401

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dhdaines
Copy link

@dhdaines dhdaines commented Jan 8, 2025

yolox.py was using a rather suspicious way of getting the available ONNX runtime providers, when there is a perfectly good function called onnxruntime.get_available_providers() that it could be using instead.

Also make it warn the user if CUDA is not present since they need to explicitly install a particular version of onnxruntime-gpu for this to work (see Unstructured-IO/unstructured#2506 for details)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant