Skip to content

Conversation

@huajsj
Copy link
Contributor

@huajsj huajsj commented May 17, 2022

RFC: https://github.com/apache/tvm-rfcs/blob/main/rfcs/0014-pipeline-executor.md
Issue: #8596

Current unit test create 3 seperate module then re-connect them to run the pipeline executor. And this is not a real use case for pipeline executor.

Adding a manually graph splitting logic which split a full network into 3 subgraph then run the pipeline executor and verify the result to simulate the real use case .

@huajsj huajsj changed the title [Runtime][PipelineExecutor] Add graph manually splitting example into the unit test. [Runtime][PipelineExecutor] Add graph manually splitting logic into the unit test. May 17, 2022
@huajsj
Copy link
Contributor Author

huajsj commented May 18, 2022

@SebastianBoblestETAS , please take a look.

Copy link
Contributor

@SebastianBoblest SebastianBoblest left a comment

Choose a reason for hiding this comment

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

I just looked for typos and possible code changes on a formal level.
I cannot judge the functionality/correctness of the code.
I did not spot any obvious bugs though, so LGTM as far as I can judge it.

@huajsj
Copy link
Contributor Author

huajsj commented May 18, 2022

@SebastianBoblestETAS, all review comments addressed, please take a look.

Copy link
Contributor

@SebastianBoblest SebastianBoblest left a comment

Choose a reason for hiding this comment

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

LGTM, two minor typos should be fixed.
Note that I can not really judge the functionality of this test, not my area of expertise.

huajsj added 6 commits May 19, 2022 13:48
the unit test.

Current unit test create 3 seperate module then re-connect them to
run the pipeline executor. And this is not a real use case for pipeline
executor.

Adding a manually graph splitting logic which split a full network into 3
subgraph then run the pipeline executor and verify the result to
simulate the real use case.
@huajsj
Copy link
Contributor Author

huajsj commented May 19, 2022

@masahi , please take a look.

@masahi masahi merged commit e02bf82 into apache:main May 19, 2022
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