Skip to content

fix graph partitioning for nested functions - #5755

Merged
askhade merged 2 commits into
masterfrom
askhade/function_partitioning_fix
Nov 11, 2020
Merged

fix graph partitioning for nested functions#5755
askhade merged 2 commits into
masterfrom
askhade/function_partitioning_fix

Conversation

@askhade

@askhade askhade commented Nov 10, 2020

Copy link
Copy Markdown
Contributor

Description: This PR fixes partitioning in case of nested functions. When we encounter functions which have another function as part of their function body current partitioning expands and reruns partitioning only for the top level function. Adding recursive function expansion and partitioning. Example function: SoftmaxCrossEntropyLoss.

Motivation and Context

  • Why is this change required? What problem does it solve?
  • If it fixes an open issue, please link to the issue here.

@askhade
askhade requested a review from a team as a code owner November 10, 2020 18:46
Comment thread onnxruntime/core/framework/graph_partitioner.cc
skottmckay
skottmckay previously approved these changes Nov 10, 2020

@skottmckay skottmckay left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@askhade
askhade merged commit 496fa18 into master Nov 11, 2020
@askhade
askhade deleted the askhade/function_partitioning_fix branch November 11, 2020 19:38
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.

3 participants