Skip to content

Conversation

@adrianlizarraga
Copy link
Contributor

Cherry-picks #25652

There was a merge conflict with the changes to core/optimizer/qdq_transformer/where_dummy_dq.cc. That file was modified in PR 25652 but it does not exist in the rel-1.23.0 branch. where_dummy_qq.cc was added in #25576 (not in rel-1.23.0). Please review carefully.

<!-- Describe your changes. -->
Make Node::ToProto() const
call Graph::ToGraphProto() const so it does process all of the
  subgraphs recursively and removes all the in-memory references.

<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Node::ToProto() const does not respect constness of subgraph attributes
and calls non-const version of Graph::ToGraphProto() which does not
process
subgraph initializers and does not remove in-memory references.
@yuslepukhin
Copy link
Member

LGTM

@adrianlizarraga
Copy link
Contributor Author

We have other PRs to cherry pick. Let's not merge this yet. Trying to do it in a batch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants