mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-16 18:31:27 +00:00
Python API has no AddConfigEntry and kOrtSessionOptionsConfigAllowIntraOpSpinning (#17712)
### Description
<!-- Describe your changes. -->
bcc6205161/include/onnxruntime/core/session/onnxruntime_session_options_config_keys.h (L94C74-L94C105)
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
@ivberg
This commit is contained in:
parent
f3fa223ee8
commit
6b12dc5f6f
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ sess_options = rt.SessionOptions()
|
|||
sess_options.intra_op_num_threads = 0
|
||||
sess_options.execution_mode = rt.ExecutionMode.ORT_SEQUENTIAL
|
||||
sess_options.graph_optimization_level = rt.GraphOptimizationLevel.ORT_ENABLE_ALL
|
||||
sess_options.AddConfigEntry(kOrtSessionOptionsConfigAllowIntraOpSpinning, "1")
|
||||
sess_options.add_session_config_entry("session.intra_op.allow_spinning", "1")
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue