This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch unity
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/unity by this push:
     new 943508a295 [Unity] Fix typo in dlight fallback rule (#16230)
943508a295 is described below

commit 943508a295eec374e977107d51cfe77af1351625
Author: Wuwei Lin <[email protected]>
AuthorDate: Tue Dec 12 10:13:48 2023 -0800

    [Unity] Fix typo in dlight fallback rule (#16230)
---
 python/tvm/dlight/gpu/fallback.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/tvm/dlight/gpu/fallback.py 
b/python/tvm/dlight/gpu/fallback.py
index a800fc1acb..2c1e7424dc 100644
--- a/python/tvm/dlight/gpu/fallback.py
+++ b/python/tvm/dlight/gpu/fallback.py
@@ -69,7 +69,7 @@ class Fallback(ScheduleRule):
                 {"S": s_loops, "R": r_loops, "O": 
o_loops}[iter_type].append(loop)
 
             if not s_loops:
-                s_loops.append(sch.add_unit_loop(block.block))
+                s_loops.append(sch.add_unit_loop(block))
             sch.reorder(*s_loops, *r_loops, *o_loops)
             bx, tx = sch.split(  # pylint: disable=invalid-name
                 sch.fuse(*s_loops),

Reply via email to