microsoft / microsoft/onnxruntime
onnxruntime.capi.onnxruntime_pybind11_state.NotImplemented: [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for Trilu(14) node with name '/decoder/Trilu'
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
### Describe the issue
onnx 1.13.0
onnxruntime 1.14.0
CPU
### To reproduce
import numpy as np
import onnxruntime
np.random.seed(0)
onnx_file_name = "work_dir/onnx/master/end2end.onnx"
shape = [1, 3, 1024, 1024]
input_data = np.random.random(shape).astype(np.float32)
providers = ['CPUExecutionProvider']
onnx_model = onnxruntime.InferenceSession(onnx_file_name, providers=providers, use_gpu=False,opt_level=1)
onnx_inputs = {onnx_model.get_inputs()[0].name :input_data}
onnx_outputs = onnx_model.run(None, onnx_inputs)
for output in onnx_outputs:
print(output.shape)
### Urgency
_No response_
### Platform
Windows
### OS Version
11
### ONNX Runtime Installation
Released Package
### ONNX Runtime Version or Commit ID
1.14.0
### ONNX Runtime API
Python
### Architecture
X64
### Execution Provider
Default CPU
### Execution Provider Library Version
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Python reproduction using work_dir/onnx/master/end2end.onnx and the CPUExecutionProvider, focusing on the /decoder/Trilu node and Trilu(14) error. Determine whether the reported model and ONNX Runtime 1.14.0 combination should support this operator, then verify behavior with the same input and provider settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100