Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TensorRT EP] Fix concurrency issue for TRT custom op list #20093

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

chilo-ms
Copy link
Contributor

@chilo-ms chilo-ms commented Mar 26, 2024

The CreateTensorRTCustomOpDomainList() is not thread-safe due to its static variables, created_custom_op_list and custom_op_domain.
This PR makes sure synchronization using mutex.

see issue: #20089

@chilo-ms chilo-ms merged commit 3dcda13 into main Mar 27, 2024
95 checks passed
@chilo-ms chilo-ms deleted the chi/fix_custom_op_list_bug branch March 27, 2024 04:20
YUNQIUGUO pushed a commit that referenced this pull request Mar 27, 2024
The `CreateTensorRTCustomOpDomainList()` is not thread-safe due to its
static variables, `created_custom_op_list` and `custom_op_domain`.
This PR makes sure synchronization using mutex.

see issue: #20089
TedThemistokleous pushed a commit to TedThemistokleous/onnxruntime that referenced this pull request May 7, 2024
…#20093)

The `CreateTensorRTCustomOpDomainList()` is not thread-safe due to its
static variables, `created_custom_op_list` and `custom_op_domain`.
This PR makes sure synchronization using mutex.

see issue: microsoft#20089
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants