onnxruntime
d5387d81 - Avoid repetitive creation of fp4/fp8 native-custom-op domains for NvTensorRtRtx EP (#27192)

Commit
8 days ago
Avoid repetitive creation of fp4/fp8 native-custom-op domains for NvTensorRtRtx EP (#27192) ### Description - Avoid repetitive creation of FP4/FP8 native custom-ops in create method for custom-op domains (leaving plugin-based custom-op handling as is, as it was before native-custom-ops addition in [PR-26555](https://github.com/microsoft/onnxruntime/pull/26555)). - Avoid deleting the custom-op domains at destructor time, since those are created with static scope, so avoid potential double-delete. ### Motivation and Context - Repetitive checks and creation of custom-ops domain is redundant. So, cleaning it up a bit. - Explicit deletion of static objects in destructor can lead to double-delete. So, avoiding it.
Parents
Loading