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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
