Skip to content

perf(doclayout): use get_avalible_provider for faster execution #166

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

Merged
merged 5 commits into from
Mar 18, 2025

Conversation

awwaawwa
Copy link
Member

…pencv-python-headless

- Added `onnxruntime-directml` and `onnxruntime-gpu` as optional dependencies.
- Updated version specifications for `onnxruntime` and `opencv-python-headless` in `pyproject.toml` and `uv.lock`.
- Added logging for available ONNX runtime providers.
- Refactored provider initialization to ensure correct usage of available providers.
- Cleaned up code for better readability and maintainability.
- Updated regex in provider matching to include lowercase 'dml' and 'cuda' for better compatibility.
- Ensured logging reflects the correct available providers.
@awwaawwa
Copy link
Member Author

CleanShot 2025-03-18 at 18 36 13@2x

@awwaawwa awwaawwa merged commit 4120023 into main Mar 18, 2025
11 checks passed
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