Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Runtime][PipelineExecutor] Refactor PipelineExecutor.py and Add cross compile support for pipeline executor. #11133

Merged
merged 3 commits into from
May 3, 2022

Conversation

huajsj
Copy link
Contributor

@huajsj huajsj commented Apr 26, 2022

Issue: #8596
RFC: apache/tvm-rfcs#14

Current pipeline_executor and pipeline_executor_build stay in the same file, this caused that the the running of pipeline_executor need the support from tvm and relay that is not available on edge device in which a runtime library only can get build.

Pipeline executor used PipelineExecutorFactory to store the pipeline configuration and export the pipeline executor library, but the current export not support the cross compile, add related logic.

@huajsj huajsj changed the title [Runtime][PipelineExecutor] Add cross compile support for pipeline executor. [Runtime][PipelineExecutor] Refactor PipelineExecutor.py and Add cross compile support for pipeline executor. Apr 27, 2022
huajsj added 2 commits April 27, 2022 13:38
compile support for pipeline executor.

Current pipeline_executor and pipeline_executor_build stay in same
file, this caused that the the running of pipeline_executor need support
from tvm and relay that is not available on edge device in which a runtime
library only can get build.

Pipeline executor used PipelineExecutorFactory to store the pipeline
configuration and export the pipeline executor library, but the current
export not support the cross compile, add related logic.
@huajsj
Copy link
Contributor Author

huajsj commented Apr 28, 2022

@masahi , please take a look.

@huajsj
Copy link
Contributor Author

huajsj commented May 3, 2022

@masahi , @comaniac

Copy link
Member

@masahi masahi left a comment

Choose a reason for hiding this comment

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

Sorry for delay.

@masahi masahi merged commit 633fb54 into apache:main May 3, 2022
shtinsa pushed a commit to Deelvin/tvm that referenced this pull request May 17, 2022
…s compile support for pipeline executor. (apache#11133)

* [Runtime][PipelineExecutor] Refactor PipelineExecutor.py add cross
compile support for pipeline executor.

Current pipeline_executor and pipeline_executor_build stay in same
file, this caused that the the running of pipeline_executor need support
from tvm and relay that is not available on edge device in which a runtime
library only can get build.

Pipeline executor used PipelineExecutorFactory to store the pipeline
configuration and export the pipeline executor library, but the current
export not support the cross compile, add related logic.

* fix ci issue.

* use runtime to replace relay and leave the export_library in
pipeline_executor.py.
SebastianBoblest pushed a commit to SebastianBoblest/tvm that referenced this pull request May 27, 2022
…s compile support for pipeline executor. (apache#11133)

* [Runtime][PipelineExecutor] Refactor PipelineExecutor.py add cross
compile support for pipeline executor.

Current pipeline_executor and pipeline_executor_build stay in same
file, this caused that the the running of pipeline_executor need support
from tvm and relay that is not available on edge device in which a runtime
library only can get build.

Pipeline executor used PipelineExecutorFactory to store the pipeline
configuration and export the pipeline executor library, but the current
export not support the cross compile, add related logic.

* fix ci issue.

* use runtime to replace relay and leave the export_library in
pipeline_executor.py.
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.

2 participants