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'

Open
#16,189 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request platform:windows
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.