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(ml): only use openvino if a gpu is available #7450

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

mertalev
Copy link
Contributor

Description

Dynamic axes seem not to work on CPU, so this PR avoids OpenVINO unless there's an eligible GPU. The performance difference between OpenVINO and generic CPU will be negligible so it doesn't really matter in this case.

Fixes #7406

@mertalev mertalev merged commit 7e18e69 into main Feb 27, 2024
25 of 26 checks passed
@mertalev mertalev deleted the fix/ml-openvino-device-type branch February 27, 2024 05:45
claabs pushed a commit to claabs/immich-machine-learning-openvino-kernel-fix that referenced this pull request Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant