Open klin2024 opened 16 hours ago
Once the ExecutionProvider is released, m_allocator is released as well.
We have to set the allocator of the current ExecutionProvider to ExecutionContext in ExecutionProviderImpl::ExecuteOperator().
The issue will be gone after we make this modification.
Describe the issue
[DML EP] ORT would crash after deleting one of the models and then doing an inference
To reproduce
Urgency
No response
Platform
Windows
OS Version
26100.2314
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.20.0
ONNX Runtime API
Python
Architecture
X64
Execution Provider
DirectML
Execution Provider Library Version
No response