Skip to content

Conversation

jwludzik
Copy link

Description

Fix issue with creating backend for every inference iteration. The issue was caused by using std::map operator[] that created a pair with key and empty value. In Ubuntu std::map insert method won't override the key value in backend_map if key exists in map (created by operator[])

Motivation and Context

Starting from commit cbef617 there is huge performance degradation in onnxruntime_perf_test tests in Ubuntu24.

Ticket: https://jira.devtools.intel.com/browse/EISW-173294

Fix issue with creating backend for every inference iteration. The issue
was caused by using std::map operator[] that created a pair with key and
empty value. In Ubuntu std::map insert method won't override the key
value in backend_map if key exists in map (created by operator[])
@jwludzik jwludzik force-pushed the dev/jwludzik/fix-ubuntu-perf-degradation branch from 16c9bef to ea9b1a1 Compare September 17, 2025 16:19
@sfatimar sfatimar merged commit 58e83ef into intel:ovep-develop Sep 23, 2025
3 of 5 checks passed
@jwludzik jwludzik deleted the dev/jwludzik/fix-ubuntu-perf-degradation branch September 23, 2025 06:31
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.

3 participants