microsoft / microsoft/onnxruntime

ORT can not pass the test node of ONNX

Open
#15,845 2 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

### Describe the issue

ONNXRuntime can not pass the test node in ONNX repo: https://github.com/onnx/onnx/blob/main/onnx/backend/test/data/node

For example the test of `min` node:
Pass cases:
```
test_min_int32
test_min_int16
test_min_uint32
test_min_uint64
test_min_float16
test_min_float32
test_min_float64
```
Fail cases:
```
test_min_int8
test_min_int16
test_min_uint16
test_min_uint8
```

Question: Is there any plan to support these failed cases?

### To reproduce

The model can be found at :https://github.com/onnx/onnx/blob/main/onnx/backend/test/data/node/test_min_int16/model.onnx

```py
import onnxruntime as ort
ort_sess = ort.InferenceSession("model.onnx")
```
And I got the following error:
```
[ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for Min(13) node with name ''
```

### Urgency

_No response_

### Platform

Mac

### OS Version

13.2

### ONNX Runtime Installation

Released Package

### ONNX Runtime Version or Commit ID

1.14.1

### ONNX Runtime API

Python & C++

### Architecture

ARM64

### Execution Provider

Default CPU

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with the referenced test_min_int16/model.onnx using the Python ort.InferenceSession example, then compare it with the listed passing and failing Min node cases from ONNX's backend test data. Done means the reported integer Min cases execute successfully on the default CPU provider without the NOT_IMPLEMENTED error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.