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
To use csharp api for openvino execution provider create a custom nuget package. Follow the instructions [here](../build/inferencing.md#build-nuget-packages) to install prerequisites for nuget creation. Once prerequisites are installed follow the instructions to [build openvino execution provider](../build/eps.md#openvino) and add an extra flag `--build_nuget` to create nuget packages. Two nuget packages will be created Microsoft.ML.OnnxRuntime.Managed and Intel.ML.OnnxRuntime.Openvino.
@@ -195,23 +189,146 @@ Enables model caching to significantly reduce subsequent load times. Supports CP
195
189
196
190
### `load_config`
197
191
198
-
- Loads custom OpenVINO properties from JSON configuration file during runtime.
192
+
**Recommended Configuration Method** for setting OpenVINO runtime properties. Provides direct access to OpenVINO properties through a JSON configuration file during runtime.
193
+
194
+
#### Overview
195
+
196
+
`load_config` enables fine-grained control over OpenVINO inference behavior by loading properties from a JSON file. This is the **preferred method** for configuring advanced OpenVINO features, offering:
197
+
198
+
- Direct access to OpenVINO runtime properties
199
+
- Device-specific configuration
200
+
- Better compatibility with future OpenVINO releases
201
+
- No property name translation required
202
+
203
+
#### JSON Configuration Format
204
+
```json
205
+
{
206
+
"DEVICE_NAME": {
207
+
"PROPERTY_KEY": "value"
208
+
}
209
+
}
210
+
```
211
+
212
+
**Supported Device Names:**
213
+
-`"CPU"` - Intel CPU
214
+
-`"GPU"` - Intel integrated/discrete GPU
215
+
-`"NPU"` - Intel Neural Processing Unit
216
+
-`"AUTO"` - Automatic device selection
217
+
218
+
**Property Precedence**: `load_config` properties override legacy provider options when both are specified.
219
+
220
+
221
+
---
222
+
223
+
#### Popular OpenVINO Properties
224
+
225
+
The following properties are commonly used for optimizing inference performance. For complete property definitions and all possible values, refer to the [OpenVINO properties](https://github.com/openvinotoolkit/openvino/blob/master/src/inference/include/openvino/runtime/properties.hpp) header file.
0 commit comments