8000 Remove ids_of_folded_args from test_triton_kernel_equal_to_1_arg · pytorch/pytorch@97f60b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 97f60b1

Browse files
committed
Remove ids_of_folded_args from test_triton_kernel_equal_to_1_arg
Summary: Due to the Triton pin update in #119457, `test_triton_kernel_equal_to_1_arg` started to break, as `ids_of_folded_args` has vanished from the upstream Triton codebase. Test Plan: ``` $ python test/inductor/test_triton_kernels.py -k test_triton_kernel_equal_to_1_arg ... ---------------------------------------------------------------------- Ran 6 tests in 6.790s OK ``` [ghstack-poisoned]
1 parent 6566b3d commit 97f60b1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/inductor/test_triton_kernels.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -999,10 +999,8 @@ def f(x, y):
999999
# when half_n_elements passed to the Triton kernel is
10001000
# dynamic, equal_to_1 specializaiton can't be enforced
10011001
self.assertTrue("equal_to_1=()" in sources[0])
1002-
self.assertTrue("ids_of_folded_args=()" in sources[0])
10031002
else:
10041003
self.assertTrue("equal_to_1=(3,)" in sources[0])
1005-
self.assertTrue("ids_of_folded_args=(3,)" in sources[0])
10061004
self.assertEqual(compiled_out, eager_out)
10071005

10081006
@requires_cuda

0 commit comments

Comments
 (0)
0