Uh oh!
There was an error while loading. Please reload this page.
[WIP][Runtime]Pipeline Executor For Compute graph pipeline - #7892
[WIP][Runtime]Pipeline Executor For Compute graph pipeline#7892huajsj wants to merge 28 commits into
Conversation
tqchen
commented
Apr 26, 2021
huajsj
commented
Apr 26, 2021
Thanks @tqchen for the follow up, I proposed a RFC(https://discuss.tvm.apache.org/t/rfc-compute-graph-pipeline-with-new-subgraph-executor/9839) to explain the motivation and solution architecture as reference. |
comaniac
left a comment
There was a problem hiding this comment.
Reviewed the test for APIs and user interfaces, but it needs lots of changes so I'll stop here for now.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
huajsj
commented
Jun 1, 2021
comaniac
left a comment
There was a problem hiding this comment.
Alco cc @areusch@tmoreau89
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| params : dict of str to NDArray | ||
| Additional arguments | ||
| """ | ||
| if key is not None: |
There was a problem hiding this comment.
Why key and value are allowed to be None?
There was a problem hiding this comment.
Didn't see the fix? Why we need if key is not None?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
6061ae2 to
1c67a87Comparehuajsj
commented
Jun 17, 2021
comaniac
commented
Jun 17, 2021
I'm busy with other tasks in recent days. Will try to take another look when I got a chance. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
2947327 to
62e4d5fComparehuajsj
commented
Jul 7, 2021
huajsj
commented
Jul 9, 2021
@comaniac, if you have time , could you help for a review. thanks. |
| template <typename SLOT_TYPE = SLOT> | ||
| void deleteQueue(squeue<SLOT_TYPE>* q) { | ||
| free(q); |
| #include <assert.h> | ||
| #include <sched.h> | ||
| #include <string.h> | ||
| #include <sys/syscall.h> |
Thanks @huajsj. Please respect our coding style and standard good programming practices:
|
[Finding]
the final output is same with constant value, seems like input data is
0, this is because the get input index have a '+1' operation, but the
input index already start from 0. the means when doing setinput('x',..) it
should get convert to setinput(0, ..), but the wrong logic is
setinput(1,..).comaniac
commented
Nov 2, 2021
IIUC, this PR should be out-of-date? Should we close? |
huajsj
commented
Nov 5, 2021
@comaniac , yes we should close this PR, closed it now. |
Issue:
SOC hardware plarform have multiple types compute chipset like
GPU,FPGA,APU,RPU etc, there is a requirement that use these compute
unit in parallel to reach best performance.
Solution:
In these pipeline solution, we first split the compute graph into
a group of subgraph, then run these subgraph in a pipeline module
to make the GPU/FPGA/APU/RPU parallel running become possible.
Thanks for contributing to TVM! Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.