You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "Lunderberg (via GitHub)" <gi...@apache.org> on 2023/10/03 15:39:08 UTC

[PR] [Unity] Check the PassContext within RewriteCUDAGraph transform [tvm]

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

   Prior to this commit, the `RewriteCUDAGraph` pass would unconditionally rewrite an `IRModule`, and was conditionally included as a lowering pass for used in `relax.build`, based on the current `PassContext`.  This commit moves the check on the `PassContext` from the `relax.build` method to the `RewriteCUDAGraph` pass itself.  This allows the pass to be part of a lowering flow that is constructed once, and is later used when the `PassContext.current()` may have changed.


-- 
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] Check the PassContext within RewriteCUDAGraph transform [tvm]

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


-- 
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