Skip to content

Conversation

@huajsj
Copy link
Contributor

@huajsj huajsj commented Jan 5, 2022

Solution:
To support on the fly parameters setting for each runtime module in pipeline executor, we create a feature that use global parameters group name to map the runtime module parameter, after such map relation get created user can do the on the fly parameters setting by using the parameters group name.

@huajsj
Copy link
Contributor Author

huajsj commented Jan 11, 2022

@masahi, @comaniac, @liangfu please take a look.

modules parameters map.

Solution:
To support on the fly parameters setting for each runtime module
in pipeline executor, we create a feature that use global parameters
group name to map the runtime module parameter, after such map
relation get created user can do the on the fly parameters setting
by using the parameters group name.

trigger build.

fix ut issue.

polish comments.

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update src/runtime/pipeline/pipeline_executor.h

Co-authored-by: Cody Yu <[email protected]>

Update src/runtime/pipeline/pipeline_struct.h

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

address review comments.
@huajsj huajsj requested a review from comaniac January 13, 2022 20:37
@masahi masahi merged commit b1bd18e into apache:main Jan 18, 2022
yuanfz98 pushed a commit to yuanfz98/tvm that referenced this pull request Jan 24, 2022
… modules parameters map. (apache#9846)

* [Runtime][Pipeline executor] Global parameters group name and runtime
modules parameters map.

Solution:
To support on the fly parameters setting for each runtime module
in pipeline executor, we create a feature that use global parameters
group name to map the runtime module parameter, after such map
relation get created user can do the on the fly parameters setting
by using the parameters group name.

trigger build.

fix ut issue.

polish comments.

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update src/runtime/pipeline/pipeline_executor.h

Co-authored-by: Cody Yu <[email protected]>

Update src/runtime/pipeline/pipeline_struct.h

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

address review comments.

* Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

* fix plint issue.

Co-authored-by: Cody Yu <[email protected]>
crazydemo pushed a commit to crazydemo/tvm that referenced this pull request Jan 27, 2022
… modules parameters map. (apache#9846)

* [Runtime][Pipeline executor] Global parameters group name and runtime
modules parameters map.

Solution:
To support on the fly parameters setting for each runtime module
in pipeline executor, we create a feature that use global parameters
group name to map the runtime module parameter, after such map
relation get created user can do the on the fly parameters setting
by using the parameters group name.

trigger build.

fix ut issue.

polish comments.

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update src/runtime/pipeline/pipeline_executor.h

Co-authored-by: Cody Yu <[email protected]>

Update src/runtime/pipeline/pipeline_struct.h

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

address review comments.

* Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

* fix plint issue.

Co-authored-by: Cody Yu <[email protected]>
ylc pushed a commit to ylc/tvm that referenced this pull request Feb 16, 2022
… modules parameters map. (apache#9846)

* [Runtime][Pipeline executor] Global parameters group name and runtime
modules parameters map.

Solution:
To support on the fly parameters setting for each runtime module
in pipeline executor, we create a feature that use global parameters
group name to map the runtime module parameter, after such map
relation get created user can do the on the fly parameters setting
by using the parameters group name.

trigger build.

fix ut issue.

polish comments.

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

Update src/runtime/pipeline/pipeline_executor.h

Co-authored-by: Cody Yu <[email protected]>

Update src/runtime/pipeline/pipeline_struct.h

Co-authored-by: Cody Yu <[email protected]>

Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

address review comments.

* Update python/tvm/contrib/pipeline_executor.py

Co-authored-by: Cody Yu <[email protected]>

* fix plint issue.

Co-authored-by: Cody Yu <[email protected]>
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