Skip to content

feat: add support for custom OpenVINO execution provider parameters#324

Open
ksmaze wants to merge 3 commits into
triton-inference-server:mainfrom
ksmaze:main
Open

feat: add support for custom OpenVINO execution provider parameters#324
ksmaze wants to merge 3 commits into
triton-inference-server:mainfrom
ksmaze:main

Conversation

@ksmaze
Copy link
Copy Markdown

@ksmaze ksmaze commented Nov 18, 2025

Fix: #260

Replace hardcoded OpenVINO provider options with dynamic parameter parsing from model configuration. Parse parameters from execution accelerator config, maintain device_type default as CPU when not specified, and use SessionOptionsAppendExecutionProvider_OpenVINO_V2 API with key-value arrays, which is introduced since 1.17, latest triton server releases with 1.23.0

Replace hardcoded OpenVINO provider options with dynamic parameter parsing from model configuration. Parse parameters from execution accelerator config, maintain device_type default as CPU when not specified, and use SessionOptionsAppendExecutionProvider_OpenVINO_V2 API with key-value arrays.
ksmaze added 2 commits March 16, 2026 14:47
Add configuration options for controlling thread spinning in both intra-op and inter-op thread pools. Parse session.intra_op.allow_spinning and session.inter_op.allow_spinning parameters from model config and apply via AddSessionConfigEntry. Add global allow_spinning setting in backend config that controls spinning via SetGlobalSpinControl.
…loop

Replace individual parameter handling blocks for session.intra_op.allow_spinning, session.inter_op.allow_spinning, and session.use_device_allocator_for_initializers with a single loop that processes all parameters with 'session.' prefix. This allows any session configuration parameter to be passed through AddSessionConfigEntry without requiring explicit code for each parameter. Change log level from VERBOSE to INFO for session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenVINO EP doesn't respect threading parameters

1 participant