-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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] Pipeline Executor Initial patch. #8702
Conversation
Is there an RFC for this feature? sorry if it was already posted some where, there is a lot of activity going on. |
@jroesch , thanks for the follow up, here is the RFC apache/tvm-rfcs#14, |
Sorry for the delay review. I'm busy with internal tasks now and will try my best to review the RFC again early next week. |
thanks @comaniac. |
@comaniac, the RFC design already applied into this PR, if you have time please review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finish reviewing except for the detail implementation of PipelineModuleConfig. I would like to spend time on it after all the programming models and user interfaces are finalized.
2e24e76
to
6aa02a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just carefully reviewed the pipeline config as it is the most important user interface of this feature. Please let me know if you have any concern.
95806b5
to
9cdf82b
Compare
@comaniac , all review comments addressed, please review again. |
@huajsj See below. You said they were fixed, but they are not. https://github.com/apache/tvm/pull/8702/files#r706562006 Before asking a review again, please go through ALL of your writing again and correct as much simple errors as possible (lack of |
@masahi all review comments addressed, please review again. |
Thanks @huajsj for your patience. I left final comments, once they are fixed I'll merge this. |
@masahi, Thanks for the kindly review, all review comments addressed, please take another look. |
* main: (102 commits) Implementation of relay_to_tir target hook (apache#8423) [Onnx] Fix NLL Loss tests (apache#8971) [Bugfix] Fix other div zero errors also in rewrite_simplify (apache#8983) [ONNX] enable the onnx tests after PR apache#8274 merged (apache#9019) [Hexagon] Disable `thread_local` on Hexagon (apache#9025) [Hexagon] Allow undefined symbols in libtvm_runtime.so on Hexagon (apache#9024) [Onnx] Add momentum (apache#9000) fix (apache#9021) [Community] @AndrewZhaoLuo -> Reviewer (apache#9020) [Hexagon] Implement model launcher (apache#8986) [Relay][Pass] Add ExtractOperators pass (apache#8996) [BYOC][TensorRT] Add TensorRT own int8 calibration support to TensorRT BYOC integration (apache#8808) [ONNX] Add Einsum converter (apache#8985) Add standalone_crt/ to be part of the wheel package, when available. (apache#9005) [Relay] Remove memory planing from LowerTEPass (apache#8974) [Hexagon] Treat floats as float32 when passing args to offloaded kernels (apache#9010) [Runtime] Pipeline Executor Initial patch. (apache#8702) [Hexagon] `llvm-options` attribute is an array of strings (apache#9011) disable cuda int8 schedule for non-cuda gpu target (apache#9014) [Torch] Add an option to make imported models compatible with the Relay text parser (apache#9015) ...
* [Runtime] Pipeline Executor Initial patch. This patch is one of serial patch for PR 7892 splitting.this is the initial part of the pipeline executor, this patch include the cmake change and python and C++ interface for pipeline executor. * add pipeline config * add config connect logic. * fix build issue. * set output index start from 0 * address review comments Co-authored-by: Cody Yu <comaniac0422@gmail.com> * address review comments. * address review comments. * Update python/tvm/contrib/pipeline_executor.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> Update python/tvm/contrib/pipeline_executor.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> * address review comments. * address review comments * add topology sort * add binding check logic. * fix plint error. * Update python/tvm/contrib/pipeline_executor.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> * address review comments. * fix plint issue. * address review comments. * trigger build. * Update python/tvm/contrib/pipeline_executor.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> address review comments * address review comments. * polish doc and comments. * polish doc and address review comments. * address review comments. * doc change. * doc change. * Trigger build. * trigge build. * address review comments. * address review comments. * address review comments. * polish documents. * Polish the document. * address review comments. Co-authored-by: Cody Yu <comaniac0422@gmail.com>
* [Runtime] Pipeline Executor Initial patch. This patch is one of serial patch for PR 7892 splitting.this is the initial part of the pipeline executor, this patch include the cmake change and python and C++ interface for pipeline executor. * add pipeline config * add config connect logic. * fix build issue. * set output index start from 0 * address review comments Co-authored-by: Cody Yu <comaniac0422@gmail.com> * address review comments. * address review comments. * Update python/tvm/contrib/pipeline_executor.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> Update python/tvm/contrib/pipeline_executor.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> * address review comments. * address review comments * add topology sort * add binding check logic. * fix plint error. * Update python/tvm/contrib/pipeline_executor.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> * address review comments. * fix plint issue. * address review comments. * trigger build. * Update python/tvm/contrib/pipeline_executor.py Co-authored-by: Cody Yu <comaniac0422@gmail.com> address review comments * address review comments. * polish doc and comments. * polish doc and address review comments. * address review comments. * doc change. * doc change. * Trigger build. * trigge build. * address review comments. * address review comments. * address review comments. * polish documents. * Polish the document. * address review comments. Co-authored-by: Cody Yu <comaniac0422@gmail.com>
This patch is one of serial patch for PR 7892 splitting. this is initial part the pipeline executor, include the cmake
change and python and c++ interface for pipeline executor.