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

[GitHub] [tvm] masahi commented on a diff in pull request #14151: [Unity] Add lift_constants option to FuseOpsByPattern

masahi commented on code in PR #14151:
URL: https://github.com/apache/tvm/pull/14151#discussion_r1121121697


##########
tests/python/relax/test_codegen_cutlass.py:
##########
@@ -226,7 +226,7 @@ def get_result_with_relax_cutlass_offload(mod, *args):
 
     seq = tvm.transform.Sequential(
         [
-            relax.transform.FuseOpsByPattern(patterns, annotate_codegen=True),
+            relax.transform.FuseOpsByPattern(patterns, lift_constants=True, annotate_codegen=True),

Review Comment:
   I didn't realize that we have `partition_for_cutlass` for Relax, let's use that here.



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