onnxruntime icon indicating copy to clipboard operation
onnxruntime copied to clipboard

Test has construct float input and output nodes

Open sgbihu opened this issue 8 months ago • 1 comments

Describe the issue

For this the test onnxruntime_test_all.exe --gtest_filter=Loop.Opset11WithNoVariadicInputsAndOutputs, the graph is like below:

Image

It has 1 float input and 1 float output without any connections.

To reproduce

Execute onnxruntime_test_all.exe --gtest_filter=Loop.Opset11WithNoVariadicInputsAndOutputs

Urgency

No response

Platform

Windows

OS Version

Win11

ONNX Runtime Installation

Built from Source

ONNX Runtime Version or Commit ID

660adfc

ONNX Runtime API

C++

Architecture

X64

Execution Provider

OpenVINO

Execution Provider Library Version

No response

sgbihu avatar Jun 13 '25 06:06 sgbihu

Hi @sgbihu - Thanks. This is a test that I added in https://github.com/microsoft/onnxruntime/pull/1816. Opset-11 Loop started supporting no variadic inputs. I added a Constant node in the Loop subgraph (which has no input) and the node's output is the Loop's output. I suspect that the Constant node gets constant folded at some point and the subgraph is left with no nodes. Is OpenVINO not able to handle this case? If so, can we just disable the test on OpenVINO citing unsupported scenario ? If there is some other isue, please let me know.

hariharans29 avatar Jun 17 '25 00:06 hariharans29

OV can't handle this case. It's better to fold it on the ONNXRuntime side and pass the valuable nodes to the Endpoint.

sgbihu avatar Jun 23 '25 07:06 sgbihu

Applying stale label due to no activity in 30 days

Applying stale label due to no activity in 30 days

Closing issue due to no activity in 30 days