Multithreaded Inference on GPU with only one session in Onnx Runtime #25499
Unanswered
BenBoguslavsky18
asked this question in
API Q&A
Replies: 1 comment
-
A few things:
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way to enable multithreaded processing using the GPU while only having one session instance? I have tried SetIntraOpNumThreads, SetInterOpNumThreads, etc., but it has not shown any improvements in performance. My goal is to only have one instance of an object which contains the session, but be able to run inferencing on four threads.
Here is my code for setting up a session:
And here is my multithreading setup:
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions