You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "junrushao (via GitHub)" <gi...@apache.org> on 2023/11/14 00:14:19 UTC

[PR] [Unity] Allow Customized Pipeline in `relax.build` [tvm]

junrushao opened a new pull request, #16121:
URL: https://github.com/apache/tvm/pull/16121

   The existing `relax.build` method assumes the compilation follows a fixed set of passes to be used. With the introduction of Relax pipeline system, one could effectively manage which passes to use during lowering. This PR generalizes this approach by further allowing what to use during compilation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Unity] Allow Customized Pipeline in `relax.build` [tvm]

Posted by "Hzfengsy (via GitHub)" <gi...@apache.org>.
Hzfengsy commented on code in PR #16121:
URL: https://github.com/apache/tvm/pull/16121#discussion_r1391990264


##########
python/tvm/relax/vm_build.py:
##########
@@ -249,6 +248,7 @@ def build(
     mod: tvm.IRModule,
     target: Union[str, tvm.target.Target],
     params: Optional[Dict[str, list]] = None,
+    pipeline: str = "default",

Review Comment:
   I appreciate this PR's work, but I am still concerned about setting the "default" pipeline to the `build` API. 
   As we said we'd like to keep it a "minimal" build. It would be great to set the default value to None, while give more time for the community to discuss about the default pipeline in `build` API



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Unity] Allow Customized Pipeline in `relax.build` [tvm]

Posted by "junrushao (via GitHub)" <gi...@apache.org>.
junrushao merged PR #16121:
URL: https://github.com/apache/tvm/pull/16121


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Unity] Allow Customized Pipeline in `relax.build` [tvm]

Posted by "Hzfengsy (via GitHub)" <gi...@apache.org>.
Hzfengsy commented on code in PR #16121:
URL: https://github.com/apache/tvm/pull/16121#discussion_r1391990264


##########
python/tvm/relax/vm_build.py:
##########
@@ -249,6 +248,7 @@ def build(
     mod: tvm.IRModule,
     target: Union[str, tvm.target.Target],
     params: Optional[Dict[str, list]] = None,
+    pipeline: str = "default",

Review Comment:
   I appreciate this PR's work, but I am still concerned about setting the "default" pipeline to the `build` API. 
   As we said we'd like to keep it a "minimal" build. It would be great to set the default value to None, while give more time for the community to discuss about the default pipeline in `build` API



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org