How to enable GPU execution for an application using cpu-only onnxruntime? #26259
Unanswered
1298345095
asked this question in
EP Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m working with an unmaintained application that uses onnxruntime, but it only runs on the cpu.
Is there any way to force it to use the GPU or at least prioritize the GPU?
I’ve already tried modifying core/session/inference_session.cc and rebuilding onnxruntime but due to my limited experience and unfamiliarity with the project, I haven’t been able to get it to compile successfully.
Could someone please explain how to build onnxruntime in a way that would support this specific requirement? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions