Open
Description
Describe the issue
Checked in
onnxruntime/onnxruntime/core/graph/graph.cc
Line 2843 in f8c1393
onnxruntime/onnxruntime/python/tools/transformers/convert_generation.py
Lines 1077 to 1081 in f8c1393
is_outer_scope_nodearg
doesn't seem to return true when the node input is an initializer defined in the outer graph (w/o having a value_info proto in the subgraph).
To reproduce
Produce a node with a subgraph that references an outer graph, and do not create a value_info for the initializer in the subgraph.
The node I observed was from
Urgency
No response
Platform
Linux
OS Version
N/A
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.22
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response