You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to run onnx cpu on a single thread using SEQUENTIAL - is it possible to do so without onnx pinning a new thread?
Presently I looked at the issue here and did the same solution of options = ort.SessionOptions() options.intra_op_num_threads = 1 options.inter_op_num_threads = 1 - but that pins a new thread?
Is it possible to just run inference in the same thread that onnx gets called from and have onnx pin no threads? In the case where one is doing external cpu pinning.
The text was updated successfully, but these errors were encountered:
If you want to run onnx cpu on a single thread using SEQUENTIAL - is it possible to do so without onnx pinning a new thread?
Presently I looked at the issue here and did the same solution of
options = ort.SessionOptions() options.intra_op_num_threads = 1 options.inter_op_num_threads = 1
- but that pins a new thread?Is it possible to just run inference in the same thread that onnx gets called from and have onnx pin no threads? In the case where one is doing external cpu pinning.
The text was updated successfully, but these errors were encountered: