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]Add forwarding queue logic for set input. #10990

Merged
merged 2 commits into from
Apr 15, 2022

Conversation

huajsj
Copy link
Contributor

@huajsj huajsj commented Apr 13, 2022

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

When the set_input function get called, a runtime of pipeline may not yet finish the former computation work then the new set_input call would break the current computation logic, to avoid such issue, we add the forwarding queue logic to guarantee the order of input data consuming.

When the set_input function get called, a runtime of pipeline may not
yet finish the former computation work then the new set_input call would
break the current computation logic, to avoid such issue, we add the
forwarding queue logic to guarantee the order of input data consuming.
@huajsj
Copy link
Contributor Author

huajsj commented Apr 15, 2022

@masahi, @comaniac , please take a look.

@masahi masahi merged commit 351f31b into apache:main Apr 15, 2022
Lucien0 pushed a commit to Lucien0/tvm that referenced this pull request Apr 19, 2022
…pache#10990)

* [Runtime][PipelineExecutor]Add forwarding queue logic for set input.
When the set_input function get called, a runtime of pipeline may not
yet finish the former computation work then the new set_input call would
break the current computation logic, to avoid such issue, we add the
forwarding queue logic to guarantee the order of input data consuming.

* polish the documents.
altanh pushed a commit to altanh/tvm that referenced this pull request Apr 28, 2022
…pache#10990)

* [Runtime][PipelineExecutor]Add forwarding queue logic for set input.
When the set_input function get called, a runtime of pipeline may not
yet finish the former computation work then the new set_input call would
break the current computation logic, to avoid such issue, we add the
forwarding queue logic to guarantee the order of input data consuming.

* polish the documents.
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