You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on InferenceSession::TransformGraph, the transformer order:
run level 1 optimizations. these only use ONNX operators.
partition nodes based on EP capabilities. EPs may fuse nodes during this process.
run all optimizations. level 2 and 3 optimizations use contrib ops.
insert cast nodes
insert copy nodes
In this order, since the level 2 optimization traversal is after the partitioning, if the EP needs to perform node fusion, it needs to implement it on its own. Is there a way to reuse existing op fusion in the EP?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
on
InferenceSession::TransformGraph
, the transformer order:In this order, since the level 2 optimization traversal is after the partitioning, if the EP needs to perform node fusion, it needs to implement it on its own. Is there a way to reuse existing op fusion in the EP?
Beta Was this translation helpful? Give feedback.
All reactions