Skip to content

Commit 1aa9492

Browse files
committed
rebase latest main
1 parent a7d3f5d commit 1aa9492

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/python/relax/test_transform_split_layout_rewrite_preproc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def tir_func_prepacked(
6666
W_rewrite: T.Buffer((4, 4, 56, 56), "float32"),
6767
Out: T.Buffer((224, 224), "float32"),
6868
):
69+
T.func_attr({"layout_free_buffers": [1]})
6970
for i0, j0, i1, j1 in T.grid(4, 4, 56, 56):
7071
with T.block("Out"):
7172
vi = T.axis.spatial(224, i0 * 56 + i1)
@@ -77,6 +78,7 @@ def tir_func_weight_prepack(
7778
W: T.Buffer((224, 224), "float32"),
7879
W_rewrite: T.Buffer((4, 4, 56, 56), "float32"),
7980
):
81+
T.func_attr({"layout_free_buffers": [1]})
8082
for i, j in T.grid(224, 224):
8183
with T.block("W_rewrite"):
8284
vi, vj = T.axis.remap("SS", [i, j])

0 commit comments

Comments
 (0)