run onnxruntime-directml failed due to ops
Describe the issue
Traceback (most recent call last):
File "test-paraformer-onnx.py", line 133, in
To reproduce
https://hf-mirror.com/csukuangfj/paraformer-onnxruntime-python-example/tree/main
change onnxruntime to onnxruntime-directml modify test-paraformer-onnx and use DmlExecutionProvider: features = compute_feat() features = np.expand_dims(features, axis=0) features_length = np.array([features.shape[1]], dtype=np.int32) # session_opts = onnxruntime.SessionOptions() providers = ['DmlExecutionProvider','CPUExecutionProvider'] print(f'available providers : {providers}')
# session_opts.log_severity_level = 3 # error level
sess = onnxruntime.InferenceSession("model.onnx", providers=providers)
Urgency
No response
Platform
Windows
OS Version
windows11
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
onnxruntime-directml==1.19.0
ONNX Runtime API
Python
Architecture
X64
Execution Provider
DirectML
Execution Provider Library Version
DmlExecutionProvider
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.
This issue has been automatically closed as 'not planned' because it has been marked as 'stale' for more than 30 days without activity. If you believe this is still an issue, please feel free to reopen it.
This issue has been automatically closed as 'not planned' because it has been marked as 'stale' for more than 30 days without activity. If you believe this is still an issue, please feel free to reopen it.